:root {
    --primary-color: #c41e3a;
    --primary-dark: #9a1629;
    --primary-light: #e63950;
    --secondary-color: #1a1a1a;
    --text-primary: #2d2d2d;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

@media (max-width: 1100px) {
    .nav-menu {
        gap: 1rem;
    }
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero > .container {
    min-width: 0;
    width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(196, 30, 58, 0.15) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    width: 100%;
    min-width: 0;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

.arrow {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.7);
    position: relative;
}

.arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(196, 30, 58, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Expertise Section */
.expertise {
    padding: 100px 0;
    background: var(--bg-white);
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.expertise-item {
    margin-bottom: 2.5rem;
}

.expertise-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.expertise-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.expertise-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
}

.stat {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.stat:last-child {
    margin-bottom: 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-form .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-loader svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.form-message {
    display: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-light);
}

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

.footer-links h4,
.footer-info h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-links ul,
.footer-info ul {
    list-style: none;
}

.footer-links li,
.footer-info li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-info li {
    color: rgba(255, 255, 255, 0.7);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .expertise-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Subsidiaries Page Styles */
.venture-banner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.25rem;
    padding: 2rem 2.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 100% 0%, rgba(196, 30, 58, 0.28) 0%, transparent 42%),
        linear-gradient(135deg, #1c2419 0%, #141814 58%, #1a1a1a 100%);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.venture-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
}

.venture-banner:last-child {
    margin-bottom: 0;
}

a.venture-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.venture-banner--supply {
    background:
        radial-gradient(circle at 100% 0%, rgba(196, 30, 58, 0.38) 0%, transparent 46%),
        linear-gradient(135deg, #2a1418 0%, #1a1214 55%, #141414 100%);
}

.venture-banner--water {
    background:
        radial-gradient(circle at 100% 0%, rgba(86, 140, 168, 0.4) 0%, transparent 46%),
        linear-gradient(135deg, #14222b 0%, #12181c 55%, #141414 100%);
}

.venture-banner--fx {
    background:
        radial-gradient(circle at 100% 0%, rgba(184, 148, 74, 0.42) 0%, transparent 46%),
        linear-gradient(135deg, #2a2414 0%, #1a1812 55%, #141414 100%);
}

.venture-banner--textile {
    background:
        radial-gradient(circle at 100% 0%, rgba(212, 160, 74, 0.4) 0%, transparent 46%),
        linear-gradient(135deg, #3a1826 0%, #1c1218 55%, #141414 100%);
}

.venture-banner--film {
    background:
        radial-gradient(circle at 100% 0%, rgba(138, 92, 196, 0.42) 0%, transparent 46%),
        linear-gradient(135deg, #22182e 0%, #16141c 55%, #141414 100%);
}

.venture-banner--chain {
    background:
        radial-gradient(circle at 100% 0%, rgba(120, 144, 168, 0.4) 0%, transparent 46%),
        linear-gradient(135deg, #1a2228 0%, #14181c 55%, #141414 100%);
}

.venture-banner--sea {
    background:
        radial-gradient(circle at 100% 0%, rgba(46, 140, 156, 0.42) 0%, transparent 46%),
        linear-gradient(135deg, #102428 0%, #121c1e 55%, #141414 100%);
}

.venture-banner--trade {
    background:
        radial-gradient(circle at 100% 0%, rgba(92, 158, 110, 0.4) 0%, transparent 46%),
        linear-gradient(135deg, #14241a 0%, #141c16 55%, #141414 100%);
}

.venture-mark {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e7efe3;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.venture-kicker {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-bottom: 0.35rem;
}

.venture-banner h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.5rem;
}

.venture-copy p {
    margin: 0;
}

.venture-copy .venture-kicker {
    margin-bottom: 0.35rem;
}

.venture-copy p:last-of-type {
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.7;
    max-width: 40rem;
}

.venture-domain {
    display: inline-block;
    margin-top: 0.9rem;
    color: #ffffff;
    font-weight: 600;
}

.venture-domain::after {
    content: ' \2192';
}

.venture-tags {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.venture-tags span {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .venture-banner {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
        padding: 1.5rem 1.25rem 1.5rem 1.5rem;
    }

    .venture-copy,
    .venture-tags {
        min-width: 0;
        max-width: 100%;
    }

    .venture-tags {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .venture-tags span {
        white-space: normal;
    }
}

.service-group {
    margin-bottom: 3rem;
}

.service-group:last-child {
    margin-bottom: 0;
}

.service-group-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(196, 30, 58, 0.2);
}

.subsidiaries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
    gap: 1rem;
    justify-content: center;
}

.subsidiary-card {
    background: var(--bg-white);
    padding: 1rem 1.125rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    will-change: transform;
}

.subsidiary-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: var(--shadow-lg);
}

/* Scoped under subsidiaries-portfolio to ensure styles apply on subsidiaries page */
.subsidiaries-portfolio .subsidiary-card .subsidiary-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    background: rgba(196, 30, 58, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    overflow: hidden;
}

.subsidiaries-portfolio .subsidiary-card .subsidiary-icon svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    flex-shrink: 0;
}

.subsidiary-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.subsidiary-industry {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.subsidiary-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.subsidiary-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
}

.highlight-tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(196, 30, 58, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }

    .subsidiaries-grid {
        grid-template-columns: 1fr;
    }

    .venture-banner h2 {
        font-size: 1.75rem;
    }
}

.scroll-section {
    scroll-margin-top: 96px;
}

.portfolio-notice {
    padding: 24px 0 100px;
    background: var(--bg-light);
}

.portfolio-notice-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem 2.25rem 1.5rem;
}

.portfolio-notice-card h2 {
    font-size: 1.75rem;
    letter-spacing: -0.4px;
    margin-bottom: 0.75rem;
}

.portfolio-notice-card .room-lead {
    margin-bottom: 0;
}

/* Investor room and admin */
.room-page {
    padding: 120px 0 80px;
    background: var(--bg-light);
    min-height: 100vh;
}

.room-narrow {
    max-width: 440px;
    margin: 0 auto;
}

.room-read {
    max-width: 800px;
    margin: 0 auto;
}

.room-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.room-title-row h1,
.room-page h1 {
    font-size: 2rem;
    letter-spacing: -0.5px;
}

.room-lead {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.room-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-top: 1.5rem;
}

.room-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    padding: 1.25rem 1.35rem 1.35rem;
    margin-bottom: 1rem;
}

.room-card h2,
.room-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.room-section-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.room-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

.room-actions .btn,
.room-page .btn-secondary {
    padding: 0.65rem 1.1rem;
    font-size: 0.9rem;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(196, 30, 58, 0.08);
}

.btn-danger {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    padding: 0.65rem 1.1rem;
    font-size: 0.9rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.btn-danger:hover {
    color: var(--primary-dark);
    border-color: var(--primary-color);
}

.room-checks {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin: 0.75rem 0;
}

.room-checks label,
.room-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.room-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0.35rem 0 0.75rem;
}

.room-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.room-doc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.65rem 0;
    border-top: 1px solid var(--border-color);
}

.room-doc a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.room-doc a:hover {
    text-decoration: underline;
}

.room-link input {
    width: 100%;
    margin-top: 0.75rem;
}

.room-page .form-message {
    display: block;
}

.room-page .form-message[hidden] {
    display: none;
}

.room-file {
    margin-top: 0.75rem;
}

@media (max-width: 900px) {
    .room-grid {
        grid-template-columns: 1fr;
    }

    .room-title-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

