/* 
   =========================================
   360 Five - Premium Formatted CSS
   Strict adherence to the reference design
   =========================================
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-white: #ffffff;
    --bg-sand: #f4f1ed;         /* Elegant warm sand */
    --bg-sand-dark: #e8e3dc;
    --text-dark: #0f172a;       /* Deep slate, softer than pure black */
    --text-gray: #475569;
    --text-light: #94a3b8;
    --border-gray: rgba(15, 23, 42, 0.15); /* Signature thin border line color */
    --accent-gold: #c5a880;
    
    --font-heading: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

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

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-100 { transition-delay: 0.15s; }
.delay-200 { transition-delay: 0.3s; }
.delay-300 { transition-delay: 0.45s; }

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, height 0.3s ease;
}

header.hide {
    transform: translateY(-100%);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-gray);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s ease;
}

header.scrolled .nav-wrapper {
    height: 65px;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

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

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 10px 0;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

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

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

/* Burger Menu Mobile */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.burger-menu span {
    width: 30px;
    height: 2px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    padding: 260px 0 180px 0;
    background-image: linear-gradient(to bottom, rgba(255,255,255,0.5), rgba(255,255,255,1)), url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-content {
    max-width: 1100px;
}

.hero-content h1 {
    font-size: 64px;
    letter-spacing: -0.04em;
    color: var(--text-dark);
    line-height: 1.1;
    font-weight: 800;
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 38px;
    }
    .hero-section {
        padding: 200px 0 120px 0;
    }
}

/* Global Padding for Sections */
.section-padding {
    padding: 140px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }
}

/* Section Title & Line */
.section-title {
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 52px;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.divider-line {
    width: 100%;
    height: 1px;
    background-color: var(--border-gray);
}

/* Split Layout */
.split-layout {
    display: flex;
    gap: 80px;
}

@media (max-width: 1024px) {
    .split-layout {
        flex-direction: column;
        gap: 40px;
    }
}

.split-left {
    width: 35%;
}

.split-right {
    width: 65%;
}

@media (max-width: 1024px) {
    .split-left, .split-right {
        width: 100%;
    }
}

.split-left h3 {
    font-size: 36px;
    position: relative;
    padding-left: 24px;
}

.split-left h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    height: 70%;
    width: 4px;
    background-color: var(--accent-gold);
}

.split-right p {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 32px;
    line-height: 1.8;
}

/* Quote Formatting */
.quote-block {
    margin-top: 50px;
    padding: 40px;
    background-color: var(--bg-sand);
    border-radius: 8px;
    position: relative;
}

.quote-block::before {
    content: '"';
    font-size: 120px;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: 20px;
    line-height: 1;
}

.quote-block p {
    font-size: 24px;
    color: var(--text-dark);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Grid Layout with Fine Borders */
.grid-section {
    background-color: var(--bg-white);
    background-image: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.95)), url('assets/network_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

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

.grid-cell {
    padding: 80px 60px;
    position: relative;
    transition: background-color 0.4s ease;
}

.grid-cell:hover {
    background-color: var(--bg-sand);
}

.grid-cell:first-child::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: var(--border-gray);
}

@media (max-width: 768px) {
    .grid-cell:first-child::after {
        display: none;
    }
    .grid-cell:first-child {
        border-bottom: 1px solid var(--border-gray);
    }
    .grid-cell {
        padding: 60px 24px;
    }
}

.cell-title {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--accent-gold);
}

.cell-content {
    font-size: 20px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Parallax Wrapper */
.parallax-wrapper {
    background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('assets/hero_bg.png');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--bg-white);
}

.parallax-wrapper .grid-section {
    background: transparent;
    border: none;
}

.parallax-wrapper .grid-cell {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.parallax-wrapper .grid-cell:hover {
    background: rgba(255, 255, 255, 0.1);
}

.parallax-wrapper .grid-cell:first-child::after {
    display: none;
}

.parallax-wrapper .cell-title {
    color: var(--accent-gold);
}

.parallax-wrapper .cell-content, 
.parallax-wrapper p, 
.parallax-wrapper .clean-list li {
    color: #e2e8f0;
}

.parallax-wrapper h2, 
.parallax-wrapper h3, 
.parallax-wrapper h4, 
.parallax-wrapper .mission-statement {
    color: var(--bg-white);
}

.parallax-wrapper .divider-line {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Mission Specifics */
.mission-statement {
    font-size: 36px;
    color: var(--text-dark);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.list-title {
    font-size: 20px;
    margin: 48px 0 24px 0;
    color: var(--text-dark);
}

/* Premium List Formatting */
.clean-list {
    list-style: none;
}

.clean-list li {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 20px;
    position: relative;
    padding-left: 36px;
    display: flex;
    align-items: center;
}

.clean-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23c5a880%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%2220%206%209%2017%204%2012%22%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Goal Section Formatted */
.goal-section {
    background-color: var(--text-dark);
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

/* Subtle background accent */
.goal-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.goal-wrapper {
    max-width: 1000px;
    position: relative;
    z-index: 1;
}

.goal-title {
    font-size: 52px;
    margin-bottom: 60px;
    color: var(--bg-white);
}

.large-list li {
    font-size: 26px;
    color: #e2e8f0;
    margin-bottom: 32px;
    padding-left: 48px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .large-list li {
        font-size: 20px;
    }
}

.large-list li::before {
    width: 28px;
    height: 28px;
    top: 6px;
    transform: none;
}

/* Mobile Nav */
.mobile-nav-overlay {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    height: calc(100vh - 100px);
    background-color: var(--bg-white);
    z-index: 999;
    padding: 60px 40px;
    display: none;
}

.mobile-nav-overlay.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mobile-nav-links a {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .burger-menu {
        display: flex;
    }
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-gray);
}

.form-row {
    display: flex;
    gap: 24px;
}

.form-row .form-group {
    flex: 1;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-input, .form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-gray);
    border-radius: 6px;
    background-color: var(--bg-white);
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(197, 168, 128, 0.15);
}

.form-textarea {
    resize: vertical;
}

.submit-btn {
    display: inline-block;
    width: 100%;
    padding: 16px 32px;
    background-color: var(--accent-gold);
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #b59870;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(197, 168, 128, 0.3);
}

/* Premium Footer */
.premium-footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-gray);
    background-color: var(--bg-white);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    font-size: 20px;
    font-weight: 800;
}

.footer-text {
    font-size: 14px;
    color: var(--text-light);
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}
