:root {
    --primary-color: #7f0119;
    /* Deep Red */
    --accent-color: #f9ac55;
    /* Warm Gold */
    --text-color: #333333;
    /* Dark Gray */
    --text-light: #ffffff;
    --bg-light: #fff0db;
    /* Stronger light orange nuance */
    --bg-dark: #2d0b0f;
    /* very dark red/brown */
    --font-heading: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', serif;
    --font-body: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', serif;
    --transition-speed: 0.3s;
    --section-padding: 100px 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--bg-light);
    /* Apply Kinari background */
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 0.05em;
}

.global-nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.global-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
    position: relative;
}

.global-nav a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.global-nav a:not(.btn-primary):hover::after {
    width: 100%;
}

#global-header .btn-primary {
    color: #fff !important;
}

.mobile-menu-toggle {
    display: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--text-light);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 35, 70, 0.4), rgba(15, 35, 70, 0.6)), url('../images/hero_bg_final.jpg') no-repeat center center/cover;
    z-index: -1;
    animation: zoomEffect 20s infinite alternate;
}

.news-hero-bg {
    background: linear-gradient(rgba(15, 35, 70, 0.4), rgba(15, 35, 70, 0.6)), url('../images/saudi_bg.jpg') no-repeat center center/cover;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-light);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

.scroll-indicator .line {
    width: 1px;
    height: 60px;
    background: var(--text-light);
    margin: 10px auto 0;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    51% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Sections General */
.section {
    padding: var(--section-padding);
}

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

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

.text-white {
    color: var(--text-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.subtitle {
    display: block;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    color: #666;
}

.bg-dark .section-desc {
    color: #aaa;
}

/* CEO Message */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.text-content h3 {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.text-content p {
    margin-bottom: 25px;
    text-align: justify;
}

.signature {
    margin-top: 40px;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Zen Kurenaido', serif;
    /* Or similar fancy font if available */
}

/* Greeting Page Specific */
.greeting-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.greeting-text {
    text-align: left;
}

.greeting-text h3 {
    margin-bottom: 60px;
    /* Increased space below title */
}

.greeting-text p {
    text-align: left;
    line-height: 2.2;
}

.greeting-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Align to right */
    margin-top: 50px;
}

.ceo-image-box {
    width: 120px;
    height: 160px;
    overflow: hidden;
    border-radius: 4px;
    /* Standard ID photo look */
    box-shadow: 5px 5px 0 var(--accent-color);
    margin-top: 20px;
}

.ceo-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Business Outline (Updated for Grid) */
.business-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.business-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.business-card:hover {
    transform: translateY(-5px);
}

.business-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.business-card p {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #555;
}

.business-card ul {
    list-style: none;
    padding-left: 0;
}

.business-card li {
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
    font-size: 0.95rem;
    color: #555;
}

.business-card li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.business-card strong {
    color: var(--primary-color);
}


/* Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-content {
    padding: 30px;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Referral Fields */
.fields-list {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.field-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.field-item.reverse .field-info {
    order: 2;
}

.field-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    /* Light text for dark background if needed, but here bg-dark sets text-white */
}

.bg-dark .field-info h3 {
    color: var(--text-light);
}

.field-info .num {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 15px;
    font-family: var(--font-heading);
}

.field-img {
    border-radius: 8px;
    box-shadow: 20px 20px 0 var(--accent-color);
    background-size: cover;
    background-position: center;
    min-height: 400px;
    /* Ensure visibility */
    width: 100%;
}

.supplement-text {
    font-size: 1.1rem;
    line-height: 2;
    color: #dadada;
}

/* History Timeline Styles */
.business-card.full-width {
    grid-column: 1 / -1;
}

.history-timeline {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.history-timeline tr:last-child th,
.history-timeline tr:last-child td {
    border-bottom: none;
}

.history-timeline th {
    text-align: left;
    padding: 12px 15px 12px 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--accent-color);
    font-weight: 600;
    width: 150px;
    vertical-align: top;
    white-space: nowrap;
}

.history-timeline td {
    text-align: left;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    line-height: 1.6;
}

/* Company Info */
.company-info {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #ddd;
}

.info-row {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #ddd;
}

.info-row dt {
    width: 200px;
    font-weight: 700;
}

/* Utility / Components */
.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary:hover {
    background: var(--accent-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary.btn-large {
    padding: 15px 50px;
    font-size: 1.1rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&auto=format&fit=crop&w=1974&q=80') center/cover;
    position: relative;
    text-align: center;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 35, 70, 0.8);
}

.contact-box {
    position: relative;
    z-index: 2;
    color: #fff;
}

/* Footer (Updated) */
#footer {
    background: var(--primary-color);
    color: #ffd1d1;
    /* Light red text for contrast */
    padding: 80px 0 30px;
}

.footer-nav-bottom {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-title {
    display: inline-block;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    transition: color 0.3s;
}

.footer-title:hover {
    color: var(--accent-color);
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
}

.tsunagaru-logo-link img {
    width: 60px;
    height: auto;
    border-radius: 50%;
    border: 2px solid #fff;
    transition: transform 0.3s;
    background: #fff;
}

.tsunagaru-logo-link:hover img {
    transform: scale(1.1);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .global-nav ul {
        display: none;
    }

    /* Hide for now, requires JS for mobile menu */
    .mobile-menu-toggle {
        display: block;
        width: 30px;
        height: 30px;
        position: relative;
        z-index: 1001;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--primary-color);
        margin-bottom: 6px;
        transition: 0.3s;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .content-grid,
    .field-item,
    .business-grid {
        grid-template-columns: 1fr;
    }

    .field-item.reverse .field-info {
        order: 0;
    }

    .field-img {
        height: 250px;
        min-height: 250px;
    }

    .footer-nav-bottom {
        flex-direction: column;
        gap: 30px;
    }

    .global-nav.active ul {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        justify-content: center;
        z-index: 1000;
    }
}/* Force Contact Button Visibility */ #global-header .btn-primary, a.btn-primary { color: #fff !important; opacity: 1 !important; visibility: visible !important; }
