/* ==========================================================================
   HNY INTERNATIONAL - Official Corporate Stylesheet
   Design System: Minimal, Professional, Clean Corporate Light Green
   ========================================================================== */

:root {
    /* Brand Color System */
    --brand-primary: #10B981;
    --brand-primary-hover: #059669;
    --brand-primary-dark: #047857;
    --brand-primary-subtle: #DCFCE7;
    --brand-primary-subtle-text: #047857;
    --brand-accent: #34D399;
    
    /* Neutral Palette */
    --brand-dark: #111827;
    --brand-muted: #4B5563;
    --brand-light-muted: #9CA3AF;
    --brand-light-bg: #F0FDF4;
    --brand-card-bg: #FFFFFF;
    --brand-border: #E5E7EB;

    /* Typography & Spacing */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Base Setup */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    font-family: var(--font-sans);
    color: var(--brand-dark);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.02em;
}

.brand-text-emerald {
    color: var(--brand-primary-hover) !important;
}

.brand-text-accent {
    color: var(--brand-accent) !important;
}

.brand-bg-subtle {
    background-color: var(--brand-primary-subtle) !important;
}

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

/* Navbar & Branding */
.navbar {
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--brand-border);
    transition: all 0.3s ease;
}

.navbar-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo-title {
    font-size: 1.35rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--brand-dark);
}

.brand-logo-subtitle {
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--brand-muted);
    margin-top: 0.25rem;
    font-family: var(--font-mono);
}

.nav-link {
    font-size: 0.825rem;
    font-weight: 600;
    color: var(--brand-muted) !important;
    padding: 0.5rem 0.65rem !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-primary-hover) !important;
}

/* Buttons */
.btn-brand-primary {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 50rem;
    padding: 0.6rem 1.4rem;
    font-size: 0.875rem;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.btn-brand-primary:hover,
.btn-brand-primary:focus {
    background-color: var(--brand-primary-hover);
    border-color: var(--brand-primary-hover);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25) !important;
}

.btn-brand-outline {
    background-color: transparent;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary-hover);
    font-weight: 600;
    border-radius: 50rem;
    padding: 0.75rem 1.75rem;
    transition: all 0.25s ease;
}

.btn-brand-outline:hover {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2) !important;
}

/* Cards & Hover Effects */
.card-hover-effect {
    border: 1px solid var(--brand-border);
    border-radius: 1rem;
    background-color: #FFFFFF;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-hover-effect:hover {
    transform: translateY(-4px);
    border-color: #A7F3D0;
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.1) !important;
}

/* Custom Icon Containers */
.icon-box-emerald {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--brand-primary-subtle);
    color: var(--brand-primary-hover);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.icon-square-emerald {
    width: 50px;
    height: 50px;
    border-radius: 0.75rem;
    background-color: var(--brand-primary);
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hero & About Image Containers */
.corporate-img-frame {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--brand-border);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.hero-img-cover {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-img-cover {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

/* Section Section Dividers */
.section-divider {
    width: 60px;
    height: 4px;
    background-color: var(--brand-primary);
    border-radius: 2px;
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Form Elements */
.form-control:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 0.25rem rgba(16, 185, 129, 0.18);
}

/* Footer Styling */
footer {
    background-color: var(--brand-dark);
    color: var(--brand-light-muted);
}

footer a.hover-white {
    color: var(--brand-light-muted);
    transition: color 0.2s ease;
}

footer a.hover-white:hover {
    color: #FFFFFF !important;
}

/* Back to Top Floating Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--brand-primary);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--brand-primary-hover);
    transform: translateY(-2px);
}
