/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    /* Core Colors */
    --primary-color: #000000;
    /* Black */
    --primary-light: #1a1a1a;
    /* Soft Black */
    --gold: #BF9305;
    /* The requested Gold */
    --gold-light: #d6a81a;
    --gold-dark: #967202;

    /* Text Colors */
    --text-dark: #111111;
    --text-light: #555555;
    --text-white: #ffffff;

    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #0a0a0a;
    /* Almost Black for distinct sections */

    /* UI Elements */
    --border-color: #eeeeee;
    --border-gold: rgba(191, 147, 5, 0.3);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 8px 24px rgba(191, 147, 5, 0.25);

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #BF9305 0%, #d6a81a 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    --gradient-overlay: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

/* ===========================
   Typography
   =========================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 800;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: -10px;
    width: 60px;
    height: 60px;
    background-color: rgba(191, 147, 5, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    /* More modern/technical look than 50px */
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gold);
    color: var(--primary-color);
    /* Black text on Gold for high contrast */
    border-color: var(--gold);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--gold);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border-color: var(--bg-white);
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* background-color: rgba(0, 0, 0, 0.9); */
    /* Dark navbar */
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: url('https://www.kenhaventravels.com/wp-content/uploads/2025/09/logistics.jpg') center/cover;
    color: var(--text-white);
    overflow: hidden;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    z-index: 1;
}

/* Stylish gold line on the left */
/* .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: var(--gold);
    z-index: 5;
} */

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 1000px;
    text-align: center;
    /* Switch to left align for a more technical look */
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-white);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.6;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    /* Removed left border for centered look */
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-white);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: var(--gold);
    /* Updated to Gold */
    border-radius: 50%;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   About Section
   =========================== */
.about {
    padding: 8rem 0;
    /* More breathing room */
    background-color: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-content h3 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-image {
    border-radius: 4px;
    /* Sharper corners for technical look */
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

/* Creative Gold Border Effect for Image */
.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    z-index: -1;
    transition: all 0.5s ease;
}

.about-image:hover::before {
    top: -10px;
    right: -10px;
    background: rgba(191, 147, 5, 0.05);
}

.mv-card p {
    margin: 0;
}

.about-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.values-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--bg-white);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.value-icon {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--gold);
    transition: all 0.3s ease;
    border: 1px solid rgba(191, 147, 5, 0.2);
}

.value-card:hover .value-icon {
    background: var(--gold);
    color: var(--text-white);
    transform: scale(1.1);
}

.value-card h4 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
}

.value-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

/* ===========================
   Services Section
   =========================== */
.services {
    padding: 8rem 0;
    background-color: var(--bg-light);
    position: relative;
}

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem 2rem;
    background-color: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
    font-size: 1rem;
}

.tab-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-button.active {
    background-color: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-color);
    position: relative;
    top: 0;
}

.service-card:hover {
    top: -10px;
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

/* Gold accent line on top */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: width 0.4s ease;
}

.service-card:hover::before {
    width: 100%;
}

.service-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-image::after {
    opacity: 0.3;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2.5rem;
}

.service-content h3 {
    font-size: 1.65rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.service-content ul {
    list-style: none;
    padding: 0;
}

.service-content ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
}

.service-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===========================
   Industries Section
   =========================== */
.industries {
    padding: 6rem 0;
    background-color: var(--bg-white);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.industry-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-light), var(--gold-dark));
    /* Use Gold Dark for depth */
    color: var(--text-white);
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-gold);
}

.industry-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.industry-card h3 {
    font-size: 1.25rem;
    color: var(--text-white);
    margin: 0;
}

/* ===========================
   Why Choose Us Section
   =========================== */
.why-choose {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05), rgba(14, 165, 233, 0.05));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 3rem;
    background-color: var(--bg-white);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--gold);
    /* Vertical gold line */
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateX(10px);
    /* Slight shift right instead of up */
    box-shadow: var(--shadow-md);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.7;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    display: none;
    font-weight: 500;
}

.form-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
    display: block;
}

.form-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
    display: block;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background-color: var(--bg-dark);
    /* Deep black */
    color: var(--text-white);
    padding: 6rem 0 2rem;
    border-top: 4px solid var(--gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
    font-weight: 700;
}

.footer-section h4 {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    font-weight: 600;
}

.footer-section p {
    color: #aaaaaa;
    line-height: 1.8;
}

.footer-tagline {
    font-size: 0.9rem;
    margin-top: 1rem;
    color: #888888;
    font-style: italic;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    padding: 0.65rem 0;
    color: #aaaaaa;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-section ul li a {
    color: #aaaaaa;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: #666666;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* ===========================
   Page Headers (for inner pages)
   =========================== */
.page-header {
    background: var(--bg-dark) url('https://images.unsplash.com/photo-1542296332-2e44529526e7?w=1600&q=80') center/cover;
    /* Generic logistics image */
    padding: 8rem 0 4rem;
    position: relative;
    color: var(--text-white);
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Updated to new Gold #BF9305 */
    background: radial-gradient(circle at 50% 50%, rgba(191, 147, 5, 0.5), transparent 70%);
    pointer-events: none;
}

.page-header h1 {
    font-size: 3.5rem;
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
    color: white
}

.page-header p {
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    padding: 8rem 0;
    background: var(--bg-dark);
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
    /* Gold Borders top/bottom */
    border-top: 4px solid var(--gold);
    border-bottom: 4px solid var(--gold);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Add a subtle gold glow/gradient effect */
    background: radial-gradient(circle at center, rgba(191, 147, 5, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Active Navigation Link
   =========================== */
.nav-link.active {
    color: var(--gold);
    /* Switched from primary-color (black) to gold for visibility on dark header */
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* ===========================
   Industries Card Enhancement
   =========================== */
.industry-card p {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-dark);
        /* Changed from bg-white to bg-dark for contrast with white text */
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero {
        text-align: center;
        /* Center on mobile is usually safer */
    }

    .hero-content {
        text-align: center;
    }

    .hero::after {
        display: none;
        /* Remove side border on mobile */
    }

    .hero-subtitle {
        border: none;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .contact {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .contact-card {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-icon {
        font-size: 1.5rem;
    }
}

/* ===========================
   Animations
   =========================== */
/* Basic fade in up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Back to Top Button
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--text-dark);
    /* Black button */
    color: var(--gold);
    /* Gold icon */
    border: 2px solid var(--gold);
    border-radius: 4px;
    /* Square with slight radius */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    /* Ensure high z-index */
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--text-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.back-to-top:active {
    transform: translateY(-2px);
}