/* ===== RESET & BASE STYLES ===== */
:root {
  --primary: #8B6B4A;
  --secondary: #D4AF37;
  --dark: #2C241B;
  --light: #F8F5F0;
  --white: #FFFFFF;
  --black: #121212;
  --gray: #E5E5E5;
  --text: #333333;
  --text-light: #777777;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

/* ===== UTILITIES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

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

.btn-secondary {
  background-color: var(--dark);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--primary);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
}

/* ===== HEADER ===== */
.header {
  background-color: var(--dark);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 10px 0;
  background-color: rgba(44, 36, 27, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

.logo img {
  height: 50px;
  transition: height 0.3s ease;
}

.header.scrolled .logo img {
  height: 40px;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.main-nav ul li a {
  color: var(--white);
  font-weight: 600;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
  width: 100%;
}

.main-nav ul li a:hover {
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  z-index: 1001;
}

/* ===== HERO SECTION ===== */
/* ===== ENHANCED HERO SECTION ===== */
.enhanced-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    background: linear-gradient(120deg, rgba(44,36,27,0.7) 0%, rgba(212,175,55,0.25) 100%), url("/assets/images/horses/premium_photo-1661886008804-9e5b219fc587.jpeg") center center/cover no-repeat;
}

.enhanced-hero video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
    opacity: 0.45;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(120deg, rgba(44,36,27,0.7) 0%, rgba(212,175,55,0.18) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInHero 1.2s cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes fadeInHero {
    from { opacity: 0; transform: translateY(40px);}
    to { opacity: 1; transform: translateY(0);}
}

.hero-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin-bottom: 25px;
    border-radius: 50%;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    background: rgba(255,255,255,0.1);
    border: 3px solid var(--secondary);
    animation: heroLogoPop 1.2s cubic-bezier(.68,-0.55,.27,1.55);
}

@keyframes heroLogoPop {
    0% { transform: scale(0.7); opacity: 0; }
    80% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

.enhanced-hero .hero-content h1 {
    font-size: 4.2rem;
    margin-bottom: 18px;
    color: var(--white);
    text-shadow: 0 6px 32px rgba(0,0,0,0.45);
    letter-spacing: 1px;
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    animation: fadeInHero 1.5s 0.2s backwards;
}

.hero-highlight {
    color: var(--secondary);
    background: rgba(44,36,27,0.7);
    padding: 0 18px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(212,175,55,0.15);
    display: inline-block;
    animation: heroHighlightFade 1.5s;
}

@keyframes heroHighlightFade {
    0% { background: rgba(44,36,27,0); color: var(--white);}
    100% { background: rgba(44,36,27,0.7); color: var(--secondary);}
}

.hero-lead {
    font-size: 1.45rem;
    margin-bottom: 38px;
    color: var(--light);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.6;
    animation: fadeInHero 1.5s 0.4s backwards;
}

.hero-underline {
    border-bottom: 3px solid var(--secondary);
    padding-bottom: 2px;
    color: var(--secondary);
    font-weight: 700;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInHero 1.5s 0.6s backwards;
}

.btn-hero {
    font-size: 1.2rem;
    padding: 16px 36px;
    border-radius: 30px;
    box-shadow: 0 4px 18px rgba(139,107,74,0.18);
    letter-spacing: 0.5px;
    transition: transform 0.18s, box-shadow 0.18s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary) 70%, var(--secondary) 100%);
    border: none;
}

.btn-hero i {
    font-size: 1.2em;
}

.btn-hero:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 32px rgba(212,175,55,0.18);
    background: linear-gradient(90deg, var(--secondary) 60%, var(--primary) 100%);
    color: var(--dark);
}

.hero-social {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 28px;
    font-size: 2rem;
    animation: fadeInHero 1.5s 0.8s backwards;
}

.hero-social a {
    color: var(--secondary);
    background: rgba(44,36,27,0.7);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(212,175,55,0.12);
}

.hero-social a:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: scale(1.12) rotate(-8deg);
}

.hero-scroll {
    margin-top: 38px;
    color: var(--secondary);
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.85;
    animation: heroScrollFade 2s infinite alternate;
}

.hero-scroll i {
    font-size: 2.2rem;
    margin-top: 6px;
    animation: heroScrollBounce 1.2s infinite;
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateY(0);}
    50% { transform: translateY(10px);}
}

@keyframes heroScrollFade {
    0% { opacity: 0.7;}
    100% { opacity: 1;}
}

/* Responsive for enhanced hero */
@media (max-width: 992px) {
    .enhanced-hero {
        min-height: 420px;
        height: 80vh;
    }
    .enhanced-hero .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-lead {
        font-size: 1.1rem;
    }
    .horse-card .horse-image img {
    height: 220px; /* Adjusted height for tablet views */
    }
    .hero-logo {
        width: 80px;
        height: 80px;
    }
}


@media (max-width: 600px) {
    .enhanced-hero {
        min-height: 320px;
        height: 70vh;
        padding: 0;
    }
    .hero-content {
        padding: 18px 6px 8px 6px;
    }
    .enhanced-hero .hero-content h1 {
        font-size: 1.35rem;
        margin-bottom: 10px;
    }
    .hero-lead {
        font-size: 0.98rem;
        margin-bottom: 18px;
    }
    .btn-hero {
        font-size: 0.95rem;
        padding: 10px 14px;
        margin: 0 0 10px 0;
        width: 100%;
        justify-content: center;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: center;
        margin-bottom: 18px;
    }
    .hero-logo {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }
    .horse-card .horse-image img {
    height: 180px; /* Adjusted height for mobile views */
    }
    .hero-social a {
        width: 32px;
        height: 32px;
    }
    .hero-scroll {
        font-size: 0.85rem;
        margin-top: 16px;
    }
    .hero-scroll i {
        font-size: 1.1rem;
    }
}

/* Add these rules to your style.css, preferably after existing .horse-grid definitions or at the end of responsive section */

/* For smaller tablets and larger phones */
@media (max-width: 768px) {
  .horse-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Allow cards to be smaller */
    gap: 15px; /* Slightly reduce gap */
  }
}

/* For small mobile devices (e.g., iPhone SE, older Androids) */
@media (max-width: 480px) {
  .horse-grid {
    grid-template-columns: 1fr; /* Force a single column */
    gap: 15px;
  }
  .horse-card {
    max-width: 95%; /* Ensure cards don't touch edges on very small screens */
    margin: 0 auto; /* Center single column cards */
  }
}

/* ===== FEATURED HORSES SECTION ===== */
.featured-horses {
  background: linear-gradient(120deg, rgba(248,245,240,0.98) 60%, rgba(212,175,55,0.07) 100%);
  padding: 90px 0 70px 0;
  position: relative;
  overflow: hidden;
}

.featured-horses::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(212,175,55,0.13) 0%, rgba(248,245,240,0) 80%);
  z-index: 0;
  pointer-events: none;
}

.featured-horses::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,107,74,0.10) 0%, rgba(248,245,240,0) 80%);
  z-index: 0;
  pointer-events: none;
}

.featured-horses .container {
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 18px;
  color: var(--primary);
  letter-spacing: 1px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary) 60%, var(--primary) 100%);
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--dark);
  font-size: 1.2rem;
  margin-bottom: 48px;
  font-weight: 500;
  letter-spacing: 0.2px;
  opacity: 0.85;
}

.horses-slider {
  padding-bottom: 50px;
  margin-bottom: 30px;
}

.swiper-slide .horse-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(44,36,27,0.07), 0 1.5px 6px rgba(212,175,55,0.07);
  transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 2px solid transparent;
}

.swiper-slide .horse-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 16px 48px rgba(44,36,27,0.13), 0 2px 12px rgba(212,175,55,0.13);
  border-color: var(--secondary);
}

.horse-image {
  width: 100%;
  height: 250px; /* Applies the desired fixed height */
  object-fit: cover; /* Ensures the image fills and crops as needed */
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.horse-image img {
  width: 100%; /* Image will try to be 100% width of its parent */
  height: 100%; /* Image will try to be 100% height of its parent */
  object-fit: cover; /* CRUCIAL: Scales the image to fill the container, cropping as needed */
  object-position: center; /* Tries to keep the center of the image visible */
  display: block;
  /* If using padding-top on .horse-image AND img has position: absolute: */
  /* position: absolute; */
  /* top: 0; left: 0; width: 100%; height: 100%; */
}

.horse-card:hover .horse-image img {
  transform: scale(1.06) rotate(-1deg);
}

.price-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  background: linear-gradient(90deg, var(--secondary) 70%, var(--primary) 100%);
  color: var(--dark);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(212,175,55,0.13);
  z-index: 2;
}

.horse-badges {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 2;
}

.badge-blue {
  background: #3b5998;
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 4px rgba(44,36,27,0.10);
}

.horse-details {
  padding: 28px 22px 22px 22px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.horse-details h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 6px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.horse-details .breed {
  color: var(--secondary);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.horse-details .description {
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 18px;
  opacity: 0.92;
}

.horse-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.98rem;
  color: var(--text-light);
  margin-bottom: 18px;
}

.horse-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.horse-meta i {
  color: var(--primary);
  font-size: 1.1em;
}

.horse-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.horse-actions .btn {
  flex: 1;
  font-size: 0.98rem;
  padding: 10px 0;
  border-radius: 20px;
  font-weight: 600;
}

.horse-actions .btn-secondary {
  background: var(--secondary);
  color: var(--dark);
  border: none;
}

.horse-actions .btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

/* Swiper overrides */
.swiper-pagination-bullet {
  background: var(--secondary);
  opacity: 0.7;
  transition: opacity 0.2s;
}
.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary);
}
.swiper-button-next, .swiper-button-prev {
  color: var(--primary);
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(44,36,27,0.10);
  width: 44px;
  height: 44px;
  top: 40%;
  transition: background 0.2s, color 0.2s;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  background: var(--secondary);
  color: var(--dark);
}

/* Responsive styles */
@media (max-width: 992px) {
  .featured-horses {
    padding: 60px 0 40px 0;
  }
  .section-title {
    font-size: 2.1rem;
  }
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 32px;
  }
  .horse-details {
    padding: 18px 10px 14px 10px;
  }
  .horse-details h3 {
    font-size: 1.2rem;
  }
  .horse-details .description {
    font-size: 0.98rem;
  }
  .horse-meta {
    font-size: 0.92rem;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .featured-horses {
    padding: 38px 0 18px 0;
  }
  .section-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .section-subtitle {
    font-size: 0.92rem;
    margin-bottom: 18px;
  }
  .horse-image img {
    height: 140px;
  }
  .horse-details {
    padding: 10px 4px 8px 4px;
  }
  .horse-details h3 {
    font-size: 1rem;
  }
  .horse-details .breed {
    font-size: 0.92rem;
  }
  .horse-details .description {
    font-size: 0.92rem;
    margin-bottom: 10px;
  }
  .horse-meta {
    font-size: 0.85rem;
    gap: 6px;
    margin-bottom: 10px;
  }
  .horse-actions {
    flex-direction: column;
    gap: 6px;
  }
  .horse-actions .btn {
    font-size: 0.92rem;
    padding: 8px 0;
  }
}

/* --- Featured Products Preview Section (for index.html) --- */
.featured-products-preview {
    padding: 60px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.featured-products-preview .container {
    max-width: 1200px;
    margin: 0 auto;
}

.featured-products-preview h2 {
    font-size: 2.8em;
    color: #333;
    margin-bottom: 15px;
}

.featured-products-preview .section-description {
    font-size: 1.1em;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center; /* Center items if they don't fill a row */
}

.preview-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.preview-item img {
    max-width: 100%;
    height: 180px; /* Consistent height for images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.preview-item h3 {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 10px;
}

.preview-item p {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows text to push buttons down */
}

.preview-item .price {
    font-size: 1.3em;
    font-weight: bold;
    color: #007bff;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Button Styling (if not already in style.css, add these) */
.btn-primary-inverted,
.btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap; /* Prevents button text from breaking */
}

.btn-primary-inverted {
    background-color: #fff;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-primary-inverted:hover {
    background-color: #007bff;
    color: #fff;
}

.btn-secondary {
    background-color: #ffd700; /* Gold/yellow from your branding */
    color: #333;
    border: 2px solid #ffd700;
}

.btn-secondary:hover {
    background-color: #e6c200; /* Darker gold */
    color: #333;
}

/* Specific styling for the call to action card */
.call-to-action-card {
    background-color: #007bff; /* Blue to stand out */
    color: #fff;
    justify-content: center; /* Vertically center content */
}

.call-to-action-card h3 {
    color: #fff;
    margin-bottom: 15px;
}

.call-to-action-card p {
    color: #e0f0ff; /* Lighter blue for description */
    font-size: 1em;
    margin-bottom: 25px;
}

/* Responsive adjustments for preview section */
@media (max-width: 767px) {
    .featured-products-preview h2 {
        font-size: 2.2em;
    }
    .preview-grid {
        grid-template-columns: 1fr; /* Stack items on small screens */
        gap: 20px;
    }
    .preview-item {
        padding: 20px;
    }
}

/* ===== WHY CHOOSE US SECTION ===== */
.why-choose-us {
  background: linear-gradient(120deg, rgba(212,175,55,0.08) 0%, rgba(248,245,240,0.98) 100%);
  padding: 90px 0 70px 0;
  position: relative;
  overflow: hidden;
}

.why-choose-us::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(212,175,55,0.11) 0%, rgba(248,245,240,0) 80%);
  z-index: 0;
  pointer-events: none;
}

.why-choose-us::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,107,74,0.08) 0%, rgba(248,245,240,0) 80%);
  z-index: 0;
  pointer-events: none;
}

.why-choose-us .container {
  position: relative;
  z-index: 2;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 36px;
  margin-top: 48px;
}

.feature-item {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(44,36,27,0.07), 0 1.5px 6px rgba(212,175,55,0.07);
  padding: 36px 28px 28px 28px;
  text-align: center;
  position: relative;
  transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.3s;
  border: 2px solid transparent;
}

.feature-item:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow: 0 16px 48px rgba(44,36,27,0.13), 0 2px 12px rgba(212,175,55,0.13);
  border-color: var(--secondary);
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 18px;
  display: block;
}

.feature-item h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.feature-item p {
  color: var(--text);
  font-size: 1.05rem;
  opacity: 0.92;
}


/* ===== ABOUT SECTION ===== */
.about-us {
  background-color: var(--light);
  padding: 80px 0;
}

.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-image {
  flex: 1;
  min-width: 400px;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  background-color: var(--white);
  padding: 20px;
  border-left: 5px solid var(--primary);
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature-item h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--primary);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background: linear-gradient(120deg, rgba(248,245,240,1) 60%, rgba(212,175,55,0.07) 100%);
  padding: 90px 0 70px 0;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(212,175,55,0.10) 0%, rgba(248,245,240,0) 80%);
  z-index: 0;
  pointer-events: none;
}

.testimonials::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,107,74,0.08) 0%, rgba(248,245,240,0) 80%);
  z-index: 0;
  pointer-events: none;
}

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

.testimonial-slider {
  margin-top: 48px;
  margin-bottom: 30px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(44,36,27,0.07), 0 1.5px 6px rgba(212,175,55,0.07);
  padding: 38px 32px 32px 32px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.testimonial-rating {
  color: var(--secondary);
  font-size: 1.2rem;
  margin-bottom: 10px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
  color: var(--dark);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section .cta-content {
  max-width: 700px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.cta-section h2 {
  font-size: 2.2rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--dark);
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 28px;
  color: var(--dark);
  opacity: 0.95;
}

.cta-section .btn {
  background: var(--dark);
  color: var(--secondary);
  font-size: 1.15rem;
  padding: 16px 38px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(139,107,74,0.18);
  transition: background 0.2s, color 0.2s, transform 0.18s;
  border: none;
}

.cta-section .btn:hover {
  background: var(--secondary);
  color: var(--dark);
  transform: translateY(-3px) scale(1.04);
}


/* ===== CONTACT SECTION ===== */
.contact-us {
  background: linear-gradient(120deg, rgba(212,175,55,0.08) 0%, rgba(44,36,27,0.04) 100%);
  color: var(--dark);
  padding: 90px 0 70px 0;
  position: relative;
  overflow: hidden;
}

.contact-us::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(212,175,55,0.13) 0%, rgba(248,245,240,0) 80%);
  z-index: 0;
  pointer-events: none;
}

.contact-us::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,107,74,0.10) 0%, rgba(248,245,240,0) 80%);
  z-index: 0;
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(44,36,27,0.07), 0 1.5px 6px rgba(212,175,55,0.07);
  padding: 48px 36px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info, .contact-form-container {
  flex: 1;
  min-width: 300px;
}

.contact-info h2, .contact-form-container h2 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 25px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-item i {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-right: 15px;
  width: 30px;
}

.contact-item p {
  font-size: 1.1rem;
  color: var(--dark);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--gray);
  border-radius: 6px;
  background-color: rgba(248,245,240,0.5);
  color: var(--dark);
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(44,36,27,0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: #fff;
}

.contact-form .btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  background: linear-gradient(90deg, var(--primary) 70%, var(--secondary) 100%);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(139,107,74,0.10);
  transition: background 0.2s, color 0.2s, transform 0.18s;
}

.contact-form .btn:hover {
  background: linear-gradient(90deg, var(--secondary) 60%, var(--primary) 100%);
  color: var(--dark);
  transform: translateY(-2px) scale(1.03);
}

/* Responsive styles for contact section */
@media (max-width: 992px) {
  .contact-content {
    flex-direction: column;
    gap: 30px;
    padding: 32px 12px;
  }
  .contact-info, .contact-form-container {
    min-width: unset;
  }
}

@media (max-width: 600px) {
  .contact-us {
    padding: 38px 0 18px 0;
  }
  .contact-content {
    padding: 14px 2px;
  }
  .contact-info h2, .contact-form-container h2 {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  .contact-item i {
    font-size: 1.1rem;
    margin-right: 8px;
    width: 22px;
  }
  .contact-item p {
    font-size: 0.98rem;
  }
  .contact-form .btn {
    font-size: 1rem;
    padding: 10px;
  }
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(120deg, var(--dark) 80%, var(--primary) 100%);
  color: var(--white);
  padding: 60px 0 20px 0;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 220px;
  min-width: 220px;
  margin-bottom: 30px;
}

.footer-column h3 {
  color: var(--secondary);
  font-size: 1.3rem;
  margin-bottom: 18px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.footer-column p,
.footer-column ul li,
.footer-column ul li a {
  color: var(--white);
  opacity: 0.92;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  transition: color 0.2s;
}

.footer-column ul li a:hover {
  color: var(--secondary);
}

.social-links {
  margin-top: 18px;
  display: flex;
  gap: 18px;
}

.social-links a {
  color: var(--secondary);
  font-size: 1.5rem;
  transition: color 0.2s, transform 0.2s;
}

.social-links a:hover {
  color: var(--white);
  transform: scale(1.15) rotate(-8deg);
}

/* .footer-logo {
  max-width: 120px;
  max-height: 70px;
  margin-bottom: 18px;
  display: block;
  /* Optional: If you only have a dark logo, invert it for the footer */
  /* filter: brightness(0) invert(1); */
 */

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  margin-top: 18px;
  text-align: center;
  color: var(--white);
  opacity: 0.7;
  font-size: 0.98rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  color: var(--secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

/* ===== RESPONSIVE DESIGN FOR NEW SECTIONS ===== */
@media (max-width: 992px) {
  .features-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    flex-direction: column;
  }
  .footer .container {
    flex-direction: column;
    gap: 24px;
  }
  .footer-grid {
    flex-direction: column;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer-grid {
    flex-direction: column;
    gap: 18px;
  }
  .footer-column {
    min-width: unset;
    width: 100%;
  }
  .footer .container {
    padding: 0 15px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .why-choose-us,
  .testimonials,
  .cta-section,
  .footer {
    padding: 38px 0 18px 0;
  }
  .features-grid {
    gap: 10px;
  }
  .feature-item {
    padding: 18px 8px 14px 8px;
  }
  .testimonial-card {
    padding: 18px 8px 14px 8px;
  }
  .cta-section h2 {
    font-size: 1.2rem;
  }
  .cta-section p {
    font-size: 0.98rem;
  }
  .cta-section .btn {
    font-size: 1rem;
    padding: 10px 18px;
  }
  .footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  .footer-bottom {
    font-size: 0.9rem;
    padding-top: 10px;
    margin-top: 10px;
  }
}



/* ===== PAGE SPECIFIC STYLES ===== */

/* Page Header (General for all content pages) */
.page-header {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
              url('../images/horses/premium_photo-1661886008804-9e5b219fc587.jpeg') no-repeat center center/cover;
  color: var(--white);
  padding: 150px 0 100px;
  text-align: center;
  margin-top: 80px; /* To account for fixed header */
}

.page-header h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
  color: var(--light);
}

/* Auctions Page */
.current-auctions {
  padding: 80px 0;
  background-color: var(--white);
}

.auction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.auction-card {
  background-color: var(--light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.auction-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.auction-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.auction-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.auction-card:hover .auction-media img {
  transform: scale(1.05);
}

.countdown {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background-color: rgba(0,0,0,0.7);
  color: var(--white);
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  gap: 5px;
  align-items: baseline;
}

.countdown span {
  font-size: 1.3rem;
  color: var(--secondary);
}

.auction-details {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.auction-details h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.auction-details .meta {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.auction-details .meta span {
  margin-right: 15px;
}

.auction-details p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 20px;
  flex-grow: 1;
}

.current-bid {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 15px;
}

.bid-action {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-top: auto;
}

.bid-action input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
}

.bid-action .btn {
  padding: 10px 20px;
  white-space: nowrap; /* Prevent button text from wrapping */
}

.auction-details-section {
  padding: 80px 0;
  background-color: var(--light);
}

.auction-details-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.auction-main-info {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.auction-main-info h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.auction-main-info p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.info-item {
  background-color: var(--light);
  padding: 15px;
  border-radius: 5px;
}

.info-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.info-item span {
  color: var(--text);
}

.accordion-item {
  margin-bottom: 15px;
}

.accordion-btn {
  width: 100%;
  background-color: var(--primary);
  color: var(--white);
  padding: 15px 20px;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.accordion-btn:hover {
  background-color: var(--dark);
}

.accordion-btn .icon {
  transition: transform 0.3s ease;
}

.accordion-btn.active .icon {
  transform: rotate(90deg);
}

.accordion-content {
  background-color: var(--light);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.accordion-content p {
  padding: 20px 0;
}

.auction-sidebar {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.auction-sidebar h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.sidebar-bid-info .current-bid {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.sidebar-countdown {
  text-align: center;
  margin-bottom: 30px;
}

.sidebar-countdown .countdown {
  position: static;
  display: inline-flex;
  background-color: var(--dark);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1.2rem;
  gap: 10px;
}

.sidebar-countdown .countdown span {
  font-size: 1.5rem;
}

.sidebar-bid-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.sidebar-bid-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
}

.sidebar-bid-form .btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

.seller-info {
  border-top: 1px solid var(--gray);
  padding-top: 25px;
}

.seller-info h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--dark);
}

/* Training Page */
.training-programs {
  padding: 80px 0;
  background-color: var(--white);
}

.program-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow tabs to wrap */
  gap: 15px;
  margin-bottom: 40px;
}

.program-tabs .tab-btn {
  background-color: var(--light);
  color: var(--dark);
  padding: 12px 25px;
  border: 1px solid var(--gray);
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.program-tabs .tab-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.program-tabs .tab-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.program-content .tab-pane {
  display: none;
}

.program-content .tab-pane.active {
  display: block;
}

.program-details {
  display: flex;
  gap: 40px;
  align-items: center;
  background-color: var(--light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.program-description {
  flex: 2;
}

.program-description h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.program-description p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.program-gallery {
  flex: 1;
  min-width: 300px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.program-gallery img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
}

.training-trainers {
  background-color: var(--light);
  padding: 80px 0;
}

.trainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.trainer-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.trainer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.trainer-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 20px;
}

.trainer-card-content {
  padding: 0 20px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.trainer-card-content h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.trainer-card-content .specialty {
  font-style: italic;
  color: var(--primary);
  margin-bottom: 15px;
}

.trainer-card-content p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.trainer-card-content .btn {
  margin-top: auto;
}

.training-testimonials {
  padding: 80px 0;
  background-color: var(--white);
}

/* Stallions Page */
.stallion-directory {
  padding: 80px 0;
  background-color: var(--white);
}

.filter-options {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap; /* Allow filters to wrap */
  justify-content: center;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  min-width: 180px; /* Ensure filters have a minimum width */
}

.filter-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.filter-group select,
.filter-group input[type="text"] {
  padding: 10px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
}

.filter-options .btn {
  height: fit-content; /* Adjust button height to fit content */
  padding: 10px 20px;
}

.stallion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.stallion-card {
  background-color: var(--light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.stallion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.stallion-media {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.stallion-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.stallion-card:hover .stallion-media img {
  transform: scale(1.05);
}

.stallion-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--dark);
  color: var(--white);
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 600;
}

.stallion-details {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.stallion-details h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.stallion-details .meta {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.stallion-details .meta span {
  margin-right: 15px;
}

.stallion-details p {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 20px;
  flex-grow: 1;
}

.stallion-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.stallion-actions .btn {
  flex: 1;
  white-space: nowrap;
}

.stallion-breeding-services {
  background-color: var(--light);
  padding: 80px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card i {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.7;
}

/* Transport Page */
.transport-options {
  padding: 80px 0;
  background-color: var(--white);
}

.option-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.option-tabs .tab-btn {
  background-color: var(--light);
  color: var(--dark);
  padding: 12px 25px;
  border: 1px solid var(--gray);
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.option-tabs .tab-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.option-tabs .tab-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.option-content .tab-pane {
  display: none;
}

.option-content .tab-pane.active {
  display: block;
}

.option-details {
  display: flex;
  gap: 40px;
  align-items: center;
  background-color: var(--light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.option-description {
  flex: 2;
}

.option-description h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.option-description p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.option-image {
  flex: 1;
  min-width: 300px;
}

.option-image img {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.transport-process {
  background-color: var(--light);
  padding: 80px 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.step-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  position: relative;
  padding-top: 60px; /* Space for number */
  text-align: center;
}

.step-card::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.step-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.step-card p {
  color: var(--text-light);
}

.transport-quote-form {
  background: var(--light);
  padding: 80px 0;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h2 {
  margin-bottom: 10px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray);
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
}

.form-container .btn {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}


/* ===== RESPONSIVE DESIGN ===== */

/* Tablets and smaller desktops (992px) */
@media (max-width: 992px) {
  .section-title {
      font-size: 2.2rem;
  }

  .hero-content h1 {
      font-size: 3.5rem;
  }

  .hero-content p {
      font-size: 1.2rem;
  }

  .main-nav ul {
      gap: 20px;
  }

  .about-content {
      flex-direction: column;
      text-align: center;
      gap: 30px;
  }

  .about-image {
      min-width: unset;
      width: 80%;
  }

  .about-text h2 {
      font-size: 2.2rem;
  }

  .about-features {
      grid-template-columns: 1fr;
  }

  .contact-content {
      flex-direction: column;
      gap: 30px;
  }

  .contact-info, .contact-form-container {
      min-width: unset;
  }

  .footer .container {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .footer-column {
      min-width: unset;
      width: 100%;
  }

  .social-links {
      justify-content: center;
      display: flex;
      margin-bottom: 20px;
  }

  .footer-links {
      margin-top: 15px;
      display: flex;
      justify-content: center;
      width: 100%;
  }

  .footer-links a {
      margin: 0 10px;
  }

  /* Page specific */
  .page-header h1 {
      font-size: 3rem;
  }
  .page-header p {
      font-size: 1.1rem;
  }

  .auction-details-content {
      grid-template-columns: 1fr; /* Stack main content and sidebar */
  }

  .program-details {
      flex-direction: column;
      gap: 30px;
      text-align: center;
  }

  .program-description {
      order: 2; /* Put description after gallery on smaller screens */
  }

  .program-gallery {
      order: 1;
      width: 80%; /* Adjust width for better fit */
      margin: 0 auto;
  }

  .option-details {
      flex-direction: column;
      gap: 30px;
      text-align: center;
  }

  .option-image {
      order: 1; /* Put image before description on smaller screens */
      min-width: unset;
      width: 80%;
      margin: 0 auto;
  }

  .option-description {
      order: 2;
  }

  .form-row {
      grid-template-columns: 1fr; /* Stack form fields vertically */
  }
}

/* Mobile phones (768px) */
@media (max-width: 768px) {
  .header {
      padding: 15px 0;
  }
  .header.scrolled {
      padding: 10px 0;
  }
  .logo img {
      height: 45px;
  }
  .header.scrolled .logo img {
      height: 35px;
  }

  .main-nav {
      position: fixed;
      top: 0;
      left: -100%; /* Hidden by default */
      width: 70%;
      height: 100vh;
      background-color: var(--dark);
      padding-top: 100px;
      box-shadow: 2px 0 10px rgba(0,0,0,0.3);
      transition: left 0.4s ease-in-out;
  }

  .main-nav.active {
      left: 0; /* Show menu */
  }

  .main-nav ul {
      flex-direction: column;
      align-items: center;
      gap: 25px;
  }

  .main-nav ul li a {
      font-size: 1.3rem;
      padding: 10px 0;
  }

  .mobile-menu-btn {
      display: block;
      position: relative;
      z-index: 1002;
  }

  .hero-content h1 {
      font-size: 2.8rem;
  }

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

  .hero-buttons {
      display: flex;
      flex-direction: column;
      gap: 15px;
  }

  .hero-buttons .btn {
      margin: 0;
      width: 80%;
      max-width: 300px;
      margin-left: auto;
      margin-right: auto;
  }

  .section-title {
      font-size: 1.8rem;
      margin-bottom: 30px;
  }

  .featured-horses, .about-us, .testimonials, .contact-us,
  .current-auctions, .auction-details-section, .training-programs,
  .training-trainers, .training-testimonials, .stallion-directory,
  .stallion-breeding-services, .transport-options, .transport-process,
  .transport-quote-form {
      padding: 60px 0;
  }

  .testimonial-quote {
      font-size: 1rem;
  }

  .footer .container {
      padding: 0 15px;
  }

  .footer-bottom {
      flex-direction: column;
      text-align: center;
  }

  .footer-links a {
      margin: 5px 10px;
  }

  /* Page specific */
  .page-header {
      padding: 120px 0 80px;
  }
  .page-header h1 {
      font-size: 2.5rem;
  }
  .page-header p {
      font-size: 1rem;
  }

  .auction-details h3 {
      font-size: 1.5rem;
  }
  .auction-media {
      height: 180px;
  }
  .countdown {
      font-size: 0.9rem;
      padding: 6px 10px;
  }
  .countdown span {
      font-size: 1.1rem;
  }
  .bid-action {
      flex-direction: column;
      gap: 15px;
  }
  .bid-action input, .bid-action .btn {
      width: 100%;
  }

  .program-details h2 {
      font-size: 2rem;
  }
  .program-gallery {
      grid-template-columns: 1fr; /* Stack gallery images vertically */
      width: 100%;
  }
  .program-tabs .tab-btn {
      padding: 10px 20px;
      font-size: 0.9rem;
  }
  .trainer-card img {
      height: 220px;
  }

  .filter-group {
      width: 100%; /* Make filters take full width */
      min-width: unset;
  }
  .filter-options {
      flex-direction: column;
      align-items: stretch;
  }
  .stallion-actions {
      flex-direction: column;
      gap: 15px;
  }
  .stallion-actions .btn {
      width: 100%;
  }

  .option-details h2 {
      font-size: 2rem;
  }
  .option-image {
      width: 100%;
  }
  .step-card {
      padding-top: 50px;
  }
  .step-card::before {
      width: 35px;
      height: 35px;
      font-size: 1.3rem;
  }
  .step-card h3 {
      font-size: 1.5rem;
  }
}

/* Small mobile phones (480px) */
@media (max-width: 480px) {
  .container {
      padding: 0 15px;
  }

  .hero-content h1 {
      font-size: 2.2rem;
  }

  .hero-content p {
      font-size: 0.9rem;
  }

  .header .logo img {
      height: 40px;
  }
  .header.scrolled .logo img {
      height: 30px;
  }

  .section-title {
      font-size: 1.6rem;
  }

  .horse-card-media img {
      height: 200px;
  }

  .horse-card-content h3 {
      font-size: 1.5rem;
  }

  .horse-card.sold {
  opacity: 0.8;
  filter: grayscale(50%);
}

.badge-sold {
  background: #c92a2a;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
  margin-top: 8px;
}


  .about-image {
      width: 100%;
  }

  /* Page specific */
  .page-header h1 {
      font-size: 2rem;
  }
  .page-header p {
      font-size: 0.9rem;
  }

  .auction-grid, .trainer-grid, .stallion-grid, .services-grid, .process-steps {
      grid-template-columns: 1fr; /* Single column on very small screens */
      gap: 20px;
  }

  .auction-card, .stallion-card {
      margin: 0 auto;
      max-width: 320px; /* Constrain card width */
  }
  .auction-media {
      height: 160px;
  }
  .auction-details h3 {
      font-size: 1.3rem;
  }
  .auction-details .meta {
      font-size: 0.85rem;
  }
  .current-bid {
      font-size: 1.2rem;
  }

  .program-details h2 {
      font-size: 1.8rem;
  }
  .program-gallery img {
      height: 120px;
  }
  .trainer-card h3 {
      font-size: 1.5rem;
  }
  .trainer-card img {
      height: 180px;
  }

  .stallion-details h3 {
      font-size: 1.5rem;
  }
  .stallion-media {
      height: 200px;
  }

  .option-details h2 {
      font-size: 1.8rem;
  }
  .option-image img {
      height: 180px;
  }
  .form-container {
      padding: 25px;
  }
  .form-group label {
      font-size: 0.9rem;
  }
  .form-group input, .form-group textarea, .form-group select {
      padding: 10px;
      font-size: 0.9rem;
  }
}

/* ... (existing CSS from previous response) ... */

/* ===== HEADER ===== */
.header {
  background-color: var(--dark);
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 10px 0;
  background-color: rgba(44, 36, 27, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

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

.logo img {
  height: 50px;
  transition: height 0.3s ease;
}

.header.scrolled .logo img {
  height: 40px;
}

.main-nav ul { /* Existing desktop styles for the ul */
  display: flex;
  gap: 30px;
}

.main-nav ul li a {
  color: var(--white);
  font-weight: 600;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.main-nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
  width: 100%;
}

.main-nav ul li a:hover {
  color: var(--primary);
}

/* Mobile nav styles */
/* @media (max-width: 992px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark);
    z-index: 1002;
    padding: 20px 0;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .mobile-menu-btn {
    display: block;
  }
} */

/* .mobile-menu-btn {
  display: none;
  font-size: 1.8rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  z-index: 1001; 
 } */
  /* Ensure button is above menu */


/* ... (rest of the existing CSS until responsive section) ... */

/* ===== RESPONSIVE DESIGN ===== */

/* Mobile phones (768px) - Adjusted for hamburger menu */
@media (max-width: 768px) {
  /* ... (existing styles) ... */

  .main-nav {
      position: fixed;
      top: 0;
      left: -100%; /* Hidden by default */
      width: 70%; /* Width of the mobile menu */
      max-width: 300px; /* Optional: limit max width */
      height: 100vh;
      background-color: var(--dark);
      padding-top: 100px; /* Space for fixed header */
      box-shadow: 2px 0 10px rgba(0,0,0,0.3);
      transition: left 0.4s ease-in-out;
      overflow-y: auto; /* Enable scrolling for long menus */
      z-index: 999; /* Below mobile-menu-btn */
  }

  .main-nav.active {
      left: 0; /* Show menu */
  }

  .main-nav ul {
      flex-direction: column;
      align-items: flex-start; /* Align items to the left */
      gap: 25px;
      padding: 0 20px; /* Add padding inside the menu */
  }

  .main-nav ul li a {
      font-size: 1.3rem;
      padding: 10px 0;
      width: 100%; /* Make links full width for easier tapping */
      text-align: left;
  }
  .main-nav ul li a::after {
      left: 0; /* Ensure underline starts from left */
  }

  .mobile-menu-btn {
      display: block; /* Show hamburger button on mobile */
  }
  /* ... (rest of the existing responsive styles) ... */

  /* NEW PAGE STYLES */
  /* Blog Page */
  .blog-posts {
      padding: 80px 0;
      background-color: var(--white);
  }
  .blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 30px;
  }
  .blog-card {
      background-color: var(--light);
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0,0,0,0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .blog-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  }
  .blog-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
  }
  .blog-content {
      padding: 20px;
  }
  .blog-content h3 {
      font-size: 1.6rem;
      margin-bottom: 10px;
  }
  .blog-meta {
      font-size: 0.9rem;
      color: var(--text-light);
      margin-bottom: 15px;
  }
  .blog-meta span {
      margin-right: 15px;
  }
  .blog-content p {
      font-size: 0.95rem;
      margin-bottom: 20px;
  }
  .blog-content .btn {
      font-size: 0.9rem;
      padding: 8px 15px;
  }

  /* Our Standards Page */
  .standards-intro {
      padding: 80px 0;
      background-color: var(--light);
      text-align: center;
  }
  .standards-intro p {
      max-width: 800px;
      margin: 0 auto 40px;
      font-size: 1.1rem;
  }
  .standards-features {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 50px;
  }
  .feature-box {
      background-color: var(--white);
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.08);
      text-align: center;
      transition: transform 0.3s ease;
  }
  .feature-box:hover {
      transform: translateY(-5px);
  }
  .feature-box i {
      font-size: 3rem;
      color: var(--primary);
      margin-bottom: 20px;
  }
  .feature-box h3 {
      font-size: 1.8rem;
      margin-bottom: 15px;
  }
  .feature-box p {
      color: var(--text-light);
  }

  /* Buyer Consulting Page */
  .consulting-intro {
      padding: 80px 0;
      background-color: var(--white);
      text-align: center;
  }
  .consulting-intro p {
      max-width: 900px;
      margin: 0 auto 40px;
      font-size: 1.1rem;
  }
  .consulting-steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 50px;
  }
  .step-item {
      background-color: var(--light);
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      text-align: center;
  }
  .step-item .step-number {
      font-size: 2.5rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 15px;
  }
  .step-item h3 {
      font-size: 1.8rem;
      margin-bottom: 15px;
  }
  .step-item p {
      color: var(--text-light);
  }
  .consulting-cta {
      padding: 60px 0;
      background-color: var(--dark);
      color: var(--white);
      text-align: center;
      margin-top: 80px;
  }
  .consulting-cta h2 {
      color: var(--white);
      margin-bottom: 20px;
  }
  .consulting-cta p {
      font-size: 1.1rem;
      max-width: 700px;
      margin: 0 auto 30px;
  }

  /* Responsive adjustments for new pages */
  @media (max-width: 992px) {
      .standards-features, .consulting-steps {
          grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      }
  }
  @media (max-width: 768px) {
      .blog-grid, .standards-features, .consulting-steps {
          grid-template-columns: 1fr;
      }
      .blog-card, .feature-box, .step-item {
          max-width: 380px; /* Constrain width for single column */
          margin: 0 auto;
      }
      .standards-intro p, .consulting-intro p {
          font-size: 1rem;
      }
      .consulting-cta h2 {
          font-size: 2rem;
      }
  }
  @media (max-width: 480px) {
      .blog-card img {
          height: 160px;
      }
      .blog-content h3 {
          font-size: 1.4rem;
      }
      .feature-box i {
          font-size: 2.5rem;
      }
      .feature-box h3, .step-item h3 {
          font-size: 1.6rem;
      }
      .step-item .step-number {
          font-size: 2rem;
      }
      .consulting-cta h2 {
          font-size: 1.8rem;
      }
  }
}