/* ===================================
   ReFormEd v3 - Premium Dark Theme
   "Glocal" Editorial Style
   =================================== */

:root {
    /* Color Palette - Dark Mode */
    --bg-main: #050505;       /* Pure Black */
    --bg-secondary: #0F1115;  /* Dark Grey Section */
    --bg-card: #161920;       /* Card Background */
    --bg-card-hover: #1E2330; 

    --brand-dark: #1E3F66;    /* Deep Blue */
    --brand-light: #4dabf7;   /* Bright Blue Accent */
    --brand-accent: #339af0;  /* Primary Action */
    
    --success: #10B981;
    --danger: #EF4444;

    --text-main: #FFFFFF;
    --text-secondary: #A0A0A0;
    --text-muted: #6c757d;

    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --border-radius: 6px;
    
    /* Effects */
    --glow-sm: 0 0 10px rgba(77, 171, 247, 0.1);
}

/* ===================================
   Reset & Base Styles
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* ===================================
   Utilities
   =================================== */

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.col-lg-6 { flex: 0 0 50%; max-width: 50%; padding: 0 1rem; }
.col-lg-5 { flex: 0 0 41.66%; max-width: 41.66%; padding: 0 1rem; }
.col-lg-7 { flex: 0 0 58.33%; max-width: 58.33%; padding: 0 1rem; }

.align-center { align-items: center; }
.text-center { text-align: center; }

.section { padding: 7rem 0; }

.section-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-light);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 40px;
}

.section-badge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--brand-light);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    text-transform: uppercase;
    font-size: 0.8rem;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #152c4a 100%);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(51, 154, 240, 0.4);
    border-color: var(--brand-accent);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: white;
    color: var(--bg-main);
}

.btn-block { width: 100%; }

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: white;
}

.nav-cta {
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--brand-light);
    color: var(--brand-light);
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--brand-light);
    color: white;
}

.nav-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(5,5,5,0.5) 0%, rgba(5,5,5,0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding-top: 60px;
}

.hero-subtitle {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--brand-light);
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(77, 171, 247, 0.3);
    border-radius: 50px;
    background: rgba(30, 63, 102, 0.2);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

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

/* ===================================
   Identity Section (Are / Not)
   =================================== */

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

.identity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.identity-card {
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: transform 0.3s ease;
}

.identity-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.15);
}

.identity-card h3 {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.identity-card.are h3 i { color: var(--success); }
.identity-card.not h3 i { color: var(--danger); }

.intro {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 2rem;
    font-weight: 500;
}

.identity-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.identity-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brand-light);
    font-weight: bold;
}

.identity-list span {
    color: white;
    font-weight: 600;
}

/* ===================================
   Ethos Section (Accordion)
   =================================== */

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

.values-grid {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
}

.value-item i {
    font-size: 2rem;
    color: var(--brand-light);
    margin-bottom: 0.5rem;
}

.value-item span {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.reasons-wrapper {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.reasons-wrapper h3 {
    margin-bottom: 2rem;
    color: white;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-item:last-child { border-bottom: none; }

.acc-header {
    padding: 1.2rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.acc-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.acc-header i {
    color: var(--brand-light);
    transition: transform 0.3s;
}

.acc-header.active h4 { color: var(--brand-light); }
.acc-header.active i { transform: rotate(45deg); }

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===================================
   Process Section (Timeline)
   =================================== */

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

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) { left: 0; padding-right: 3rem; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; padding-left: 3rem; text-align: left; }

.timeline-item::after {
    content: '';
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--bg-main);
    border: 2px solid var(--brand-light);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item:nth-child(odd)::after { right: -9px; }
.timeline-item:nth-child(even)::after { left: -9px; }

.step-num {
    display: inline-block;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

/* ===================================
   Services Section (Tabs)
   =================================== */

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

.services-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--brand-light);
    color: white;
    border-color: var(--brand-light);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

.service-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-light);
}

.service-icon {
    font-size: 2rem;
    color: var(--brand-light);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

/* ===================================
   Examples Section
   =================================== */

.examples {
    background-color: var(--bg-main);
    padding-bottom: 5rem;
}

.venture-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.venture-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    width: 280px;
    text-align: left;
    transition: all 0.3s ease;
}

.venture-card:hover {
    background: var(--bg-card-hover);
    transform: scale(1.03);
}

.venture-card h4 {
    color: var(--brand-light);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.venture-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===================================
   Contact Section
   =================================== */

.contact {
    background-color: var(--bg-secondary);
    padding-top: 6rem;
}

.contact-info-box { padding-right: 2rem; }

.contact-methods {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.method {
    display: flex;
    gap: 1.5rem;
}

.method i {
    font-size: 1.5rem;
    color: var(--brand-light);
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    color: white;
    border-radius: 4px;
    font-family: inherit;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--brand-light);
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: black;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    color: rgba(255,255,255,0.6);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-brand img { height: 35px; opacity: 0.8; margin-bottom: 1rem; }

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-col a:hover { color: var(--brand-light); }

/* ===================================
   Responsive
   =================================== */

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; height: 100vh;
        background: black;
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
        border-left: 1px solid var(--border-color);
    }
    
    .nav-menu.active { right: 0; }
    
    .col-lg-6, .col-lg-5, .col-lg-7 { max-width: 100%; flex: 100%; }
    
    .identity-grid { grid-template-columns: 1fr; }
    
    .timeline::before { left: 20px; }
    .timeline-item { width: 100%; padding-left: 50px; padding-right: 0; text-align: left; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item:nth-child(odd)::after, .timeline-item:nth-child(even)::after { left: 11px; }
    
    .hero-title { font-size: 2.5rem; }
    
    .values-grid { flex-wrap: wrap; justify-content: center; }
}

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

.reveal-left, .reveal-right, .reveal-bottom {
    opacity: 0;
    transition: all 0.8s ease-out;
}
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal-bottom { transform: translateY(30px); }

.reveal-left.active, .reveal-right.active, .reveal-bottom.active {
    opacity: 1; transform: translate(0);
}
