
/* ================= DESIGN TOKENS ================= */
:root {
    --gold: #d6a94a;
    --gold-soft: #e7c77a;
    --navy: #0b1422;
    --navy-soft: #121f36;
    --text: #1c1c1c;
    --muted: #6b7280;
    --charcoal: 220 20% 12%;
    --charcoal-light: 220 15% 22%;
}

.btn-outline-warning {
    --bs-btn-color: #d6a94a;
    --bs-btn-border-color: #d6a94a;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #d6a94a;
    --bs-btn-hover-border-color: #d6a94a;
    --bs-btn-focus-shadow-rgb: 255, 193, 7;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #d6a94a;
    --bs-btn-active-border-color: #d6a94a;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #d6a94a;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #d6a94a;
    --bs-gradient: none;
}

/* ================= GLOBAL ================= */
body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: "Playfair Display", serif;
}

.title-logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px !important;
    line-height: 32px !important;
    font-weight: 700 !important;
}

/* ================= NAVBAR ================= */
.navbar {
    padding: 18px 0;
    background: #fff;
}

.navbar-brand {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 20px;
}

.nav-link {
    font-size: 14px;
    color: #444;
    margin: 0 12px;
}

.nav-link.active {
    color: var(--gold);
}

.navbar-light .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%280, 0, 0, 0.7%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ================= NAV FIX (WORDPRESS MATCH) ================= */

.navbar-nav {
    gap: 18px;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-link {
    font-size: 14px;
    color: #444;
    margin: 0;
    padding: 8px 0;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: var(--gold);
}

.navbar-nav .current-menu-item > .nav-link {
    color: var(--gold);
}

/* Fix wrapping issue */
.navbar-collapse {
    flex-grow: 1;
}

/* Ensure proper spacing between logo / menu / button */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Desktop alignment */
@media (min-width: 992px) {
    .navbar-nav {
        flex-direction: row;
    }
}

/* ================= MOBILE NAV ================= */

@media (max-width: 991px) {

    .navbar-collapse {
        background: #fff;
        padding: 20px;
        margin-top: 10px;
        border-radius: 8px;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 10px;
    }

    .navbar-nav .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }

    .btn-gold {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }
}

.btn-gold {
    background: var(--gold);
    color: #000;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
}

.btn-gold:hover {
    background: #c89a3e;
}

.content p {
    margin-bottom: 18px;
}

/* ================= HERO (PIXEL MATCH FIX) ================= */

.hero{
    background: linear-gradient(rgba(10,15,25,0.4), rgba(10,15,25,0.6)), url('../images/background.jpg') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 60px 0;
}

/* Eyebrow */
.hero small{
    color:#d6a94a;
    font-size:12px;
    letter-spacing:2px;
    font-weight:500;
}

/* HEADLINE (KEY FIX) */
.hero h1{
    font-family:'Playfair Display', serif;
    font-size:4rem;
    line-height:1.08;
    font-weight:600;

    /* GOLD GRADIENT TEXT */
    background: linear-gradient(180deg, #f1d38a 0%, #d6a94a 60%, #b88a2f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Description */
.hero p{
    color:#c9ced6;
    font-size:16px;
    max-width:620px;
    margin-top:25px;
}

.hero .book {
    max-height: 400px;
}

/* CTA refinement */
.btn-outline-gold{
    border:1px solid rgba(214,169,74,0.6);
    color:#fff;
    padding:10px 20px;
}

.btn-outline-gold:hover{
    background:#d6a94a;
    color:#000;
}

/* ================= STATS (MATCHED TO DESIGN) ================= */

.stats{
    background:#ffffff;
    padding:30px 0;
}

.stat-item{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;

    font-size:16px;
    color:#5f6368;
}

/* ICON STYLE (IMPORTANT FIX) */
.stat-item svg{
    stroke:#d6a94a;
    width:22px;
    height:22px;
}

/* tighter spacing */
.stats .row{
    row-gap:10px;
}

/* ================= SECTION: CARDS ================= */

.cards{
    padding:90px 0 80px;
    background:#e7c77a;
}

.cards h2{
    font-size:34px;
    font-weight:600;
    margin-bottom:60px;
    color:#2b2b2b;
}

/* GRID FIX */
.cards .row{
    display:flex;
    flex-wrap:wrap;
}
/* ================= MODERN CARD ================= */

.card{
    position: relative;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:space-between;

    padding:40px;
    border-radius:14px;

    background:rgba(255,255,255,0.85);
    border:1px solid rgba(0,0,0,0.06);

    backdrop-filter: blur(6px);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.06),
        0 2px 6px rgba(0,0,0,0.04);

    transition: all 0.35s ease;

    overflow:hidden;
}

/* subtle gradient border glow */
.card::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:14px;
    padding:1px;
    background:linear-gradient(120deg, transparent, rgba(212,175,55,0.4), transparent);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity:0;
    transition: opacity 0.35s ease;
}

/* hover lift + depth */
.card:hover{
    transform: translateY(-8px) scale(1.01);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.10),
        0 8px 20px rgba(0,0,0,0.06);
}

/* activate border glow */
.card:hover::before{
    opacity:1;
}

/* optional subtle highlight sweep */
.card::after{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.6s ease;
}

.card:hover::after{
    left:100%;
}

/* TOP CONTENT */
.card-content{
    flex-grow:1;
}

/* LABEL */
.card h6{
    font-size:14px;
    letter-spacing:1.2px;
    color:#d6a94a;
    margin-bottom:12px;
}

/* TITLE */
.card h4{
    font-size:20px;
    font-weight:600;
    margin-bottom:12px;
}

/* TEXT */
.card p{
    font-size:16px;
    color:#6b7280;
    line-height:1.6;
}

/* CTA ALWAYS BOTTOM */
.card .btn{
    margin-top:20px;
    align-self:flex-start;
}

.card::before,
.card::after {
    pointer-events: none;
}
.card-content {
    position: relative;
    z-index: 2;
}

.card .btn {
    position: relative;
    z-index: 2;
}

/* ================= DARK SECTION (PIXEL PERFECT) ================= */

.dark-section{
    background: linear-gradient(180deg, hsl(var(--charcoal)), hsl(var(--charcoal-light)));
    padding:120px 0 110px;
    text-align:center;
    color:#fff;
}

/* Heading */
.dark-section h2{
    font-family:'Playfair Display', serif;
    font-size:34px;
    font-weight:600;
    color:#e7c77a; /* softer gold */
    margin-bottom:50px;
}

/* Boxes row */
.dark-section .row{
    gap:20px;
}

/* Individual box */
.dark-box{
    display:flex;
    align-items:center;
    justify-content:center;

    min-height:90px;
    padding:16px 32px;

    border-radius:6px;
    border:1px solid rgba(255,255,255,0.12);

    background:rgba(255,255,255,0.02);

    font-size:16px;
    color:#cbd5e1;
}

/* Quote (IMPORTANT) */
.quote{
    margin-top:70px;

    font-family:'Playfair Display', serif;
    font-style:italic;
    font-size:1.25rem;

    color:#e0b04b;

    letter-spacing:0.3px;
}

.dark-box {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 18px 20px;
    text-align: center;
    border-radius: 8px;
    color: #cfd6e1;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

/* subtle glow line animation */
.dark-box::before {
    content: "";
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(212,175,55,0.2), transparent);
    transition: all 0.5s ease;
}

/* hover effect */
.dark-box:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(212,175,55,0.5);
    color: #ffffff;
    background: rgba(255,255,255,0.06);
}

/* animated sweep */
.dark-box:hover::before {
    left: 100%;
}

/* optional: slight stagger feel */
.col-md-3:nth-child(1) .dark-box:hover { transform: translate(-4px, -6px) scale(1.02); }
.col-md-3:nth-child(2) .dark-box:hover { transform: translateY(-6px) scale(1.03); }
.col-md-3:nth-child(3) .dark-box:hover { transform: translate(4px, -6px) scale(1.02); }

.dark-section h2 {
    margin-bottom: 30px;
}

.dark-section .quote {
    margin-top: 40px;
    font-style: italic;
    color: #d4af37;
    text-align: center;
    font-size: 18px;
}

.subtle-text {
    text-align: center;
    color: #9aa4b2;
    margin-bottom: 25px;
}

/* ================= FOOTER (PIXEL PERFECT) ================= */

footer{
    background:#0b1422;
    padding:90px 0 30px;
    border-top:1px solid rgba(255,255,255,0.05);
}

/* Title */
footer h5{
    font-family:'Playfair Display', serif;
    font-size:18px;
    font-weight:600;
    color:#e0b04b; /* gold heading */
    margin-bottom:18px;
}

/* Description */
footer p{
    font-size:14px;
    color:rgba(224, 197, 133, 0.7);
    line-height:1.7;
    max-width:340px;
}

/* Column headings */
footer .col-md-4 h5:not(:first-child){
    color:#e5e7eb;
}

/* Links */
footer a{
    display:block;
    font-size:14px;
    color:rgba(224, 197, 133, 0.7);
    margin-bottom:6px;
    transition:0.2s;
    text-decoration: none;
}

footer a:hover{
    color:#fff;
}

/* Divider */
footer hr{
    margin:50px 0 25px;
    border-color:rgba(255,255,255,0.06);
}

/* Copyright */
footer .small{
    font-size:13px;
    color:rgba(224, 197, 133, 0.7);
}

/* ================= ABOUT IMAGE COMPOSITION ================= */

.about-images {
    position: relative;
    min-height: 500px;
}

/* MAIN IMAGE */
.about-images .main-img img {
    width: 85%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* FLOATING IMAGE */
.about-images .floating-img {
    position: absolute;
    top: -40px;
    right: 0;
    width: 55%;
}

.about-images .floating-img img {
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border: 6px solid #fff;
}

/* MOBILE FIX */
@media (max-width: 991px) {

    .about-images {
        min-height: auto;
        margin-top: 40px;
    }

    .about-images .main-img img,
    .about-images .floating-img {
        position: relative;
        width: 100%;
        top: auto;
        right: auto;
        margin-bottom: 20px;
    }

    .about-images .floating-img img {
        border: none;
    }
}

/* ================= BOOK RIGHT CONTENT ================= */

.book-points {
    margin-top: 20px;
}

.book-points .point {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
}

.book-points .point span {
    color: #d6a94a;
    font-weight: bold;
    font-size: 16px;
    margin-top: 2px;
}

.book-points .point p {
    margin: 0;
    font-size: 16px;
    color: #444;
}

/* ================= SIDEBAR MODERN DESIGN ================= */

.sidebar {
    padding-left: 30px;
}

/* CARD STYLE */
.sidebar-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

/* HEADINGS */
.sidebar-card h5 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 15px;
    color: #1c1c1c;
}

/* SEARCH FORM */
.sidebar-card input[type="search"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.sidebar-card input[type="submit"] {
    background: #d6a94a;
    border: none;
    padding: 8px 14px;
    color: #000;
    border-radius: 6px;
    cursor: pointer;
}

.sidebar-card input[type="submit"]:hover {
    background: #c89a3e;
}

/* LISTS */
.sidebar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-card ul li {
    margin-bottom: 10px;
}

/* LINKS */
.sidebar-card ul li a {
    text-decoration: none;
    color: #444;
    font-size: 15px;
    transition: 0.2s;
}

.sidebar-card ul li a:hover {
    color: #d6a94a;
    padding-left: 5px;
}

/* CATEGORY LIST FIX */
.sidebar-card .cat-item {
    margin-bottom: 8px;
}

/* MOBILE */
@media (max-width: 991px) {
    .sidebar {
        padding-left: 0;
        margin-top: 40px;
    }
}

.sidebar-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    margin-bottom: 25px;
}

.recent-post-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.recent-title {
    font-weight: 600;
    color: #111;
    text-decoration: none;
    display: block;
    line-height: 1.4;
}

.recent-title:hover {
    color: #d6a94a;
}

.recent-post:not(:last-child) {
    border-bottom: 1px solid #f1f1f1;
}

.recent-thumb img {
    filter: grayscale(100%);
    transition: 0.3s;
}

.recent-post:hover .recent-thumb img {
    filter: grayscale(0%);
}

/* SEARCH FORM */
.modern-search-form {
    margin-top: 10px;
}

/* WRAPPER */
.search-group {
    position: relative;
}

/* INPUT */
.search-input {
    width: 100%;
    padding: 12px 48px 12px 16px; /* space for icon */
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    outline: none;
    font-size: 14px;
    background: #fff;
    transition: all 0.25s ease;
}

/* FOCUS STATE */
.search-input:focus {
    border-color: #d6a94a;
    box-shadow: 0 0 0 3px rgba(214,169,74,0.15);
}

.search-input[type="search"]::-webkit-search-decoration,
.search-input[type="search"]::-webkit-search-cancel-button,
.search-input[type="search"]::-webkit-search-results-button,
.search-input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

/* BUTTON (ICON INSIDE INPUT) */
.search-btn {
    position: absolute;
    top: 30%;
    right: 10px;
    transform: translateY(-30%);

    border: none;
    background: transparent;
    color: #d6a94a;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    padding: 6px;
}

/* ICON */
.search-btn i {
    font-size: 16px;
    transition: transform 0.2s ease;
}

/* HOVER EFFECT */
.search-btn:hover i {
    transform: scale(1.15);
}

/* OPTIONAL: SUBTLE LIFT ON FOCUS */
.search-group:focus-within {
    transform: translateY(-1px);
}

/* ================= PAGE SYSTEM ================= */

/* HERO */
.page-hero {
    padding: 60px 0 30px;
    background: #ffffff;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 600;
    color: #1c1c1c;
}

/* CONTENT AREA */
.page-content {
    padding: 40px 0 80px;
    background: #ffffff;
}

/* MAIN CONTENT */
.page-main {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
}

/* FEATURED IMAGE */
.featured-image img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 25px;
}

/* TEXT SPACING */
.page-main p {
    margin-bottom: 18px;
}

/* HEADINGS INSIDE CONTENT */
.page-main h2,
.page-main h3 {
    font-family: 'Playfair Display', serif;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* MOBILE */
@media (max-width: 991px) {
    .page-hero {
        padding: 40px 0 20px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .page-content {
        padding: 30px 0 60px;
    }
}



/* ================= ABOUT TIMELINE ================= */
    /* SECTION */
    .milestones-section {
        padding: 80px 0;
        background: #f9fafb;
    }

    .milestones-title {
        font-family: 'Playfair Display', serif;
        font-size: 42px;
        margin-bottom: 70px;
    }

    /* TIMELINE */
    .timeline {
        position: relative;
        padding-left: 26px; /* was 30px */
        border-left: 2px solid #d6a94a;
    }

    .timeline-item {
        position: relative;
        margin-bottom: 50px;
        opacity: 0;
        transform: translateY(30px);
        animation: fadeUp 0.6s ease forwards;
    }

    .timeline-item:nth-child(1){ animation-delay: 0.1s; }
    .timeline-item:nth-child(2){ animation-delay: 0.2s; }
    .timeline-item:nth-child(3){ animation-delay: 0.3s; }
    .timeline-item:nth-child(4){ animation-delay: 0.4s; }
    .timeline-item:nth-child(5){ animation-delay: 0.5s; }

    .timeline-dot {
        position: absolute;
        left: 0;
        transform: translateX(-50%);

        width: 16px;
        height: 16px;

        background: #d6a94a;
        border-radius: 50%;

        border: 2px solid #fff;
        box-shadow: 0 0 0 2px #d6a94a;

        transform: translateX(-50%);
        transition: 0.3s;
    }
    .timeline-dot::after {
        content: "";
        position: absolute;
        width: 6px;
        height: 6px;
        background: #fff;
        border-radius: 50%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .timeline-content {
        background: #fff;
        padding: 18px 22px;
        border-radius: 10px;
        transition: 0.3s;
    }

    .timeline-content h5 {
        margin-bottom: 6px;
        font-weight: 600;
    }

    .timeline-content p {
        margin: 0;
        color: #6c757d;
    }

    /* HOVER EFFECT */
    .timeline-item:hover .timeline-dot {
        transform: scale(1.2);
    }

    .timeline-item:hover .timeline-content {
        transform: translateX(6px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

    /* LOGO CAROUSEL */
    .logo-carousel {
        height: 520px;
        margin-top: 20px;
        overflow: hidden;
        position: relative;
    }

    .logo-track {
        display: flex;
        flex-direction: column;
        animation: scrollUp 55s linear infinite;
    }

    .logo-carousel img {
        width: 180px;
        margin: 25px auto;
        opacity: 0.7;
        transition: 0.3s;
    }

    .logo-carousel img:hover {
        opacity: 1;
        transform: scale(1.05);
    }

    /* Pause on hover */
    .logo-carousel:hover .logo-track {
        animation-play-state: paused;
    }

    .logo-carousel::before,
    .logo-carousel::after {
        content: "";
        position: absolute;
        top: 0;
        width: 40px;
        height: 100%;
        z-index: 2;
    }

    .logo-carousel::before {
        left: 0;
        background: linear-gradient(to right, #f9fafb, transparent);
    }

    .logo-carousel::after {
        right: 0;
        background: linear-gradient(to left, #f9fafb, transparent);
    }

    /* ANIMATIONS */
    @keyframes scrollUp {
        0% { transform: translateY(0); }
        100% { transform: translateY(-50%); }
    }

    @keyframes fadeUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* MOBILE FIX */
    @media (max-width: 991px) {

        .logo-carousel {
            height: auto;
            overflow: hidden;
            margin-top: 40px;
        }

        .logo-track {
            flex-direction: row; /* 🔥 horizontal */
            animation: scrollLeft 25s linear infinite;
            align-items: center;
        }

        .logo-carousel img {
            width: 120px;
            margin: 0 20px;
        }

    }

    /* NEW ANIMATION */
    @keyframes scrollLeft {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }




/* ================= PAGE CONTACT ================= */
    .contact-section {
        background: #f9fafb;
    }

    .contact-section h2 {
        font-family: 'Playfair Display', serif;
    }

    .form-control {
        border-radius: 8px;
        padding: 10px 14px;
    }

    .btn-dark {
        background: #111;
        border: none;
    }


.post-tags {
    margin-top: 20px;
}

.tag-link {
    display: inline-block;
    margin: 5px 6px 0 0;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #111;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-link:hover {
    background: #111;
    color: #fff;
}

.post-tags {
    margin-top: 20px;
}

.tag-link {
    display: inline-block;
    margin: 5px 6px 0 0;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #111;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tag-link:hover {
    background: #111;
    color: #fff;
}

/* NAV TABS WRAPPER */
#myTab {
    border-bottom: 2px solid #e5e7eb;
    gap: 10px;
}

/* DEFAULT TAB */
#myTab .nav-link {
    border: none;
    color: #6b7280;
    font-weight: 500;
    padding: 10px 16px;
    position: relative;
    transition: all 0.25s ease;
    background: #f2f2f2;
}

/* HOVER EFFECT */
#myTab .nav-link:hover {
    color: #111827;
    background: #f3f4f6;
}

/* ACTIVE TAB (MAIN HIGHLIGHT) */
#myTab .nav-link.active {
    color: #111827;
    background: #ffffff;
    font-weight: 600;
}

/* ACTIVE UNDERLINE (KEY PART) */
#myTab .nav-link.active::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -6px;
    height: 3px;
    background: #2563eb;
    border-radius: 10px;
}

/* OPTIONAL: subtle shadow for active tab */
#myTab .nav-link.active {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}