/* ============================================
   CONTACT PAGE HERO SECTION
   ============================================ */

   .contact-page-hero {
    padding: 6rem 0 6rem;
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    /* Background layers: gradients first, then image */
    background:
      radial-gradient(circle at top left, rgba(246, 201, 0, 0.385), transparent 70%),
      linear-gradient(to right, #fff7df 43%,  #fff7df 5%,  #fff7df 53%, rgba(122,0,25,0.06) 70%),
      url("../../images/bg.png");
    /* Background sizes: auto for gradients, cover for image */
    background-size:
      auto,
      auto,
      cover;
    /* Background positions: gradients stay in place, image positioned on right */
    background-position:
      top left,
      center,
      right center;
    /* Background repeat */
    background-repeat:
      no-repeat,
      no-repeat,
      no-repeat;
  }
  
  .contact-page-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 2rem;
    align-items: center;
  }
  
  .contact-page-hero-text {
    /* Left column content container - styles applied via grid */
    position: relative;
  }
  
  .contact-page-hero-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin: 0 0 0.5rem;
  }
  
  .contact-page-hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: var(--ink);
  }
  
  .contact-page-hero-accent {
    color: #f6c700;
  }
  
  .contact-page-hero-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink);
    margin: 0 0 1rem;
    max-width: 90%;
  }
  
  .contact-page-hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
  }
  
  .contact-page-btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--maroon);
    color: #ffffff;
    font-weight: 600;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: background 0.2s ease;
  }
  
  .contact-page-btn-primary:hover {
    background: var(--maroon-900);
  }
  
  .contact-page-btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    color: var(--maroon);
    font-weight: 600;
    border: 2px solid var(--maroon);
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  .contact-page-btn-secondary:hover {
    background: var(--maroon);
    color: #ffffff;
  }
  
  .contact-page-hero-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
  }
  
  .contact-page-pill {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: #f3f4f6;
    color: var(--maroon);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  .contact-page-pill:hover {
    background: var(--maroon);
    color: #ffffff;
  }
  
  .contact-page-hero-card {
    order: 0;
  }
  
  .contact-page-hero-card-content {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 18px 45px rgba(15,23,42,0.08);
  }
  
  /* Responsive Design for Contact Page Hero */
  
  /* Large Desktop (1440px+) - Image positioned nicely on right */
  @media (min-width: 1440px) {
    .contact-page-hero {
      background-size:
        auto,
        auto,
        cover;
      background-position:
        top left,
        center,
        right center;
    }
  }
  
  /* Desktop (1200px - 1439px) */
  @media (min-width: 1200px) and (max-width: 1439px) {
    .contact-page-hero {
      background-size:
        auto,
        auto,
        cover;
      background-position:
        top left,
        center,
        right center;
    }
  }
  
  @media (max-width: 1400px) {
    .contact-page-hero-inner {
      gap: 2.5rem;
    }
  }
  
  /* Tablet (992px - 1199px) - Adjust image positioning */
  @media (min-width: 992px) and (max-width: 1199px) {
    .contact-page-hero {
      background-size:
        auto,
        auto,
        cover;
      background-position:
        top left,
        center,
        right center;
    }
    
    .contact-page-hero-inner {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  }
  
  @media (max-width: 1200px) {
    .contact-page-hero-inner {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
    
    .contact-page-hero-card {
      order: -1;
    }
  }
  
  /* Tablet Portrait (768px - 991px) - Image less prominent */
  @media (min-width: 768px) and (max-width: 991px) {
    .contact-page-hero {
      background-size:
        auto,
        auto,
        contain;
      background-position:
        top left,
        center,
        right bottom;
      padding: 4rem 0 4rem;
    }
  }
  
  @media (max-width: 768px) {
    .contact-page-hero {
      padding: 4rem 0 4rem;
      /* On mobile, position image to not interfere with text */
      background-size:
        auto,
        auto,
        cover;
      background-position:
        top left,
        center,
        center right;
      /* Add overlay for better text readability on mobile */
      background-image:
        radial-gradient(circle at top left, rgba(246, 201, 0, 0.385), transparent 70%),
        linear-gradient(to right, #fff7df 60%, rgba(255, 247, 223, 0.9) 70%, rgba(255, 247, 223, 0.95) 80%),
        url("../../images/bg.png");
    }
    
    .contact-page-hero-title {
      font-size: clamp(1.75rem, 4vw, 2.5rem);
    }
    
    .contact-page-hero-description {
      max-width: 100%;
      font-size: 0.9375rem;
      margin-bottom: 0.75rem;
    }
    
    .contact-page-hero-pills {
      margin-top: 0.75rem;
    }
  }
  
  /* Mobile (576px and below) - Further optimize for small screens */
  @media (max-width: 576px) {
    .contact-page-hero {
      padding: 3rem 0 3rem;
      /* On small mobile, make background image subtle */
      background-size:
        auto,
        auto,
        cover;
      background-position:
        top left,
        center,
        center right;
      /* Stronger overlay for text readability */
      background-image:
        radial-gradient(circle at top left, rgba(246, 201, 0, 0.385), transparent 70%),
        linear-gradient(to right, #fff7df 70%, rgba(255, 247, 223, 0.95) 85%),
        url("../../images/bg.png");
    }
    
    .contact-page-hero-title {
      font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .contact-page-hero-description {
      font-size: 0.95rem;
    }
    
    .contact-page-hero-card-content {
      padding: 1rem;
    }
    
    .contact-page-hero-pills {
      gap: 0.375rem;
    }
    
    .contact-page-pill {
      font-size: 0.8125rem;
      padding: 0.35rem 0.75rem;
    }
  }
  
  /* Contact page hero */
  .contact-hero{
    position:relative;
    min-height:260px;
    background:linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.55)), url('../images/pupbackrgound.jpg') center/cover no-repeat;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
  }
  .contact-hero-overlay{
    text-align:center;
    padding:40px 20px;
  }
  .contact-kicker{
    letter-spacing:.08em;
    text-transform:uppercase;
    font-size:12px;
    margin:0 0 8px;
  }
  .contact-hero h1{
    margin:0;
    font-size:38px;
    letter-spacing:.04em;
  }
  .contact-sub{
    margin:10px 0 0;
    color:#f2e7e7;
  }
  
  /* Layout */
  .contact-section{
    background:#f8f7f6;
    padding-top:30px;
    padding-bottom: 30px;
  
  }
  .contact-layout{
    display:grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap:20px;
  }
  .contact-card{
    background:#fff;
    border:1px solid #e6e2de;;
    box-shadow:0 8px 18px rgba(0,0,0,.08);
    overflow:hidden;
    display:flex;
    flex-direction:column;
  }
  .card-head{
    padding:14px 16px;
    background:#faf7f5;
    border-bottom:1px solid #eee8e2;
  }
  .card-head h2{
    margin:0;
    font-size:18px;
    color:#7a0019;
    font-family:'Times New Roman', Times, serif;
    letter-spacing: 1px;
  }
  
  /* Map */
  .map-wrap{
    position:relative;
    padding:12px;
  }
  #map{
    height:340px;
    width:100%;
    border-radius:10px;
    overflow:hidden;
    position:sticky;
  }
  
  .focus-dropdown-wrapper {
    position: relative;
  }
  
  .focus-btn-main {
    position: absolute;
    bottom: 50px;
    right: 22px;
    background: #7a0019;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease;
    z-index: 10;
  }
  
  .focus-btn-main:hover {
    background: #f3b233;
    transform: scale(.95);
  }
  
  .focus-menu {
    position: absolute;
    bottom: 100px;
    right: 22px;
    background: #ffffff;
    border: 1px solid #e6e2de;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    display: flex;
    flex-direction: column;
    min-width: 220px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, pointer-events 0.2s ease;
    z-index: 20;
  }
  
  .focus-menu.active {
    opacity: 1;
    pointer-events: all;
  }
  
  .focus-option {
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: #7a0019;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease;
  }
  
  .focus-option:hover {
    background-color: #f5f5f5;
  }
  
  .focus-option:active {
    background-color: #eee;
  }
  
  .focus-option i {
    font-size: 14px;
    color: #f3b233;
  }
  
  #focus-btn {
    position: absolute;
    bottom: 50px;
    right: 22px;
    background: #7a0019;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,.25);
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease;
  }
  #focus-btn:hover{ background:#f3b233; transform:scale(.95); }
  .map-note{
    padding:0 16px 16px;
    margin:0;
    font-size:13px;
    color:#6b6060;
  }
  
  /* Info */
  .info-card{
    padding:0 16px 18px;
    background-color: #fff;
    border:1px solid #e6e2de;
  
  }
  
  
  .info-list{
    list-style:none;
    padding:0;
    margin:16px 0 10px;
    display:flex;
    flex-direction:column;
    gap:20px;
    color:#3b3030;
  }
  .info-list .icon{
    width:22px;
    display:inline-block;
    color:#7a0019;
  }
  .divider{
    height:1px;
    background:#eee8e2;
    margin:10px 0 14px;
  }
  
  /* Social card */
  .social-card{padding:0 16px 18px;}
  .social-links{
    display:flex;
    flex-direction:column;
    gap:12px;
    padding:16px 0;
  }
  .social-link{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 12px;
    border:1px solid #d8d0cb;
    border-radius:10px;
    background:#fbf9f8;
    color:#4a3f3f;
    text-decoration:none;
    transition:all .2s ease;
  }
  .social-link .fa-brands{
    width:32px;
    height:32px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#7a0019;
    color:#fff;
    transition:all .2s ease;
  }
  .social-link span{font-weight:700;}
  .social-link:hover{
    border-color:#f3b233;
    box-shadow:0 4px 12px rgba(0,0,0,.14);
    transform:translateY(-1px);
  }
  .social-link:hover .fa-brands{
    background:#f3b233;
    color:#7a0019;
    transform:scale(1.05);
  }
  
  /* ============================================
     RESPONSIVE BREAKPOINTS - CONTACT PAGE
     ============================================ */
  
  /* Large Desktop (1400px) */
  @media (max-width: 1400px) {
    .contact-layout {
      gap: 18px;
    }
  }
  
  /* Desktop (1200px) */
  @media (max-width: 1200px) {
    .contact-layout {
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    
    .contact-card {
      max-width: 100%;
    }
  }
  
  /* Tablet (992px) */
  @media (max-width: 992px) {
    .contact-layout {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    
    .contact-hero h1 {
      font-size: 32px;
    }
    
    .contact-hero-overlay {
      padding: 35px 18px;
    }
  }
  
  /* Tablet (768px) */
  @media (max-width: 768px) {
    .contact-hero {
      min-height: 220px;
    }
    
    .contact-hero h1 {
      font-size: 28px;
    }
    
    .contact-hero-overlay {
      padding: 30px 16px;
    }
    
    .contact-sub {
      font-size: 0.9rem;
    }
    
    .contact-section {
      padding-top: 20px;
      padding-bottom: 50px;
    }
    
    .contact-layout {
      gap: 1.25rem;
    }
    
    .contact-card {
      overflow: hidden;
    }
    
    #map {
      height: 280px;
    }
    
    .card-head {
      padding: 12px 14px;
    }
    
    .card-head h2 {
      font-size: 16px;
    }
    
    .map-wrap {
      padding: 10px;
    }
    
    .info-card {
      padding: 0 14px 16px;
    }
    
    .social-card {
      padding: 0 14px 16px;
    }
  }
  
  /* Smartphone (640px) */
  @media (max-width: 640px) {
    .contact-hero {
      min-height: 200px;
    }
    
    .contact-hero h1 {
      font-size: 24px;
    }
    
    .contact-hero-overlay {
      padding: 25px 14px;
    }
    
    .contact-kicker {
      font-size: 11px;
    }
    
    .contact-sub {
      font-size: 0.85rem;
    }
    
    .contact-section {
      padding-top: 15px;
      padding-bottom: 40px;
    }
    
    .contact-layout {
      gap: 1rem;
    }
    
    #map {
      height: 260px;
    }
    
    #focus-btn {
      width: 38px;
      height: 38px;
      bottom: 45px;
      right: 18px;
    }
    
    .card-head {
      padding: 10px 12px;
    }
    
    .card-head h2 {
      font-size: 15px;
    }
    
    .map-wrap {
      padding: 8px;
    }
    
    .map-note {
      padding: 0 12px 12px;
      font-size: 12px;
    }
    
    .info-card {
      padding: 0 12px 14px;
    }
    
    .info-list {
      margin: 14px 0 8px;
      gap: 8px;
    }
    
    .social-card {
      padding: 0 12px 14px;
    }
    
    .social-links {
      gap: 10px;
      padding: 14px 0;
    }
    
    .social-link {
      padding: 8px 10px;
    }
  }
  
  /* Small Smartphone (576px) */
  @media (max-width: 576px) {
    .contact-hero {
      min-height: 180px;
    }
    
    .contact-hero h1 {
      font-size: 22px;
    }
    
    .contact-hero-overlay {
      padding: 20px 12px;
    }
    
    .contact-section {
      padding-bottom: 35px;
    }
    
    #map {
      height: 240px;
    }
    
    #focus-btn {
      width: 36px;
      height: 36px;
      bottom: 40px;
      right: 16px;
    }
    
    .card-head h2 {
      font-size: 14px;
    }
  }
  