:root {
    /* Colors */
    --color-primary: #0a552d;
    --color-secondary: #e8edea;
    --color-text-dark: #333333;
    --color-text-light: #ffffff;
    --color-accent: #8ba785;
    --color-border: #e0e0e0;
}

/* Color Utilities */
.bg-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.bg-light {
    background-color: var(--color-secondary);
}

.bg-white {
    background-color: #ffffff;
}

/* Img */
.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}


/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.btn:hover {
    background-color: #143d24;
}

/* Containers */
.container,
.container-header {
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    margin-right: auto;
    margin-left: auto;
}

.container,
.container-header,
.container *,
.container-header * {
    box-sizing: border-box;
}

/* Responsive Breakpoints */
@media (min-width: 576px) {
    .container,
    .container-header {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container,
    .container-header {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container,
    .container-header {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1080px;
    }

    .container-header {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1080px;
    }

    .container-header {
        max-width: 1320px;
    }
}

@media (min-width: 1700px) {
    .container-header {
        max-width: 1670px;
    }
}

/* --- Bootstrap Grid System --- */
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}

.col {
    flex: 1 0 0%;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}

.col-6 {
    flex: 0 0 auto;
    width: 50%;
}

@media (min-width: 768px) {
    .col-md-1 {
        flex: 0 0 auto;
        width: 8.33333333%;
    }

    .col-md-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }

    .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-md-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .col-md-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-md-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .col-md-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .col-md-9 {
        flex: 0 0 auto;
        width: 75%;
    }

    .col-md-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }

    .col-md-11 {
        flex: 0 0 auto;
        width: 91.66666667%;
    }

    .col-md-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}

@media (min-width: 992px) {
    .col-lg-1 {
        flex: 0 0 auto;
        width: 8.33333333%;
    }

    .col-lg-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }

    .col-lg-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-lg-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }

    .col-lg-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }

    .col-lg-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-lg-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }

    .col-lg-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }

    .col-lg-9 {
        flex: 0 0 auto;
        width: 75%;
    }

    .col-lg-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }

    .col-lg-11 {
        flex: 0 0 auto;
        width: 91.66666667%;
    }

    .col-lg-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* --- Bootstrap Utilities --- */
.d-flex {
    display: flex !important;
}

.justify-content-center {
    justify-content: center !important;
}

.align-items-center {
    align-items: center !important;
}

.gap-4 {
    gap: 1.5rem !important;
}

.text-center {
    text-align: center !important;
}

.position-relative {
    position: relative !important;
}

.color-primary {
    color: var(--color-primary) !important;
}

/* Spacing Utilities */
/* Margins */
.m-0 {
    margin: 0 !important;
}

.m-1 {
    margin: 0.25rem !important;
}

.m-2 {
    margin: 0.5rem !important;
}

.m-3 {
    margin: 1rem !important;
}

.m-4 {
    margin: 1.5rem !important;
}

.m-5 {
    margin: 3rem !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.mt-1 {
    margin-top: 0.25rem !important;
}

.mt-2 {
    margin-top: 0.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.ms-0 {
    margin-left: 0 !important;
}

.ms-1 {
    margin-left: 0.25rem !important;
}

.ms-2 {
    margin-left: 0.5rem !important;
}

.ms-3 {
    margin-left: 1rem !important;
}

.ms-4 {
    margin-left: 1.5rem !important;
}

.ms-5 {
    margin-left: 3rem !important;
}

.me-0 {
    margin-right: 0 !important;
}

.me-1 {
    margin-right: 0.25rem !important;
}

.me-2 {
    margin-right: 0.5rem !important;
}

.me-3 {
    margin-right: 1rem !important;
}

.me-4 {
    margin-right: 1.5rem !important;
}

.me-5 {
    margin-right: 3rem !important;
}

/* Paddings */
.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: 0.25rem !important;
}

.p-2 {
    padding: 0.5rem !important;
}

.p-3 {
    padding: 1rem !important;
}

.p-4 {
    padding: 1.5rem !important;
}

.p-5 {
    padding: 3rem !important;
}

.pt-0 {
    padding-top: 0 !important;
}

.pt-1 {
    padding-top: 0.25rem !important;
}

.pt-2 {
    padding-top: 0.5rem !important;
}

.pt-3 {
    padding-top: 1rem !important;
}

.pt-4 {
    padding-top: 1.5rem !important;
}

.pt-5 {
    padding-top: 3rem !important;
}

.pb-0 {
    padding-bottom: 0 !important;
}

.pb-1 {
    padding-bottom: 0.25rem !important;
}

.pb-2 {
    padding-bottom: 0.5rem !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

.pb-4 {
    padding-bottom: 1.5rem !important;
}

.pb-5 {
    padding-bottom: 3rem !important;
}

/* Paddings Start (Left) */
.ps-0 {
    padding-left: 0 !important;
}

.ps-1 {
    padding-left: 0.25rem !important;
}

.ps-2 {
    padding-left: 0.5rem !important;
}

.ps-3 {
    padding-left: 1rem !important;
}

.ps-4 {
    padding-left: 1.5rem !important;
}

.ps-5 {
    padding-left: 3rem !important;
}

/* Responsive Utilities */
@media (min-width: 768px) {
    .mb-md-0 {
        margin-bottom: 0 !important;
    }

    .mt-md-0 {
        margin-top: 0 !important;
    }

    .ps-md-5 {
        padding-left: 3rem !important;
    }

    /* Offsets */
    .offset-md-0 {
        margin-left: 0;
    }

    .offset-md-1 {
        margin-left: 8.33333333%;
    }

    .offset-md-2 {
        margin-left: 16.66666667%;
    }

    .offset-md-3 {
        margin-left: 25%;
    }

    .offset-md-4 {
        margin-left: 33.33333333%;
    }

    .offset-md-5 {
        margin-left: 41.66666667%;
    }

    .offset-md-6 {
        margin-left: 50%;
    }

    .offset-md-7 {
        margin-left: 58.33333333%;
    }

    .offset-md-8 {
        margin-left: 66.66666667%;
    }

    .offset-md-9 {
        margin-left: 75%;
    }

    .offset-md-10 {
        margin-left: 83.33333333%;
    }

    .offset-md-11 {
        margin-left: 91.66666667%;
    }
}

/* --- Display Utilities --- */
.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.d-inline {
    display: inline !important;
}

.d-inline-block {
    display: inline-block !important;
}

@media (min-width: 576px) {
    .d-sm-none {
        display: none !important;
    }

    .d-sm-block {
        display: block !important;
    }

    .d-sm-inline {
        display: inline !important;
    }

    .d-sm-inline-block {
        display: inline-block !important;
    }

    .d-sm-flex {
        display: flex !important;
    }
}

@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }

    .d-md-block {
        display: block !important;
    }

    .d-md-inline {
        display: inline !important;
    }

    .d-md-inline-block {
        display: inline-block !important;
    }

    .d-md-flex {
        display: flex !important;
    }
}

@media (min-width: 992px) {
    .d-lg-none {
        display: none !important;
    }

    .d-lg-block {
        display: block !important;
    }

    .d-lg-inline {
        display: inline !important;
    }

    .d-lg-inline-block {
        display: inline-block !important;
    }

    .d-lg-flex {
        display: flex !important;
    }
}

/* --- Sections --- */
.section-hero, .section-stables, .section-news, #social.bg-light, .section-highlight, .section-intro, .section-breeding  {
    padding: 110px 0;
    margin: 0;
    font-size: 18px;
    line-height: 24px;
}

.section-title {
    font-size: 48px;
    line-height: 58px;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .section-hero, .section-stables, .section-news, #social.bg-light, .section-highlight, .section-intro, .section-breeding {
        padding: 60px 0;
    }

    .section-title {
        font-size: 32px;
        line-height: 40px;
    }
}

/* --- Hero Section --- */
.section-hero {
    position: relative;
}

.hero-content {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 40px;
    max-width: 750px;
    border-radius: 30px;
}

.hero-content .hero-title {
    font-size: 60px;
    line-height: 73px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0;
}

.hero-content .hero-subtitle {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 30px;
}

.hero-content .hero-text {
    font-size: 18px;
    margin-bottom: 25px;
    max-width: 500px;
}

.hero-content .btn {
    font-size: 18px;
    text-transform: none;
    font-weight: 600;
    line-height: 22px;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 500px;
    }

    .hero-content {
        margin: 0;
        padding: 30px;
        text-align: center;
    }

    .hero-content .hero-title {
        font-size: 40px;
        line-height: 110%;
        margin-bottom: 15px;
    }

    .hero-content .hero-subtitle {
        font-size: 18px;
        line-height: 26px;
    }
}

/* --- Stables Section --- */
.section-stables {
    background: linear-gradient(180deg, #FFFFFF 20%, #d8f7e4 100%);
    padding: 80px 0 15px 0;
    position: relative;
}

.section-stables h2 {
    color: var(--color-primary);
}

.section-stables p strong {
    font-weight: 700;
    color: var(--color-primary);
}

.section-stables p:last-child, .section-stables h3:last-child {
    margin-bottom: 0;
}

.section-stables .logo-mark {
    position: absolute;
    right: 10%;
    bottom: 135px;
    width: 191px;
}

@media (max-width: 768px) {
    .section-stables .image-placement .logo-mark {
        display: none;
    }

    .section-stables .stables-content .logo-mark {
        font-size: 3rem;
    }

    .section-stables .image-placement .logo-mark {
        width: 100px;
        bottom: 20px;
        right: 10px;
    }

    .section-stables .partners {
        flex-wrap: wrap;
    }
}

/* --- Training Section --- */
.section-training {
    padding-top: 0;
    padding-bottom: 0;
}

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

.section-training .training-overlay {
    background-color: var(--color-primary);
    color: #fff;
    padding: 40px;
}

.section-training .training-overlay h2 {
    color: #fff;
    line-height: 160%;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

/* --- Highlight Person Section (Overlapping Layout) --- */
.section-highlight {
    position: relative;
    padding: 0;
    margin-bottom: 80px;
}

.section-highlight .highlight-bg {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
}

.section-highlight .person-media {
    position: relative;
}

.section-highlight .person-media-card {
    position: relative;
    top: -296px;
    width: 392px;
    margin-bottom: -296px;
    padding: 10px;
    background-color: #fff;
}

.section-highlight  .media-aspect-ratio img,
.section-highlight  .media-aspect-ratio video {
    width: 100%;
    height: auto;
    display: block;
}

.section-highlight .person-content {
    padding-top: 30px;
}

.section-highlight .person-name {
    font-size: 40px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 2rem;
}

.section-highlight  .person-content p {
    margin-bottom: 1.5rem;
    font-size: 18px;
    color: #333;
}

.section-highlight .person-content strong {
    font-weight: 700;
    color: var(--color-primary);
}

@media (max-width: 768px) {
    /* Highlight Person */
    .section-highlight .container {
        grid-template-columns: 1fr;
    }

    .section-highlight .highlight-bg {
        height: 250px;
    }

    .section-highlight .person-media-card {
        top: -100px;
        margin-bottom: -60px;
        width: 100%;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }

    .section-highlight .person-content {
        padding-top: 0;
        text-align: center;
    }

    .section-highlight .person-name {
        font-size: 32px;
        margin-bottom: 1rem;
        line-height: 120%;
    }

    .section-highlight .highlight-person {
        margin-bottom: 40px;
    }
}

/* --- Intro Section --- */
.section-intro {
    background-color: #fff;
}

.section-intro p {
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.section-intro p strong {
    font-weight: 700;
    color: var(--color-primary);
}

.section-intro a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

.section-intro .img-placeholder {
    background-color: #ddd;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 700;
}

/* --- Breeding Section --- */
.section-breeding {
    padding: 80px 0;
}

.section-breeding .partners {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 2rem;
}

.section-breeding.partner-logo {
    max-width: 150px;
}

.section-breeding h2 {
    color: var(--color-primary);
}