/* ==========================================================================
   FORTUNA GLOBAL TRADING & CONSULTING
   Theme colours are derived from the brand logo: gold / bronze on white.
   All page styling lives in this single stylesheet.
   ========================================================================== */

:root {
    --gold: #b08a2e;
    --gold-dark: #8c6a1f;
    --gold-light: #d7b85f;
    --gold-soft: #f4ecda;
    --gold-tint: rgba(176, 138, 46, 0.10);

    --dark: #1b1b1b;
    --dark-2: #2a2418;

    --text-dark: #2b2b2b;
    --text-muted: #6f6a60;

    --white: #ffffff;
    --cream: #faf7f0;
    --border: rgba(176, 138, 46, 0.25);
    --shadow: 0 18px 40px rgba(27, 27, 27, 0.08);
    --shadow-strong: 0 24px 60px rgba(27, 27, 27, 0.16);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

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

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

p {
    color: var(--text-muted);
}

a {
    text-decoration: none;
}

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

.text-gold {
    color: var(--gold);
}

.text-accent {
    color: var(--gold);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.75rem 1.6rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: var(--white);
    background-color: transparent;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.navbar {
    background-color: var(--white);
    box-shadow: 0 6px 24px rgba(27, 27, 27, 0.06);
    padding: 0.75rem 0;
    transition: var(--transition);
}

.navbar-brand {
    padding: 0;
    margin-right: 1rem;
}

.navbar-brand img {
    height: 64px;
    width: auto;
    display: block;
}

.navbar .nav-link {
    color: var(--dark);
    font-weight: 500;
    margin: 0 0.35rem;
    padding: 0.5rem 0.25rem;
    position: relative;
    transition: var(--transition);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: var(--transition);
}

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

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    margin-left: 0.75rem;
}

.navbar-toggler {
    border-color: var(--border);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem var(--gold-tint);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 9rem 0 5rem;
    background: linear-gradient(135deg, #16150f 0%, var(--dark-2) 55%, #38301c 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 25%, rgba(176, 138, 46, 0.28) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(176, 138, 46, 0.18) 0%, transparent 45%);
    pointer-events: none;
}

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

.hero-title {
    color: var(--white);
    font-size: clamp(2.3rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.15rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 520px;
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-light {
    background-color: var(--cream);
}

.section-head {
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 64px;
    height: 3px;
    background-color: var(--gold);
}

.text-center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 720px;
}

.section-cta {
    margin-top: 3rem;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-content {
    padding-right: 1.5rem;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.04);
}

/* Stat cards */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 15px rgba(27, 27, 27, 0.03);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--gold-tint);
    border-color: var(--gold);
}

.stat-card.highlight {
    background: linear-gradient(135deg, var(--dark-2) 0%, #38301c 100%);
    border-color: var(--gold);
}

.stat-card.highlight .stat-number,
.stat-card.highlight .stat-title {
    color: var(--white);
}

.stat-card.highlight .stat-desc {
    color: rgba(255, 255, 255, 0.72);
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold-soft);
    color: var(--gold-dark);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

.stat-icon.solid {
    background: var(--gold);
    color: var(--white);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.stat-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Service cards
   -------------------------------------------------------------------------- */
.service-card {
    position: relative;
    height: 100%;
    padding: 2.5rem 2rem;
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.85rem;
}

.service-icon {
    display: inline-block;
    font-size: 2.25rem;
    color: var(--gold);
    margin-bottom: 1.25rem;
}

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.75rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--gold);
    opacity: 0.35;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    padding: 0.4rem 0;
    color: var(--text-muted);
}

.service-list li::before {
    content: '\2713';
    color: var(--gold);
    font-weight: 700;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Testimonials / review slider
   -------------------------------------------------------------------------- */
.reviews-section {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.review-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 2.25rem;
    height: 100%;
    min-height: 340px;
    box-shadow: 0 8px 25px rgba(27, 27, 27, 0.04);
    transition: var(--transition);
}

.review-card:hover {
    border-color: var(--gold);
    box-shadow: 0 16px 40px var(--gold-tint);
}

.avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--gold-soft);
    flex-shrink: 0;
}

.customer-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.4rem;
}

.stars {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-top: 1.5rem;
    color: var(--text-muted);
}

.review-text strong {
    display: block;
    color: var(--dark);
    margin-bottom: 0.35rem;
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.slider-arrow {
    border: 0;
    background: var(--gold);
    color: var(--white);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dot {
    border: 0;
    padding: 0;
    width: 11px;
    height: 11px;
    border-radius: 20px;
    background: #d8d3c8;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--gold);
    width: 30px;
}

/* --------------------------------------------------------------------------
   Clients
   -------------------------------------------------------------------------- */
.clients-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2.5rem 4rem;
}

.client-logo {
    max-height: 110px;
    width: auto;
    border-radius: 6px;
    filter: grayscale(20%);
    opacity: 0.85;
    transition: var(--transition);
}

.client-logo:hover {
    filter: none;
    opacity: 1;
    transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-info {
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding: 1.35rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background-color: var(--cream);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 25px var(--gold-tint);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gold-tint);
    border: 1px solid var(--gold);
    color: var(--gold-dark);
}

.contact-details h5 {
    margin-bottom: 0.35rem;
    color: var(--dark);
}

.contact-details p {
    margin-bottom: 0;
}

.contact-details a {
    color: var(--text-muted);
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--gold);
}

.gst-number {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-form {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.form-label {
    color: var(--dark);
    font-weight: 500;
    margin-bottom: 0.4rem;
}

.form-control {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.7rem 1rem;
    color: var(--text-dark);
    background-color: var(--white);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem var(--gold-tint);
    color: var(--text-dark);
}

.form-control::placeholder {
    color: #a8a298;
}

[hidden] {
    display: none !important;
}

.form-status {
    margin-top: 1.25rem;
    padding: 0.9rem 1.1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
}

.form-status.is-visible {
    display: block;
}

.form-status.error {
    background: #fdecec;
    border: 1px solid #e6a3a3;
    color: #a12626;
}

.form-status.success {
    background: #eef7ec;
    border: 1px solid #a9d4a0;
    color: #2f6b28;
}

.contact-form button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.thank-you {
    text-align: center;
    padding: 2.5rem 1rem;
}

.thank-you i {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: block;
}

.thank-you h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.thank-you p {
    max-width: 420px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
    background: linear-gradient(135deg, #16150f 0%, var(--dark-2) 100%);
    padding: 4rem 0 2rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1.4rem;
    padding-bottom: 0.6rem;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--gold-light);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li i {
    color: var(--gold-light);
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: var(--gold-light);
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* --------------------------------------------------------------------------
   Scrollbar & selection
   -------------------------------------------------------------------------- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

::selection {
    background-color: var(--gold);
    color: var(--white);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--white);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 1rem;
        margin-top: 0.75rem;
        box-shadow: var(--shadow);
    }

    .navbar .nav-link {
        margin: 0;
        padding: 0.6rem 0.25rem;
    }

    .nav-cta {
        margin: 0.75rem 0 0;
    }

    .hero {
        min-height: auto;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        margin-top: 1rem;
    }

    .about-content {
        padding-right: 0;
    }

    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    html {
        scroll-padding-top: 80px;
    }

    .navbar-brand img {
        height: 52px;
    }

    .hero {
        padding: 7rem 0 3.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-head {
        margin-bottom: 2.5rem;
    }

    .review-card {
        min-height: auto;
        padding: 1.75rem;
    }

    .review-text {
        font-size: 1rem;
    }

    .contact-form {
        padding: 1.75rem;
    }

    .stats-container {
        margin-top: 3rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .slider-arrow {
        width: 46px;
        height: 46px;
        font-size: 1.4rem;
    }

    .client-logo {
        max-height: 80px;
    }
}
