/* 
  PT. Brimo Swarnindo Karyavara - Corporate Stylesheet
  Tone: Modern Corporate, Education, Professional
*/

:root {
    --primary-color: #0b3954; /* Deep Corporate Blue */
    --secondary-color: #fca311; /* Warm Gold / Yellow */
    --accent-color: #e5e5e5;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0b3954 0%, #1e5c85 100%);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

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

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

.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.section-header.center {
    text-align: center;
}

.divider {
    height: 4px;
    width: 60px;
    background-color: var(--secondary-color);
    margin-top: 15px;
    border-radius: 2px;
}

.divider.center-div {
    margin: 15px auto 0;
}

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

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(252,163,17,0.1) 0%, rgba(255,255,255,0) 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.hero-content {
    color: var(--white);
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(to right, #fca311, #ffd166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 650px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #e5930f;
    transform: translateY(-2px);
}

.btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    margin-left: 15px;
}

.btn-outline:hover {
    border-color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
}

.sdg-goals {
    margin-top: 60px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.sdg-badges {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.sdg-badge {
    background: rgba(255,255,255,0.1);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.about-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--secondary-color);
}

.icon-wrapper {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.values-list {
    list-style: none;
    margin-top: 20px;
}

.values-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.values-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary-color);
    margin-right: 15px;
}

.quote-icon {
    font-size: 3rem;
    color: var(--bg-light);
    position: absolute;
    top: 30px;
    right: 40px;
}

.quote-text {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 30px;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.director-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.director-avatar {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Ecosystem Section */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.eco-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 30px;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.eco-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.eco-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.eco-header h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.eco-domain {
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: 600;
    background: rgba(252, 163, 17, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.eco-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.eco-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 600;
}

.badge-type { background: #e0f2fe; color: #0284c7; }
.badge-status { background: #f1f5f9; color: #475569; }

.eco-tagline {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.eco-desc {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.eco-services-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.eco-services {
    list-style: none;
    flex-grow: 1;
}

.eco-services li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.eco-services li::before {
    content: '▪';
    color: var(--primary-color);
    margin-right: 10px;
}

/* Affiliates */
.affiliates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.affiliate-card {
    background: var(--bg-light);
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
}

.affiliate-card:hover {
    background: var(--primary-color);
    color: var(--white);
}

.affiliate-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.footer h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.address {
    color: #cbd5e1;
    max-width: 400px;
    line-height: 1.8;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 15px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-list i {
    color: var(--secondary-color);
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; }
    .affiliates-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .hero-cta { display: flex; flex-direction: column; gap: 15px; }
    .btn-outline { margin-left: 0; }
    .footer-container { grid-template-columns: 1fr; }
}
