/* ==========================
   THEME VARIABLES (AMS LAND DEVELOPER)
========================== */
:root {

  /* ======================
     BRAND CORE (From Logo)
  ====================== */
  --primary-color: #0E2A32;     /* Deep teal-black (logo text tone) */
  --primary-dark:  #08181D;     /* Depth for overlays */
  --secondary-color: #4B5D63;   /* Muted steel tone */

  --primary-rgb: 14,42,50;

  /* ======================
     ACCENT (Roof Orange)
  ====================== */
  --accent: #F04A1D;            /* Main orange (logo highlight) */
  --accent-dark: #C63A14;       /* Hover / CTA depth */
  --accent-light: #FF7A4D;      /* Gradient / glow */

  /* Optional gradient accent */
  --accent-gradient: linear-gradient(135deg, #F04A1D, #FF7A4D);

  /* ======================
     TEXT SYSTEM
  ====================== */
  --text-color: #1A2A2F;        /* Soft dark (not pure black) */
  --text-light: #FFFFFF;
  --muted: #6C7A80;

  /* ======================
     BACKGROUNDS
  ====================== */
  --bg-color: #FFFFFF;
  --bg-light: #F5F7F8;
  --bg-soft: #EEF2F3;
  --card-bg: #FFFFFF;

  /* ======================
     UI / EFFECTS
  ====================== */
  --glass: rgba(255,255,255,0.7);
  --border-light: rgba(14, 42, 50, 0.08);

  --shadow: 0 12px 30px rgba(10, 25, 30, 0.08);
  --shadow-strong: 0 20px 50px rgba(10, 25, 30, 0.12);

  --radius: 14px;
  --transition: .35s ease;

  /* ======================
     TYPOGRAPHY
  ====================== */
  --font-heading: 'Playfair', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* ======================
     RGB (for overlays)
  ====================== */
  --bg-rgb: 255,255,255;
}
/* ==========================
   DARK THEME (AMS)
========================== */
body.dark-theme {

  /* Brand (slightly lifted for contrast) */
  --primary-color: #163E47;
  --primary-dark: #0A2228;
  --secondary-color: #8FA3A9;

  /* Accent stays strong */
  --accent: #FF5A2A;
  --accent-dark: #D9441B;
  --accent-light: #FF8A65;

  /* Text */
  --text-color: #E6F0F2;
  --text-light: #FFFFFF;
  --muted: #9FB0B6;

  /* Backgrounds */
  --bg-color: #0A1418;
  --bg-light: #0F1C21;
  --bg-soft: #0C171C;
  --card-bg: rgba(255,255,255,0.04);

  /* Effects */
  --glass: rgba(255,255,255,0.05);
  --border-light: rgba(255,255,255,0.08);

  --shadow: 0 10px 30px rgba(0,0,0,0.6);
  --shadow-strong: 0 20px 60px rgba(0,0,0,0.8);

  --bg-rgb: 10,20,24;
}
 
/* ==========================
   RESET
========================== */
*{margin:0;padding:0;box-sizing:border-box}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body{
  font-family:var(--font-body);
  background:var(--bg-color);
  color:var(--text-color);
  transition:background var(--transition),color var(--transition);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
a{color:var(--primary-color);text-decoration:none;transition:color var(--transition)}
a:hover{color:var(--primary-dark)}

.container{max-width:1200px;margin:auto;padding:0 1.25rem}
@media (max-width:900px){.container{padding:0 1rem}}
@media (max-width:600px){.container{padding:0 .75rem}}

/* ==========================
   SECTION SPACING SYSTEM
========================== */
.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.section.tight {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.section.loose {
  padding: clamp(3.5rem, 6vw, 5rem) 0;
}
.section.soft {
  background: var(--bg-soft);
}
.section-highlight {
  background: var(--accent-gradient);
}
/* ==========================
   SECTION TITLE (Refined)
========================== */
.section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.4rem;

  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-bottom: 1.2rem;

  border-bottom: 1px solid var(--border-light);
  position: relative;
}

/* Accent line */
.section-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 3px;
  width: 70px;
  background: linear-gradient(90deg, var(--accent), var(--primary-color));
  border-radius: 3px;
}
.heading {
  color: var(--primary-color);
}
/* Heading */
.section-title h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 4vw, 1.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;

  background: linear-gradient(120deg, var(--primary-dark), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 520px;
  margin-top: .4rem;
}

/* ==========================
   LINK ACCENT (Improved CTA)
========================== */
.link-accent {
  display: inline-flex;
  align-items: center;
  gap: .45rem;

  font-size: .92rem;
  font-weight: 600;

  color: var(--accent);
  text-decoration: none;

  padding: .55rem 1.1rem;
  border: 1.5px solid rgba(200, 155, 60, 0.35);
  border-radius: 50px;

  transition: all .3s ease;
}

.link-accent:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
}

/* Focus accessibility */
.link-accent:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 155, 60, 0.35);
}

/* ==========================
   TEXT UTILITIES
========================== */
.small {
  font-size: .85rem;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

/* ==========================
   BADGES SYSTEM (Unified)
========================== */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.4rem;
  margin-top: .5rem;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;

  font-size: .88rem;
  color: var(--muted);
}

.badge-item svg {
  stroke: var(--accent);
  flex-shrink: 0;
}

/* Optional variation */
.badges.compact {
  gap: .5rem 1rem;
}

/* ==========================
   DARK MODE FIXES
========================== */
body.dark-theme .section-title {
  border-bottom-color: var(--border-light);
}

body.dark-theme .section-title h2 {
  background: linear-gradient(120deg, var(--text-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 768px) {
  .section-title {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .link-accent {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section-title h2 {
    font-size: 1.9rem;
  }
}
 /**/
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); 
  gap: 0.8rem 1.2rem;
  margin: 1rem 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: 1rem;
  color: var(--text-color);
}

.f-icon {
  width: 20px;
  height: 20px;
  display: flex;
  flex-shrink: 0;
}


/* ==========================
   NAVBAR BASE
========================== */
.nav-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(var(--bg-rgb), 0.92);
  box-shadow: var(--shadow);
  transition: transform .45s var(--transition), 
              background .45s var(--transition),
              backdrop-filter .45s var(--transition);
  z-index: 80;
  backdrop-filter: blur(0);
}

/* When page is scrolled (for blur/light effect) */
.nav-header.scrolled{
  backdrop-filter: blur(8px);
}

/* Hide navbar when scrolling down */
.nav-header.nav-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

/* ==========================
   NAV CONTAINER
========================== */
.nav-container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 1.25rem;
}
/* NAV ACTION ICON ROW (Universal Fix) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;       /* prevents icons from wrapping to next line */
  white-space: nowrap;     /* extra safety for text/icon mix */
}

/* Mobile & Tablet View */
@media (max-width: 980px) {
  .nav-actions {
    justify-content: flex-end;  /* or center — your choice */
  }
}

/* Logo */
.nav-logo{
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem; 
}
 .nav-logo span{ 
  color: var(--primary-color);
}
@media(max-width: 380px){
  .nav-logo {
    font-size: 1.1rem;
  }
}

/* Links */
.nav-links{
  display: flex;
  gap: 1.4rem;
  align-items: center;
  font-size:1rem;
}

.nav-links a{
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  padding: .3rem .1rem;
}

.nav-links a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--primary-color);
  transition: width .25s ease;
}

.nav-links a:hover::after{
  width: 100%;
}

/* Mobile Menu Button */
.menu-toggle{
  display: none;
  background: 0;
  border: 0;
  color: var(--text-color);
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 768px){
  .nav-links{display: none;}
  .menu-toggle{display: block;}
}

/* ==========================
   DRAWER MENU
========================== */
.overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  visibility: hidden;
  transition: .35s;
  z-index: 78;
}
.overlay.active{
  opacity: 1;
  visibility: visible;
}

.drawer{
  position: fixed;
  top: 0;
  right: -105%;
  height: 100vh;
  width: 82%;
  max-width: 340px;
  background: var(--bg-light);
  padding: 2.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  transition: right .4s var(--transition);
  z-index: 79;
}
.drawer.active{right: 0;}

.drawer-links{
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 1.5rem;
}
@media(max-width: 360px){
  .drawer {
    padding: 1.8rem 1rem;
  }
}
.drawer-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--card-bg);
  border: none;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-color);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: background .25s ease, transform .25s ease, color .25s ease;
}

/* Hover & active effects */
.drawer-close:hover {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.08);
}

.drawer-close:active {
  transform: scale(0.94);
}

/* Dark theme */
body.dark-theme .drawer-close {
  background: rgba(255,255,255,0.05);
  color: var(--text-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}

body.dark-theme .drawer-close:hover {
  background: var(--primary-color);
  color: #fff;
}


/* ==========================
   HERO BANNER (Responsive)
========================== */
.hero {
  padding: 7rem 0 5rem;
  color: #fff;
  display: flex;
  align-items: center;

  background:
    linear-gradient(0deg, rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url('../../images/hero-bg.jpg') center/cover no-repeat;
}

body.dark-theme .hero {
  background:
    linear-gradient(0deg, rgba(0,0,0,0.70), rgba(0,0,0,0.70)),
    url('../../images/hero-bg.jpg') center/cover no-repeat;
}
@media(max-width: 480px){
  .hero {
    padding: 6rem 0 3.5rem;
  }
}

/* ==========================
   GRID
========================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ==========================
   HERO TEXT
========================== */
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}
.hero-title span{ 
  font-size: clamp(1.5rem, 5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fffff7;
}

.hero-sub {
  margin-top: 1rem;
  max-width: 60ch;
  color: #f2f2f2;
  font-size: 1.05rem;
  line-height: 1.65;

  /* center text on mobile */
  @media(max-width: 980px) {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==========================
   CTA BUTTONS
========================== */
.hero-cta {
  margin-top: 1.8rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

@media(max-width: 980px) {
  .hero-cta {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* ==========================
   GLASS CARD (Right Panel)
========================== */
.hero-card {
  padding: 1.6rem;
  background: rgba(255,255,255,0.20);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

body.dark-theme .hero-card {
  background: rgba(15,15,15,0.35);
  border: 1px solid rgba(255,255,255,0.15);
}

.hero-card .small {
  color: #E6ECF7;
}
/***/
 

@media(max-width: 1024px){
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width: 420px){
  .hero-card {
    padding: 1.2rem 1rem;
  }
}


/* ==========================
   HERO TRUST + FEATURED
========================== */
.hero-trust {
  margin-top: 1.2rem;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.pill {
  background: rgba(255,255,255,0.85);
  color: #111;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
}

.pill.highlight {
  background: var(--accent);
  color: #fff;
}

.hero-featured {
  margin-top: 1rem;
  font-size: .9rem;
  color: #eee;
}

/* ==========================
   FORM STYLING
========================== */
.form-head {
  margin-bottom: 1rem;
}

.form-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.hero-form .form-row {
  margin-top: .8rem;
}

.btn-block {
  width: 100%;
}

/* Footer note */
.form-foot {
  margin-top: .9rem;
  font-size: .8rem;
  color: #e6ecf7;
  text-align: center;
}

/* Improve input UX */
.input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.35);
}

/* Dark mode tweak */
body.dark-theme .pill {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
/* ==========================
   ABOUT SECTION
========================== */
.about-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.8rem;
  margin-top:2rem;
}

/* CARD */
.about-card{
  background:var(--card-bg);
  padding:1.6rem;
  border-radius:16px;
  border:1px solid rgba(0,0,0,0.05);
  box-shadow:var(--shadow);
  transition:.25s ease;
}

.about-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 28px rgba(0,0,0,0.12);
}

/* HEADER INLINE ICON + TITLE */
.about-header{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

/* ICON WRAPPER */
.icon-box{
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  border-radius:12px;
  background:rgba(0,0,0,0.04);
  color:var(--accent, #333);
  flex-shrink:0;
}

/* TITLE */
.about-title{
  font-size:1.1rem;
  font-weight:600;
  margin:0;
  line-height:1.2;
}

/* LIST */
.about-list{
  padding-left:18px;
  margin-top:10px;
}

.about-list li{
  margin-bottom:6px;
}

/* TEXT */
.small.muted{
  opacity:0.75;
  font-size:0.92rem;
}
/* projects*/ 
/* ==========================
   FEATURED PROJECTS - Updated
========================== */ 
#about {
	background-color: var(--primary-rgb);
	}
#about h2 {
	 color: var(--secondary-color);
	}	
.project-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: 3rem;
}

.project-card {
  background: var(--card-bg, #fff);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow, 0 4px 20px rgba(0,0,0,0.08));
  border: 1px solid rgba(30, 58, 95, 0.08); /* Subtle primary blue tint */
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover::before,
.project-card:focus-within::before {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 28px 60px rgba(30, 58, 95, 0.15);
  border-color: rgba(30, 58, 95, 0.15);
}

.project-card:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.project-img {
  position: relative;
  margin-bottom: 1.4rem;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), #f59e0b);
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 0.8rem 0;
  line-height: 1.3;
}

.project-title:hover {
  color: var(--primary-color);
}

.project-icons {
  display: flex;
  gap: 1.2rem;
  margin: 1rem 0;
  font-size: 0.85rem;
}

.project-icons span {
  background: rgba(100, 116, 139, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  color: var(--secondary-color);
}

.project-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(100, 116, 139, 0.1);
}

.price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(217, 119, 6, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .project-card {
    padding: 1.5rem;
  }
  
  .project-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}


/* ==========================
   FEATURE CARDS / GENERIC GRID
========================== */
.grid{
  display:grid;gap:1.4rem;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
}
.card{
  background:var(--card-bg);
  padding:1.25rem;border-radius:12px;
  border:1px solid rgba(0,0,0,0.04);
  box-shadow:var(--shadow);
  transition:.28s;
}
.card:hover{transform:translateY(-7px)}
.card img{
  width:100%;height:160px;object-fit:cover;border-radius:10px;margin-bottom:.9rem;
}

/* ==========================
   WHY CHOOSE US GRID
========================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.6rem;
  align-items: start;
}

@media (max-width: 980px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================
   KPI GRID
========================== */
.kpi-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.kpi-item {
  background: var(--card-bg);
  padding: 1.2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.05);
  transition: 0.25s ease;
}

.kpi-item:hover {
  transform: translateY(-6px);
}

.kpi-num {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

/* ==========================
   WHY LIST
========================== */
.why-list {
  margin-top: 1rem;
  list-style: none;
  padding-left: 0;
  line-height: 1.7;
}

/* ==========================
   QUICK CONNECT CARD
========================== */
.connect-card {
  padding: 1.6rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
  background: var(--card-bg);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.connect-card h3 {
  margin-bottom: 0.4rem;
}

.connect-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

@media (max-width: 480px) {
  .connect-actions {
    flex-direction: column;
  }
}


/* ==========================
   TESTIMONIALS
========================== */
.testimonials{
  display:grid;gap:1.2rem;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
}
.testimonial{
  background:var(--card-bg);
  padding:1rem;border-radius:12px;
  box-shadow:var(--shadow);
}

/* ==========================
   PRICING
========================== */
.pricing{
  display:grid;gap:1.3rem;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.price-card{
  background:var(--card-bg);
  padding:1.25rem;border-radius:12px;
  box-shadow:var(--shadow);
  display:flex;flex-direction:column;gap:.9rem;
}
.price-amount{font-size:1.6rem;font-weight:800;color:var(--primary-color)}

 
/* ==========================
   CONTACT SECTION
========================== */
.contact-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1fr 380px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================
   CONTACT CARD MODERN UI
========================== */
.contact-card{
  background:var(--card-bg);
  padding:1.6rem;
  border-radius:16px;
  box-shadow:var(--shadow);
  border:1px solid rgba(0,0,0,0.06);
}

/* HEADER */
.contact-header{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.contact-header h4{
  margin:0;
  font-size:1.05rem;
  font-weight:600;
}

/* ICON BOX */
.icon-box{
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:rgba(0,0,0,0.05);
  color:var(--accent, #333);
}

/* SMALL ICON INLINE */
.icon-mini{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-right:6px;
  color:var(--accent, #333);
}

/* CONTACT ITEM ROW */
.contact-item{
  display:flex;
  align-items:center;
  gap:6px;
  margin-top:10px;
  font-size:0.92rem;
}

.contact-item a{
  color:inherit;
  text-decoration:none;
  font-weight:500;
}

.contact-item a:hover{
  text-decoration:underline;
}

/* HOURS BOX */
.hours-box{
  margin-top:1.2rem;
  padding-top:1rem;
  border-top:1px solid rgba(0,0,0,0.08);
}

.hours-header{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:4px;
}

.hours-header h5{
  margin:0;
  font-size:0.95rem;
  font-weight:600;
}

/* TEXT */
.small.muted{
  opacity:0.75;
  font-size:0.9rem;
}
/* SECTION TITLE */
#contact .section-title h2 {
  margin-bottom: .3rem;
}

#contact .small.muted {
  opacity: .8;
}

/* ==========================
   FORM INPUT STYLES
========================== */
/* BASE INPUT */
.input {
  width: 100%;
  padding: .75rem .85rem;
  border-radius: 10px;
  font-size: .95rem;
  transition: all .25s;
}

/* LIGHT FORM */
.input-light {
  background: var(--bg-light);
  border: 1px solid rgba(0,0,0,0.15);
  color: var(--text-color);
}

/* HERO (GLASS) */
.input-glass {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  backdrop-filter: blur(8px);
}
.input {
  width: 100%;
  padding: .75rem .85rem;
  margin-top: .25rem;
  background: var(--bg-light);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 10px;
  font-size: .95rem;
  color: var(--text-color);
  transition: border-color .25s, box-shadow .25s;
}

.input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.18);
  outline: none;
}

.input::placeholder {
  opacity: .65;
}

/* TWO COLUMNS ROW */
.form-row {
  display: flex;
  gap: .8rem;
}

@media(max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}

/* TEXTAREA */
textarea.input {
  resize: vertical;
  min-height: 100px;
}

/* LABEL */
label.small {
  font-size: .82rem;
  font-weight: 600;
  opacity: .9;
}

/* ==========================
   BUTTON SYSTEM (Unified)
========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;

  padding: .7rem 1.35rem;
  border-radius: 12px;

  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font-heading);

  cursor: pointer;
  border: none;

  transition:
    background .28s var(--transition),
    color .28s var(--transition),
    border .28s var(--transition),
    box-shadow .28s ease,
    transform .28s ease;

  user-select: none;
}

/* Hover lift effect */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.10);
}

/* Active press effect */
.btn:active {
  transform: translateY(0px);
  box-shadow: none;
}

/* ==========================
   PRIMARY BUTTON
========================== */
.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

/* Dark theme */
body.dark-theme .btn-primary {
  box-shadow: 0 6px 18px rgba(0,0,0,0.55);
}

/* ==========================
   OUTLINE BUTTON
========================== */
.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
  border:0;
}

/* Dark theme adjustments */
body.dark-theme .btn-outline {
  border-color: var(--primary-dark);
  color: var(--accent);
}
body.dark-theme .btn-outline:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* ==========================
   GLASS / SOFT BUTTON
========================== */
.btn-glass {
  background: rgba(var(--bg-rgb), 0.45);
  color: var(--text-color);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.08);
}

body.dark-theme .btn-glass {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.10);
  color: #eee;
}

.btn-glass:hover {
  background: rgba(var(--bg-rgb), 0.65);
}

/* ==========================
   DARK BUTTON
========================== */
.btn-dark {
  background: var(--secondary-color);
  color: #fff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.20);
}

.btn-dark:hover {
  background: var(--primary-dark);
}

/* Dark theme variant */
body.dark-theme .btn-dark {
  background: var(--primary-dark);
}

/* ==========================
   FULL-WIDTH SUPPORT
========================== */
.btn.block {
  width: 100%;
  display: flex;
}

/* ==========================
   FORM MESSAGE (AJAX RESPONSE)
========================== */
#formMsg {
  margin-top: .8rem;
  font-size: .85rem;
  display: none;
}

/* Success */
#formMsg.success {
  color: #0b8f2d;
  display: block;
}

/* Error */
#formMsg.error {
  color: #b30000;
  display: block;
}

/* ==========================
   CTA BAR
========================== */
.cta-bar{
  background:linear-gradient(90deg,var(--primary-color),var(--primary-dark));
  padding:1.05rem;
  border-radius:12px;color:#fff;
  display:flex;align-items:center;justify-content:space-between;
  gap:1rem;
}
@media(max-width:640px){
  .cta-bar{flex-direction:column;text-align:center}
}
.cta-bar .small{
color:#E6ECF7;
}
/* ==========================
   FOOTER
========================== */
footer{
  margin-top:2.4rem;
  background:var(--bg-light);
  padding:2.2rem 0;
  border-top:1px solid rgba(0,0,0,0.03);
}
.footer-grid{
  display:grid;gap:1.2rem;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
}

/* ==========================
   LIGHTBOX
========================== */
.lightbox{
  position:fixed;inset:0;
  display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,0.65);
  opacity:0;visibility:hidden;
  transition:.25s;z-index:200;
}
.lightbox.active{opacity:1;visibility:visible}
.lightbox img{
  max-width:90%;max-height:80%;border-radius:12px;
  box-shadow:0 25px 70px rgba(0,0,0,0.6);
}

/* ==========================
   ANIMATION
========================== */
.reveal{
  opacity:0;transform:translateY(10px);
  animation:reveal .7s forwards;
}
@keyframes reveal{
  to{opacity:1;transform:none}
}
/* ============================
   MODAL OVERLAY
============================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease;
  z-index: 9999;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ============================
   MODAL BOX
============================ */
.modal-box {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  max-width: 420px;
  width: 92%;
  box-shadow: 0 18px 55px rgba(0,0,0,0.15);
  position: relative;
  animation: modalPop .35s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ============================
   CLOSE BUTTON
============================ */
.modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  background: none;
  border: 0;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--muted);
  transition: color .25s ease;
}

.modal-close:hover {
  color: var(--primary-color);
}

/* ============================
   FORM STYLES
============================ */
.modal-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  text-align: center;
}

.modal-input {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.12);
  font-size: 1rem;
  margin-top: 3px;
  transition: border .25s ease, box-shadow .25s ease;
}

.modal-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(56, 94, 154, 0.25);
  outline: none;
}

.modal-submit {
  width: 100%;
  margin-top: 1rem;
  padding: 0.85rem;
  font-size: 1rem;
  border-radius: var(--radius);
}
/**/
/* ==========================
   TOAST NOTIFICATION (CENTER UI)
========================== */
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);

  min-width: 260px;
  max-width: 360px;

  padding: 14px 18px;
  border-radius: 12px;

  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;

  color: #fff;
  background: var(--primary-dark);

  box-shadow: var(--shadow-strong);

  opacity: 0;
  visibility: hidden;

  transition: all 0.25s ease;
  z-index: 99999;

  backdrop-filter: blur(8px);
}

/* SUCCESS */
.toast.success {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

/* ERROR */
.toast.error {
  background: linear-gradient(135deg, #dc2626, #ef4444);
}

/* SHOW STATE */
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* OPTIONAL: DARK OVERLAY FEEL (recommended UX upgrade) */
.toast::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: -1;
}