    /* ==========================================================================
       Hammoo Equestrian - Scoped styles (will not leak to other pages)
       ========================================================================== */
    .hnmco-equestrian {
      --color-primary: #8B6F47;     /* brown / coffee tones */
      --color-primary-dark: #6B5439;
      --color-accent: #C19A6B;
      --color-text: #3F2E1E;
      --color-bg: #FDFAF5;
      --radius: 12px;
      font-family: 'Segoe UI', system-ui, sans-serif;
      color: var(--color-text);
      background: var(--color-bg);
      margin: 0;
      overflow-x: hidden;
    }

    .hnmco-equestrian * {
      box-sizing: border-box;
    }

    /* ── Header / Navbar ── */
    .hnmco-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 90px;
      background: white;
      border-bottom: 1px solid rgba(139,111,71,0.15);
      z-index: 900;
      display: flex;
      align-items: center;
      padding: 0 5vw;
    }

    .hnmco-logo {
      height: 64px;           /* ≈100px height scaled down a bit for balance */
      width: 160px;           /* 100:250 = 1:2.5 ratio → adjust to your image */
      object-fit: contain;
    }
    
    /* ── Header buttons ── */
.hnmco-header-buttons {
  display: flex;
  gap: 1rem;
  margin-left: auto;
  margin-right: 1.5rem; /* space before hamburger */
}

.hnmco-btn-header {
  display: inline-block;
  padding: 0.55rem 1.3rem;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s;
  white-space: nowrap;
}

.hnmco-btn-header:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* On small screens: make buttons smaller & tighter */
@media (max-width: 768px) {
  .hnmco-header {
    padding: 0 4vw;
    height: 60px;
  }

  .hnmco-logo {
    height: 52px;
    width: 208px; /* keep ratio */
  }

  .hnmco-header-buttons {
    gap: 0.6rem;
    margin-right: 1rem;
  }

  .hnmco-btn-header {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
  }
}
@media (max-width: 768px) {
  .hnmco-btn-header {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
  }
  .hnmco-logo {
    height: 35px;
    width: 87px; /* keep ratio */
  }
}

    .hnmco-hamburger {
      margin-left: auto;
      width: 38px;
      height: 38px;
      position: relative;
      cursor: pointer;
      z-index: 1001;
    }

    .hnmco-hamburger span {
      position: absolute;
      width: 28px;
      height: 3px;
      background: var(--color-primary);
      border-radius: 2px;
      left: 5px;
      transition: all 0.35s ease;
    }

    .hnmco-hamburger span:nth-child(1) { top: 8px; }
    .hnmco-hamburger span:nth-child(2) { top: 17px; }
    .hnmco-hamburger span:nth-child(3) { top: 26px; }

    .hnmco-hamburger.active span:nth-child(1) {
      transform: rotate(45deg);
      top: 17px;
    }
    .hnmco-hamburger.active span:nth-child(2) { opacity: 0; }
    .hnmco-hamburger.active span:nth-child(3) {
      transform: rotate(-45deg);
      top: 17px;
    }
    
    
    /* On small screens: make buttons smaller & tighter */
@media (max-width: 768px) {
  .hnmco-hamburger {
    width: 32px;
    height: 32px;
  }

  .hnmco-hamburger span {
    width: 24px;
    left: 4px;
  }
}
@media (max-width: 768px) {
  .hnmco-hamburger {
    width: 24px;
    height: 24px;
  }
  .hnmco-hamburger span {
    width: 18px;
    left: 3px;
  }
}

/* Full-screen mobile menu - updated */
.hnmco-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 10, 0.92);   /* ← added slight transparency (was 0.96) */
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;              /* ← changed from center to left */
  padding-left: 8vw;                    /* ← left padding for alignment */
  font-size: 1.9rem;
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.hnmco-menu-overlay.active {
  transform: translateY(0);
}

.hnmco-menu-overlay a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s, padding-left 0.3s;
  padding: 0.6rem 0;
}

.hnmco-menu-overlay a:hover {
  color: var(--color-accent);
  padding-left: 1.2rem;                 /* nice little hover slide effect */
}

/* Close button */
.hnmco-close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  font-size: 3rem;
  color: white;
  cursor: pointer;
  line-height: 1;
  z-index: 1100;
  transition: transform 0.3s, color 0.3s;
}

.hnmco-close-btn:hover {
  color: var(--color-accent);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .hnmco-menu-overlay {
  	font-size: 1.2rem;
  }
  .hnmco-menu-overlay a {
    font-weight: 400;
    padding: 0.3rem 0;
  }
  .hnmco-close-btn {
  	width: 30px;
  	height: 30px;
	}
}

    /* ── Hero Section ── */
    .hnmco-hero {
      height: 100vh;
      min-height: 720px;
      position: relative;
      display: flex;
      align-items: center;
      background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.4)),
                  url('https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?ixlib=rb-4.0.3&auto=format&fit=crop&q=80') center/cover no-repeat;
      margin-top: 90px; /* header height */
      color: white;
    }

    .hnmco-hero-content {
      max-width: 900px;
      padding: 0 8vw;
    }

    .hnmco-hero h1 {
      font-size: clamp(3.2rem, 8vw, 6.5rem);
      margin: 0 0 1.2rem;
      line-height: 0.95;
      font-weight: 800;
      text-shadow: 0 4px 12px rgba(0,0,0,0.5);
    }

    .hnmco-hero p {
      font-size: clamp(1.25rem, 3.5vw, 1.8rem);
      max-width: 620px;
      margin: 0 0 2.5rem;
      font-weight: 300;
    }
    
        /* Responsive tweaks */
    @media (max-width: 640px) {
      .hnmco-hero h1 { font-size: 3.8rem; }
    }

    .hnmco-btn {
      display: inline-block;
      padding: 1rem 2.4rem;
      background: var(--color-primary);
      color: #ffffff;
      text-decoration: none;
      border-radius: var(--radius);
      font-size: 1.2rem;
      font-weight: 600;
      transition: all 0.3s;
    }

    .hnmco-btn:hover {
      background: var(--color-primary-dark);
      transform: translateY(-3px);
    }

    /* ── Wave shape divider ── */
    .hnmco-wave {
      position: relative;
      height: 180px;
      background: black;
      margin-top: -120px;
      overflow: hidden;
    }

    .hnmco-wave::before {
      content: '';
      position: absolute;
      left: 0; right: 0; bottom: 0;
      height: 180px;
      background: var(--color-bg);
      border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    }

    /* ── Section ── */
    .hnmco-section {
      padding: 9vh 6vw;
      text-align: center;
    }
    
    /* Responsive tweaks */
    @media (max-width: 640px) {
      .hnmco-section { padding: 7vh 5vw; }
    }

    .hnmco-section h2 {
      font-size: clamp(1.7rem, 5.5vw, 4.8rem);
      margin: 0 0 1.5rem;
      color: var(--color-primary);
    }

    .hnmco-section p {
      max-width: 780px;
      margin: 0 auto 3rem;
      font-size: 1.22rem;
      line-height: 1.7;
    }

    .hnmco-img-frame {
      max-width: 780px;
      margin: 3rem auto;
      border-radius: var(--radius) var(--radius) 0 0;
      overflow: hidden;
      box-shadow: 0 14px 40px rgba(0,0,0,0.14);
    }

    .hnmco-img-frame img {
      width: 100%;
      height: auto;
      display: block;
    }
    


/* ── Services Cards ── */
.hnmco-services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.2rem;
  max-width: 1200px;
  margin: 4rem auto 2rem;
}

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

@media (min-width: 1024px) {
  .hnmco-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hnmco-service-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(139,111,71,0.10);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.hnmco-service-card:hover {
  transform: scale(1.08);          /* ≈1.2× scale */
  box-shadow: 0 20px 60px rgba(139,111,71,0.22);
  z-index: 10;
}

.hnmco-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.hnmco-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.hnmco-service-card:hover .hnmco-card-image img {
  opacity: 0.22;                   /* slight transparency on hover */
  transform: scale(1.08);
}

.hnmco-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 10, 0.72);   /* dark overlay */
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.8rem;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.hnmco-service-card:hover .hnmco-overlay {
  opacity: 1;
}

.hnmco-overlay-content {
  color: white;
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s ease 0.1s;
}

.hnmco-service-card:hover .hnmco-overlay-content {
  transform: translateY(0);
  opacity: 1;
}

.hnmco-card-content {
  padding: 1.8rem 1.6rem 2.2rem;
  text-align: center;
}

.hnmco-card-content h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color: var(--color-primary);
}

.hnmco-card-content .subtitle {
  color: #6B5439;
  font-size: 1.05rem;
  margin: 0 0 1.4rem;
  font-weight: 400;
}

.hnmco-card-content .hnmco-btn {
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
}


/* ── Third Party Services Section ── */
/* GRID */
.hnmco-thirdparty-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.2rem;
  max-width: 900px;
  margin: 3rem auto 0;
}

@media (min-width: 768px) {
  .hnmco-thirdparty-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 1024px) {
  .hnmco-thirdparty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ── Onsite Pension Section ── */

.hnmco-pension-section{
  padding:5rem 1.5rem;
  background:#f9f7f2;
}

.hnmco-pension-block{
  width:80%;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  border:5px solid rgba(139,111,71,0.2);
  border-radius:35px;
  overflow:hidden;
  box-shadow:0 8px 28px rgba(139,111,71,0.1);
  transition:transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

.hnmco-pension-block:hover{
  transform:scale(1.08);
}

/* Left Image */
.hnmco-pension-image{
  height:240px;
  overflow:hidden;
}

.hnmco-pension-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-top-left-radius:35px;
  border-top-right-radius:35px;
  transition:all 0.5s ease;
}

/* Right Text */
.hnmco-pension-text{
  padding:2rem 2rem 3rem;
}

.hnmco-pension-text h2{
      font-size: clamp(1.7rem, 5.5vw, 4.8rem);
      margin: 0 0 1.5rem;
      color: var(--color-primary);
    }

.hnmco-pension-text h3{
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  color:var(--color-primary);
  margin-bottom:0.6rem;
}

.hnmco-pension-text .subtitle{
  font-size:1.05rem;
  color:#6B5439;
  font-weight:400;
  margin-bottom:1rem;
}

.hnmco-pension-text p{
  font-size:1.05rem;
  color:#4a4032;
  line-height:1.6;
}

/* Responsive: stack on small screens */
@media (max-width:1024px){
  .hnmco-pension-block{
    flex-direction:column;
  }
}

@media (max-width: 768px) {
  .hnmco-pension-block{
  width:95%;
  }
}



    /* ── Footer-like bottom ── */
    .hnmco-bottom {
      background: var(--color-primary);
      color: white;
      padding: 5rem 6vw 3rem;
      text-align: center;
    }

    .hnmco-bottom form {
      max-width: 480px;
      margin: 2.5rem auto 0;
      display: grid;
      gap: 1.2rem;
    }

    .hnmco-bottom input,
    .hnmco-bottom button {
      padding: 1rem 1.4rem;
      border: none;
      border-radius: var(--radius);
      font-size: 1.1rem;
    }

    .hnmco-bottom button {
      background: var(--color-accent);
      color: var(--color-text);
      font-weight: 600;
      cursor: pointer;
    }
    
    
    /* ── Footer ── */
.hnmco-footer {
  background: var(--color-primary);
  color: white;
  padding: 0;
}

.hnmco-footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 6vw 4rem;
}

@media (min-width: 768px) {
  .hnmco-footer-main {
    grid-template-columns: 1.2fr 1fr 1.2fr;
  }
}

.hnmco-footer-col {
  text-align: center;
}

.hnmco-footer-col.left,
.hnmco-footer-col.right {
  text-align: left;
}

.hnmco-footer-logo {
  height: 70px;
  width: auto;
  margin-bottom: 1.5rem;
  display: block;
}

.hnmco-footer-about {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.9;
  margin: 0 0 2rem;
}

.hnmco-social-icons {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.hnmco-social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s;
}

.hnmco-social-icons a:hover img {
  transform: scale(1.15);
}

.hnmco-footer-col h4 {
  font-size: 1.4rem;
  margin: 0 0 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hnmco-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hnmco-footer-col ul li {
  margin: 0.9rem 0;
}

.hnmco-footer-col a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  position: relative;                        /* needed if you want an animated underline */
  transition: opacity 0.3s, transform 0.25s ease;
  display: inline-block;                     /* helps with transform scaling */
}

.hnmco-footer-col a:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Optional: subtle animated underline on hover */
.hnmco-footer-col a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1.5px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.hnmco-footer-col a:hover::after {
  width: 100%;
}

.hnmco-footer-form {
  display: grid;
  gap: 1.1rem;
}

.hnmco-footer-form input,
.hnmco-footer-form textarea {
  padding: 1rem 1.4rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  background: rgba(255,255,255,0.15);
  color: white;
}

.hnmco-footer-form input::placeholder,
.hnmco-footer-form textarea::placeholder {
  color: rgba(255,255,255,0.7);
}

.hnmco-footer-form button {
  background: var(--color-accent);
  color: var(--color-text);
  border: none;
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.hnmco-footer-form button:hover {
  background: #d4a373;
}

.hnmco-footer-legal {
  background: var(--color-primary-dark);
  padding: 2rem 6vw;
  text-align: center;
  font-size: 0.95rem;
}

.hnmco-legal-links {
  margin-bottom: 1rem;
}

.hnmco-legal-links a {
  color: rgba(255,255,255,0.8);
  margin: 0 1.2rem;
  text-decoration: none;
}

.hnmco-legal-links a:hover {
  color: white;
  text-decoration: none;
}

.hnmco-copyright {
  margin: 0;
  opacity: 0.8;
}


/* Popup styling */
.form-popup{
  display:none; /* hidden by default */
  position:fixed;
  top:20px;
  right:20px;
  max-width:300px;
  background:#fff;
  color:#4a4032;
  border:5px solid rgba(139,111,71,0.2);
  border-radius:15px;
  box-shadow:0 8px 28px rgba(139,111,71,0.1);
  padding:1rem 1.2rem;
  z-index:9999;
  font-family:sans-serif;
}

.form-popup p{
  margin:0;
  font-size:1rem;
  line-height:1.4;
}

.popup-close{
  position:absolute;
  top:5px;
  right:10px;
  cursor:pointer;
  font-size:1.2rem;
  font-weight:bold;
  color:#6B5439;
}