/* ==================================================
   QT BORAN MASTER STYLESHEET
================================================== */

/* ================= TYPOGRAPHY ================= */
/* ================= TYPOGRAPHY ================= */
@font-face {
    font-family: "Helvetica";
    src: url('/assets/fonts/HELVETICA.TTF') format('truetype');
}

@font-face {
    font-family: "minion-pro";
    src: url('/assets/fonts/MinionPro-Regular.otf') format('opentype');
}

body {
    font-family: "Helvetica", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    margin: 0;
    padding: 0;
}

/* HEADINGS + NAV */

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-nav .nav-link,
.navbar-brand {
    font-family: "minion-pro", serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* DESKTOP HEADINGS */

h1,
h2 {
    font-size: 24px;
}

/* GOLD DIVIDER UNDER H2 */

h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}

h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 2px;
    background: #ad9968;
}

h2.text-center {
    display: block;
}

h2.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* ================= GLOBAL PAGE WIDTH ================= */

.page-container {
    max-width: 80% !important;
    margin: 0 auto;
    width: 100%;
}

.container.page-container {
    max-width: 80% !important;
    padding-left: 15px;
    padding-right: 15px;
}

/* ================= NAVIGATION ================= */

.nav-bar-custom {
    width: 100%;
    height: 80px;
    background: #000;
    border-bottom: 2px solid #ad9968;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    overflow: visible;
}

.navbar-toggler {
    border-color: rgba(173, 153, 104, .6);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .2rem rgba(173, 153, 104, .4);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar {
    overflow: visible !important;
}

.navbar-collapse {
    overflow: visible !important;
}

.navbar-nav {
    overflow: visible !important;
}

/* NAV SPACING */

.navbar-nav {
    gap: 35px;
}

/* NAV LINKS */

.navbar-nav .nav-link {
    color: #fff;
    font-size: 14px;
    position: relative;
    transition: .3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ad9968;
}

/* HOVER UNDERLINE */

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #ad9968;
    transition: .3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* DROPDOWN MENU */

.dropdown-menu {
    background: #000;
    border: 1px solid #ad9968;
    padding: 8px 0;
    z-index: 2000;
    min-width: 220px;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
}

.dropdown-menu.show {
    display: block;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-toggle {
    font-family: "minion-pro", serif;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 8px;
    border: solid #ad9968;
    border-width: 0.15em 0.15em 0 0;
    padding: 0.25em;
    transform: rotate(-45deg);
    flex-shrink: 0;
    content: "";
    white-space: nowrap;
    vertical-align: middle;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(135deg);
}

.dropdown-item {
    color: #fff;
    font-size: 14px;
    padding: 10px 20px;
    transition: .3s ease;
    position: relative;
    background: #000;
    font-family: "minion-pro", serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dropdown-item:hover {
    background: #000;
    color: #ad9968;
}

.dropdown-item::after {
    content: "";
    position: absolute;
    left: 20px;
    bottom: 5px;
    width: 0%;
    height: 2px;
    background: #ad9968;
    transition: .3s ease;
}

.dropdown-item:hover::after {
    width: calc(100% - 40px);
}

/* SEARCH BUTTON */

.search-icon {
    background: #ad9968;
    color: #fff;
    padding: 8px 10px;
    border-radius: 3px;
    display: inline-flex;
}

/* ================= FLOATING LOGO ================= */

.floating-logo {
    position: absolute;
    top: 0;
    left: 100px;
    z-index: 3000;
}

.floating-logo img {
    width: 140px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* ================= HERO ================= */

.hero-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* ================= ABOUT ================= */

.about-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================= AUCTION ================= */

.auction-section {
    background: #efebe6;
}

.auction-card {
    border: none;
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,.08);
}

.price {
    color: #ad9968;
    font-weight: 700;
}

.qr-box img {
    width: 120px;
    height: auto;
}

.btn-brand {
    background: #ad9968;
    color: #fff;
    border: none;
    border-radius: 0;
}

.btn-brand:hover {
    background: #8d7532;
    color: #fff;
}


/* AUCTION CARD LINK */

.animal-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.animal-link:hover {
    color: inherit;
}

.animal-link:hover .auction-card {
    transform: translateY(-4px);
    transition: 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ==========================================
   PEDIGREE SECTION
========================================== */

.pedigree-section {
    background: #efebe6;
    padding: 70px 0;
}

.pedigree-title {
    text-align: center;
    display: block;
    margin-bottom: 60px;
}

.pedigree-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* WRAPPER */

.pedigree-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    margin: 0 auto;
}

/* ROOT ANIMAL */

.root-box {
    width: 220px;
    min-height: 110px;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    font-size: 24px;
    font-family: "minion-pro", serif;
    border: 2px solid #ad9968;
}

/* PEDIGREE TREE */

.pedigree-tree {
    display: flex;
    gap: 120px;
}

.pedigree-level {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    position: relative;
}

/* VERTICAL CONNECTOR */

.pedigree-level::before {
    content: "";
    position: absolute;
    left: -45px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ad9968;
}

/* CARD */

.pedigree-card {
    position: relative;
    display: flex;
    align-items: center;
    width: 520px;
    min-height: 180px;
    border: 1px solid #ad9968;
    background: #fff;
    text-decoration: none;
    color: #000;
    transition: 0.3s ease;
}

.pedigree-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,.15);
}

/* HORIZONTAL CONNECTOR */

.pedigree-card::before {
    content: "";
    position: absolute;
    left: -45px;
    top: 50%;
    width: 45px;
    height: 2px;
    background: #ad9968;
    transform: translateY(-50%);
}

/* PEDIGREE ANIMAL IMAGE */

.pedigree-card img:first-child {
    width: 160px;
    height: 160px;
    min-width: 160px;
    object-fit: cover;
    margin-left: 10px;
    border: 2px solid #ffffff;
}

/* CONTENT */

.pedigree-content {
    flex: 1;
    padding: 15px;
    font-size: 12px;
    line-height: 1.6;
}

.pedigree-content h6 {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 700;
}

/* QR */

.pedigree-qr {
    width: 80px;
    height: 80px;
    margin-right: 15px;
    flex-shrink: 0;
}

/* ==========================================
   PROFILE HEADER
========================================== */

.animal-header {
    margin-bottom: 60px;
}

.animal-main-img {
    width: 100%;
    border: 2px solid #ad9968;
    object-fit: cover;
}

.animal-info {
    padding-left: 40px;
}

.main-qr {
    width: 140px;
    height: auto;
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 1200px) {

    .pedigree-wrapper {
        flex-direction: column;
    }

    .pedigree-tree {
        flex-direction: column;
        gap: 40px;
        width: 100%;
    }

    .pedigree-level {
        width: 100%;
    }

    .pedigree-level::before,
    .pedigree-card::before {
        display: none;
    }

    .pedigree-card {
        width: 100%;
        max-width: 700px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

    .animal-info {
        padding-left: 0;
        padding-top: 25px;
    }

    .pedigree-card {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .pedigree-card img:first-child {
        width: 140px;
        height: 140px;
        margin: 0 auto 15px auto;
    }

    .pedigree-content {
        text-align: center;
    }

    .pedigree-qr {
        margin: 15px auto 0 auto;
    }

    .root-box {
        width: 100%;
        max-width: 300px;
    }
}


/* ================= FOOTER ================= */

.footer {
    background: #000;
    border-top: 2px solid #ad9968;
    color: #fff;
}

.footer-container {
    width: 100%;
    max-width: 100%;
    padding: 40px 60px;
}

/* FOOTER HEADINGS */

.footer-title {
    color: #ad9968;
    font-weight: 700;
    margin-bottom: 15px;
}

/* FOOTER TEXT */

.footer a,
.footer p {
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    line-height: 1.3;
}

.footer a:hover {
    color: #ad9968;
}

.footer strong {
    font-size: 12px;
}

/* GOLD NAMES */

.footer-accent {
    color: #ad9968;
    font-weight: 700;
}

/* FOOTER LOGO */

.footer-logo {
    width: 140px;
    height: auto;
}

/* FOOTER LINE */

.footer-line {
    height: 1px;
    background: #ad9968;
    border: none;
    opacity: .4;
    width: 90%;
    margin: 25px auto;
}

/* COPYRIGHT */

.footer-bottom {
    color: #ad9968;
    font-size: 12px;
    font-weight: 600;
}

/* ==========================================
   HISTORY OF THE BORAN
========================================== */

.boran-history-intro{
    background:#fff;
}

.history-timeline-img{
    width:100%;
    border:2px solid #ad9968;
}

.history-subtitle{
    margin-bottom:25px;
    color:#ad9968;
}

.boran-history-intro p{
    line-height:1.3;
    margin-bottom:18px;
}

/* ACCORDIONS */

.history-accordion-section{
    background:#efebe6;
}

.history-accordion .accordion-item{
    border:1px solid #ad9968;
    margin-bottom:15px;
}

.history-accordion .accordion-button{
    background:#000;
    color:#fff;
    font-family:"minion-pro", serif;
    font-weight:600;
    letter-spacing:1px;
}

.history-accordion .accordion-button:not(.collapsed){
    background:#ad9968;
    color:#fff;
    box-shadow:none;
}

.history-accordion .accordion-button:focus{
    box-shadow:none;
}

.history-accordion .accordion-body{
    background:#fff;
    padding:30px;
    line-height:1.3;
}

.history-accordion .accordion-body p{
    margin-bottom:18px;
}

.history-accordion .accordion-body li{
    margin-bottom:10px;
}

/* RESPONSIVE */

@media (max-width:991px){

    .history-timeline-img{
        margin-bottom:30px;
    }

}


/* ==========================================
   ABOUT PAGE
========================================== */

.about-page {
    background: #fff;
}

.about-page-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border: 2px solid #ad9968;
}

.lead-text {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
}

/* PURPOSE SECTION */

.purpose-section {
    background: #161616;
    padding: 80px 0;
}

.purpose-box {
    border: 2px solid #ad9968;
    padding: 50px;
    color: #fff;
    text-align: center;
}

.purpose-box h2 {
    color: #ad9968;
}

.purpose-intro {
    font-size: 20px;
    margin: 25px 0;
}

/* PILLARS */

.pillars-section {
    background: #efebe6;
}

.pillar-card {
    background: #fff;
    border: 1px solid #ad9968;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    transition: 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.pillar-card h5 {
    color: #ad9968;
    margin-bottom: 15px;
}

/* PROMISE */

.promise-section {
    background: #fff;
}

.promise-subtitle {
    font-weight: 700;
    margin-bottom: 30px;
}

/* CTA */

.about-cta {
    background: #161616;
    padding: 80px 0;
    color: #fff;
}

.about-cta h2 {
    color: #ad9968;
}

.about-cta p {
    margin: 25px 0;
    font-size: 20px;
}

.about-cta .btn-brand {
    padding: 12px 30px;
}

/* RESPONSIVE */

@media (max-width: 991px) {

    .about-page-img {
        height: auto;
    }

    .purpose-box {
        padding: 30px;
    }

    .lead-text {
        font-size: 18px;
    }

    .purpose-intro {
        font-size: 18px;
    }
}

/* ==========================================
   BULLS SECTION
========================================== */

.bulls-section {
    background: #f5f5f5;
    padding: 80px 0;
}

/* Uses the site's standard page width */
.bulls-content {
    width: 100%;
}

.lead-text {
    margin-top: 20px;
    font-size: 18px;
    color: #000;
    margin-bottom: 25px;
}

.bull-feature {
    background: #ffffff;
    padding: 30px;
    height: 100%;
    border-left: 4px solid #ad9968;
    transition: 0.3s ease;
}

.bull-feature:hover {
    transform: translateY(-3px);
}

.bull-feature h4 {
    font-family: "minion-pro", serif;
    color: #000;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.bull-feature p {
    margin-bottom: 0;
    line-height: 1.3;
}

.bull-cta {
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid #d9d9d9;
}

.cta-text {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 0;
}

.bull-cta .btn-brand {
    margin-top: 20px;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 991px) {

    .bulls-section {
        padding: 60px 0;
    }

    .lead-text,
    .cta-text {
        font-size: 15px;
    }

    .bull-feature {
        padding: 25px;
    }
}



/* ================= HISTORY PAGE ================= */

.history-section {
    background: #fff;
}

.history-text p {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 18px;
}

/* ================= LOOKING AHEAD ================= */

.lookahead-section {
    background: #161616;
    padding: 60px 0;
}

.lookahead-wrapper {
    max-width: 80%;
    margin: 0 auto;
}

.lookahead-inner {
    border: 2px solid #ad9968;
    background: #000;
    padding: 30px;
}

.lookahead-left {
    padding-right: 30px;
}

.gold-heading {
    color: #ad9968;
}

.white-text {
    color: #fff;
    line-height: 1.3;
}

.lookahead-list {
    color: #fff;
    padding-left: 20px;
}

.lookahead-list li {
    margin-bottom: 10px;
}

.lookahead-img {
    width: 100%;
    border: 2px solid #fff;
    display: block;
}

/* ================= BREED HISTORY ================= */

.breed-history {
    padding: 60px 0;
}

.breed-history h2 {
    display: block;
    text-align: center;
}

.breed-text {
    width: 100%;
    margin: 0 auto;
}

.breed-text p {
    line-height: 1.3;
    margin-bottom: 18px;
}

.italic-text {
    font-style: italic;
}

/* ================= WHY BORAN ================= */

.feature-card {
    padding: 5px;
}

.feature-icon {
    margin-bottom: 15px;
}

.feature-icon img {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto;
}

.feature-card h5 {
    color: #000;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 14px;
}

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.feature-card-border {
    border-left: 2px solid #c7b17a;
    padding-left: 25px;
}

.feature-card:nth-child(3) {
    border-left: none;
    padding-left: 5px;
}

/* ================= 10 REASONS SECTION ================= */

.reasons-section {
    background: #efebe6;
}

.reasons-section h2 {
    display: block;
    text-align: left;
}

.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reason-item {
    display: flex;
    gap: 15px;
}

.reason-number {
    color: #ad9968;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    min-width: 25px;
}

.reason-item p {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.6;
}

.reason-item p:last-child {
    margin-bottom: 0;
}

.reason-item strong {
    font-weight: 700;
}

.reasons-image img {
    width: 100%;
    max-width: 763px;
    height: auto;
    display: block;
}

/* ================= STANDARD OF EXCELLENCE SECTION ================= */

.standard-excellence-section {
    background: #fff;
}

.standard-excellence-section h2 {
    display: block;
    text-align: left;
}

.excellence-text {
    font-size: 14px;
    line-height: 1.3;
}

.excellence-text p {
    margin-bottom: 15px;
    color: #333;
}

.excellence-text p strong {
    color: #000;
    font-weight: 700;
}

/* ================= CONTACT US SECTION ================= */

.contact-section {
    background: #fff;
}

.contact-section h2 {
    display: block;
    text-align: center;
}

.contact-section h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.contact-card {
    padding: 20px;
}

.contact-icon {
    margin-bottom: 15px;
}

.contact-icon img {
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto;
}

.contact-card h5 {
    color: #000;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-card p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-card p:last-child {
    margin-bottom: 0;
}

.contact-links p {
    margin-bottom: 12px;
}

.contact-links a {
    color: #ad9968;
    text-decoration: none;
    font-weight: 600;
    transition: .3s ease;
}

.contact-links a:hover {
    color: #8d7532;
    text-decoration: underline;
}

.contact-card-border {
    border-left: 2px solid #c7b17a;
    padding-left: 25px;
}

.contact-card:nth-child(1) {
    border-left: none;
    padding-left: 20px;
}

/* ================= ENQUIRY SECTION ================= */

.enquiry-section {
    background: #efebe6;
}

.enquiry-section h2 {
    display: block;
    text-align: left;
    margin-bottom: 40px;
}

.enquiry-form {
    background: #fff;
    padding: 20px;
    margin-top: 50px;
}

.enquiry-input {
    border: 1px solid #ad9968 !important;
    background: #fff !important;
    color: #000 !important;
    border-radius: 0;
    font-size: 14px;
    padding: 10px 12px;
}

.enquiry-input::placeholder {
    color: #999;
}

.enquiry-input:focus {
    border-color: #ad9968 !important;
    box-shadow: 0 0 0 0.2rem rgba(173, 153, 104, 0.25) !important;
}

.btn-enquiry {
    background: #ad9968;
    color: #fff;
    border: none;
    padding: 10px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    border-radius: 0;
    transition: .3s ease;
}

.btn-enquiry:hover {
    background: #8d7532;
    color: #fff;
}

.map-container {
    width: 100%;
    height: 400px;
    border: 1px solid #ddd;
    margin-top: 50px;
}

.map-container iframe {
    border-radius: 0;
}

/* ================= ORIGIN PAGE ================= */

.origin-section,
.africa-section,
.genetics-section {
    padding: 70px 0;
}

/* TABLE */

.origin-table {
    border: 2px solid #ad9968;
    margin-top: 30px;
}

.origin-table th,
.origin-table td {
    border: 1px solid #ad9968;
    padding: 14px;
}

.origin-table th {
    font-weight: 700;
}

/* AFRICA SECTION */

.africa-section {
    background: #efebe6;
}

.timeline-list {
    border-left: 2px solid #d9c89c;
    margin-left: 15px;
}

.timeline-item {
    position: relative;
    padding-left: 25px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: "";
    width: 10px;
    height: 10px;
    background: #ad9968;
    position: absolute;
    left: -6px;
    top: 8px;
}

.timeline-item h5 {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: none;
}

.timeline-item li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* GENETIC BAR */

.genetic-bar-wrapper {
    margin: 40px 0;
}

.genetic-bar {
    display: flex;
    width: 100%;
    height: 45px;
}

.genetic-black {
    width: 64%;
    background: #000;
}

.genetic-gold {
    width: 24%;
    background: #ad9968;
}

.genetic-light {
    width: 12%;
    background: #c7b17a;
}

.genetic-labels {
    display: flex;
    text-align: center;
    margin-top: 12px;
    width: 100%;
}

.genetic-labels div {
    padding: 0 5px;
    text-align: center;
}

.genetic-labels div:nth-child(1) {
    width: 64%;
}

.genetic-labels div:nth-child(2) {
    width: 24%;
}

.genetic-labels div:nth-child(3) {
    width: 12%;
}

.genetic-content p {
    line-height: 1.3;
    margin-bottom: 20px;
}


/* ==========================================
   GALLERY PAGE
========================================== */

.gallery-section {
    background: #fff;
}

/* TITLE */

.gallery-title {
    display: block;
}

.gallery-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* SEARCH */

.gallery-search .input-group {
    max-width: 420px;
}

.gallery-search .input-group-text {
    border-radius: 0;
    background: #f5f5f5;
}

.gallery-search input {
    border-radius: 0;
}

/* FILTERS */

.gallery-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.gallery-filter {
    border: none;
    background: transparent;
    font-family: "minion-pro", serif;
    font-weight: 600;
    padding: 8px 14px;
    transition: 0.3s;
}

.gallery-filter.active {
    background: #ad9968;
    color: #fff;
}

.gallery-filter:hover {
    background: #ad9968;
    color: #fff;
}

/* GALLERY CARD */

.gallery-card {
    position: relative;
    overflow: hidden;
}

.gallery-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* OVERLAY */

.gallery-overlay {
    background: #000;
    color: #fff;
    padding: 10px;
}

.gallery-overlay h6 {
    color: #fff;
    font-size: 12px;
    margin-bottom: 8px;
}

/* BUTTON */

.btn-gallery {
    border: 1px solid #ad9968;
    color: #ad9968;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 0;
    font-weight: bold;
}

.btn-gallery:hover {
    background: #ad9968;
    color: #fff;
}

/* RESPONSIVE */

@media (max-width: 991px) {

    .gallery-tabs {
        gap: 8px;
    }

    .gallery-filter {
        font-size: 13px;
    }

}

@media (max-width: 576px) {

    .gallery-search .input-group {
        max-width: 100%;
    }

    .gallery-card img {
        height: 220px;
    }

}



/* ==========================================
   ANIMAL PROFILE PAGE
========================================== */

.animal-profile {
    background: #fff;
}

.profile-topbar {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-bottom: 30px;
    align-items: center;
}

.profile-search {
    border: 1px solid #333;
    width: 350px;
    height: 42px;
    display: flex;
    align-items: center;
    padding: 0 12px;
}

.profile-search input {
    border: none;
    width: 100%;
    outline: none;
    margin-left: 10px;
}

.btn-back {
    background: #ad9968;
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    font-size: 12px;
    font-weight: 700;
}

.animal-header {
    border: 2px solid #ad9968;
}

.animal-main-img {
    width: 75%;
    height: 75%;
    object-fit: cover;
}

.animal-info {
    padding: 30px;
}

.main-qr {
    width: 120px;
}



/* ==========================================
   DESCRIPTION
========================================== */

.description-section {
    background: #fff;
}

.description-section p {
    margin-top: 20px;
}

/* ==========================================
   RESPONSIVE
========================================== */



@media (max-width: 768px) {

    .profile-topbar {
        flex-direction: column;
        align-items: stretch;
    }

    .profile-search {
        width: 100%;
    }

    .main-qr {
        width: 90px;
    }

    .root-box {
        width: 100%;
    }
}




/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {

    body {
        font-size: 15px;
    }

    h1,
    h2 {
        font-size: 15px;
    }

    .page-container {
        max-width: 95%;
    }

    .footer-container {
        padding: 30px 20px;
    }

    .navbar-nav {
        gap: 0;
    }

    .floating-logo {
        left: 15px;
        top: 10px;
    }

    .floating-logo img {
        width: 100px;
        padding: 6px;
    }

    .lookahead-wrapper {
        max-width: 95%;
    }

    .lookahead-left {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .breed-text {
        width: 100%;
    }

    .genetic-labels {
        flex-direction: column;
        gap: 15px;
    }

    .genetic-bar {
        height: 35px;
    }
}

@media (max-width: 576px) {

    .page-container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .origin-table th,
    .origin-table td {
        padding: 10px;
        font-size: 14px;
    }

    .genetic-content p,
    .history-text p,
    .breed-text p {
        font-size: 15px;
    }

    /* Navigation */
    .nav-bar-custom {
        height: auto;
        padding: 10px 0;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 0;
        align-items: flex-start !important;
    }

    .navbar-nav .nav-link {
        font-size: 12px;
        padding: 8px 0;
    }

    .dropdown-menu {
        position: static;
        display: none;
        background: #1a1a1a;
        border: none;
        padding: 0;
    }

    .nav-item.dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown-item {
        font-size: 12px;
        padding: 8px 15px;
    }

    .search-icon {
        padding: 6px 8px;
        font-size: 14px;
    }

    /* Logo */
    .floating-logo {
        left: 10px;
        top: 5px;
    }

    .floating-logo img {
        width: 80px;
        padding: 4px;
    }

    /* Hero Banner */
    .hero-img {
        height: 200px;
    }

    /* Sections & Padding */
    .why-boran-section,
    .reasons-section,
    .standard-excellence-section,
    .auction-section,
    .history-section,
    .lookahead-section,
    .breed-history,
    .origin-section,
    .africa-section,
    .genetics-section {
        padding: 30px 0 !important;
    }

    /* Headings */
    h1,
    h2 {
        font-size: 17px;
        margin-bottom: 15px;
    }

    h3 {
        font-size: 14px;
    }

    h5 {
        font-size: 12px;
    }

    /* Feature Cards */
    .feature-card {
        padding: 10px;
    }

    .feature-icon img {
        width: 50px;
        height: 50px;
    }

    .feature-card h5 {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .feature-card p {
        font-size: 12px;
    }

    /* Contact Cards */
    .contact-card {
        padding: 15px;
    }

    .contact-icon img {
        width: 80px;
        height: 80px;
    }

    .contact-card p {
        font-size: 12px;
    }

    .contact-card-border {
        border-left: 2px solid #c7b17a;
        padding-left: 20px;
    }

    /* Reasons Section */
    .reason-item {
        gap: 10px;
    }

    .reason-number {
        font-size: 16px;
        min-width: 20px;
    }

    .reason-item p {
        font-size: 12px;
    }

    .reasons-image img {
        max-width: 100%;
    }

    /* Why Boran Mobile - 2 Columns */
    .why-boran-section .row .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Contact Mobile - 2 Columns */
    .contact-section .row .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Enquiry Section - Stack on Mobile */
    .enquiry-section .row .col-lg-6 {
        margin-bottom: 30px;
    }

    .enquiry-form {
        padding: 15px;
    }

    .enquiry-input {
        font-size: 12px !important;
        padding: 8px 10px !important;
    }

    .map-container {
        height: 300px;
    }

    /* Tables */
    .origin-table {
        font-size: 12px;
    }

    .origin-table th,
    .origin-table td {
        padding: 8px;
        font-size: 12px;
    }

    /* Footer */
    .footer-container {
        padding: 20px 15px;
    }

    .footer-title {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .footer a,
    .footer p {
        font-size: 11px;
    }

    .footer-logo {
        width: 100px;
    }

    /* Looking Ahead */
    .lookahead-inner {
        padding: 15px;
    }

    .lookahead-left {
        padding-right: 0;
        margin-bottom: 15px;
    }

    .gold-heading {
        font-size: 16px;
    }

    .white-text {
        font-size: 14px;
    }

    .lookahead-list li {
        font-size: 13px;
        margin-bottom: 8px;
    }

    /* Genetic Bar */
    .genetic-bar {
        height: 25px;
    }

    .genetic-labels div {
        font-size: 12px;
    }

    /* Text */
    .history-text p,
    .breed-text p,
    .excellence-text p {
        font-size: 14px;
    }

    /* Auction */
    .auction-card {
        box-shadow: 0 3px 12px rgba(0,0,0,.06);
    }

    .qr-box img {
        width: 100px;
    }

    .btn-brand {
        font-size: 13px;
        padding: 8px 12px;
    }

    /* Timeline */
    .timeline-list {
        margin-left: 10px;
    }

    .timeline-item {
        padding-left: 15px;
        margin-bottom: 25px;
    }

    .timeline-item::before {
        width: 8px;
        height: 8px;
        left: -4px;
        top: 6px;
    }

    .timeline-item h5 {
        font-size: 14px;
    }

    .timeline-item li {
        font-size: 13px;
    }
}

/* ================= MOBILE TABLET (768px - 991px) ================= */
@media (min-width: 768px) and (max-width: 991px) {

    h1,
    h2 {
        font-size: 15px;
    }

    .feature-card p,
    .reason-item p {
        font-size: 12px;
    }

    .nav-bar-custom {
        height: 70px;
    }

    .navbar-nav {
        gap: 20px;
    }

    /* Why Boran Tablet - 2 Columns */
    .why-boran-section .row .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    /* Contact Tablet - Full Width Columns */
    .contact-section .row .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .contact-card {
        margin-bottom: 20px;
    }

    /* Enquiry Tablet */
    .enquiry-section .row .col-lg-6 {
        margin-bottom: 20px;
    }

    .map-container {
        height: 350px;
    }
}

/* ================= SMALL MOBILE (under 480px) ================= */
@media (max-width: 479px) {

    body {
        font-size: 14px;
    }

    .page-container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    h1,
    h2 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    h5 {
        font-size: 11px;
    }

    /* Navigation */
    .nav-bar-custom {
        height: auto;
        padding: 8px 0;
        border-bottom: 1px solid #ad9968;
    }

    .container-fluid {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .navbar-nav {
        gap: 0;
    }

    .navbar-nav .nav-link {
        font-size: 11px;
        padding: 6px 0;
    }

    .dropdown-item {
        font-size: 11px;
        padding: 6px 12px;
    }

    /* Logo */
    .floating-logo {
        left: 8px;
        top: 3px;
    }

    .floating-logo img {
        width: 70px;
        padding: 3px;
        box-shadow: 0 3px 10px rgba(0,0,0,.3);
    }

    /* Hero */
    .hero-img {
        height: 150px;
    }

    /* Cards & Sections */
    .feature-card {
        padding: 8px;
    }

    .feature-icon img {
        width: 40px;
        height: 40px;
    }

    .feature-card h5 {
        font-size: 11px;
    }

    .feature-card p {
        font-size: 11px;
        line-height: 1.5;
    }

    .feature-card-border {
        border-left: 2px solid #c7b17a;
        padding-left: 15px;
    }

    /* Contact Cards Small Mobile */
    .contact-card {
        padding: 12px;
    }

    .contact-icon img {
        width: 70px;
        height: 70px;
    }

    .contact-card p {
        font-size: 11px;
    }

    .contact-links p {
        margin-bottom: 8px;
    }

    .contact-card-border {
        border-left: 2px solid #c7b17a;
        padding-left: 15px;
    }

    .contact-card:nth-child(1) {
        border-left: none;
        padding-left: 12px;
    }

    /* Reasons */
    .reason-item {
        gap: 8px;
        margin-bottom: 12px;
    }

    .reason-number {
        font-size: 14px;
        min-width: 18px;
    }

    .reason-item p {
        font-size: 11px;
        margin: 0;
    }

    .reasons-image img {
        max-width: 100%;
        margin-top: 15px;
    }

    /* Excellence Text */
    .excellence-text {
        font-size: 12px;
    }

    .excellence-text p {
        margin-bottom: 10px;
    }

    /* Footer */
    .footer {
        padding: 0;
    }

    .footer-container {
        padding: 15px 10px;
        width: 100%;
    }

    .footer-title {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .footer a,
    .footer p,
    .footer strong {
        font-size: 10px;
    }

    .footer-logo {
        width: 80px;
    }

    .footer-line {
        width: 95%;
        margin: 15px auto;
    }

    /* Auction */
    .auction-card {
        box-shadow: 0 2px 8px rgba(0,0,0,.05);
    }

    .qr-box img {
        width: 80px;
    }

    .btn-brand {
        font-size: 11px;
        padding: 6px 10px;
    }

    /* Tables */
    .origin-table {
        font-size: 10px;
    }

    .origin-table th,
    .origin-table td {
        padding: 6px;
        font-size: 10px;
    }

    /* Looking Ahead */
    .lookahead-section {
        padding: 20px 0 !important;
    }

    .lookahead-inner {
        padding: 12px;
        border: 1px solid #ad9968;
    }

    .gold-heading {
        font-size: 14px;
    }

    .white-text {
        font-size: 12px;
    }

    .lookahead-list {
        padding-left: 15px;
    }

    .lookahead-list li {
        font-size: 11px;
        margin-bottom: 6px;
    }

    /* Genetic Bar */
    .genetic-bar {
        height: 20px;
    }

    .genetic-labels {
        gap: 5px;
    }

    .genetic-labels div {
        font-size: 10px;
    }

    /* History & Text */
    .history-text p,
    .breed-text p {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    /* Timeline */
    .timeline-list {
        border-left: 1px solid #d9c89c;
        margin-left: 8px;
    }

    .timeline-item {
        padding-left: 12px;
        margin-bottom: 15px;
    }

    .timeline-item::before {
        width: 6px;
        height: 6px;
        left: -3px;
        top: 5px;
    }

    .timeline-item h5 {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .timeline-item li {
        font-size: 11px;
        line-height: 1.5;
        margin-bottom: 5px;
    }
}
/* ==========================================
   BACK TO TOP BUTTON
========================================== */

#backToTop {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 50px;
    height: 50px;
    background: #ad9968;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);

    transition: all 0.3s ease;
}

#backToTop:hover {
    background: #8f7d54;
    color: #ffffff;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile */

@media (max-width: 768px) {

    #backToTop {
        width: 45px;
        height: 45px;
        right: 15px;
        bottom: 15px;
        font-size: 18px;
    }

}