/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Corporate Spiritual Palette - BBVA Executive Level */
    --primary-color: #2c3e50; /* Deep sophisticated navy blue */
    --secondary-color: #ecf0f1; /* Clean corporate gray-white */
    --accent-color: #f39c12; /* That beautiful gold you loved - more vibrant */
    --accent-red: #c0392b; /* Subtle blood red for emphasis */
    --text-dark: #0a0a0a; /* Deep black for executive presence */
    --text-light: #34495e; /* Corporate steel gray */
    --text-muted: #7f8c8d;
    --background: #fdfdfd; /* Pure but warm white */
    --section-bg: #f8f9fa; /* Subtle corporate background */
    --border-light: #bdc3c7; /* Clean corporate borders */
    --shadow-dark: rgba(44, 62, 80, 0.15); /* Navy-based shadows */
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    /* Spacing inspired by Japanese ma (negative space) */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
    
    /* Shadows - executive presence */
    --shadow-soft: 0 4px 30px rgba(44, 62, 80, 0.08);
    --shadow-card: 0 8px 40px rgba(44, 62, 80, 0.12);
    --shadow-strong: 0 12px 50px rgba(44, 62, 80, 0.15);
    --shadow-gold: 0 4px 20px rgba(243, 156, 18, 0.25);
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--background);
    line-height: 1.6;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Navigation */
.navbar {
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h1 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

/* Hero Section */
.hero {
    padding: calc(80px + var(--space-xxl)) var(--space-md) var(--space-xxl);
    background: linear-gradient(135deg, var(--background) 0%, var(--section-bg) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: var(--space-sm) var(--space-lg);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: #1a252f;
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    padding: var(--space-sm) var(--space-lg);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

/* Section Styles */
section {
    padding: var(--space-xxl) 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--section-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-text .lead {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    font-style: italic;
}

.about-text p {
    margin-bottom: var(--space-md);
    color: var(--text-light);
    font-size: 1.1rem;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.credential {
    background: white;
    padding: var(--space-md);
    border-radius: 8px;
    box-shadow: var(--shadow-card);
    border-left: 5px solid var(--accent-color);
    transition: all 0.3s ease;
}

.credential:hover {
    box-shadow: var(--shadow-gold);
    transform: translateX(5px);
}

.credential h4 {
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.credential p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

/* TEDx Section */
.tedx-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.tedx-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

.tedx-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.tedx-text h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.tedx-insights {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.tedx-insights li {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-md);
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.tedx-insights li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: bold;
}

.tedx-note {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
}

/* Services Section */
.services {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
    height: 60vh;
}

.service-card {
    background: white;
    padding: var(--space-md);
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
    border-top: 3px solid var(--accent-color);
}

.service-icon {
    margin-bottom: var(--space-md);
}

.service-icon img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: var(--shadow-soft);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Approach Section */
.approach {
    background: var(--section-bg);
}

.approach-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.approach-text h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.approach-text p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.approach-principles {
    list-style: none;
    margin-top: var(--space-lg);
}

.approach-principles li {
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
    position: relative;
    color: var(--text-light);
}

.approach-principles li:before {
    content: '◦';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-size: 1.5rem;
    top: -5px;
}

.approach-principles strong {
    color: var(--text-dark);
    font-weight: 600;
}

.approach-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    font-weight: 500;
}

.contact-info p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.contact-details {
    background: var(--section-bg);
    padding: var(--space-lg);
    border-radius: 12px;
    border-left: 5px solid var(--accent-color);
    box-shadow: var(--shadow-soft);
}

.contact-item {
    margin-bottom: var(--space-md);
    color: var(--text-light);
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item strong {
    color: var(--text-dark);
    font-weight: 600;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.footer-info h3 {
    font-family: var(--font-heading);
    margin-bottom: var(--space-sm);
    color: var(--accent-color);
}

.footer-info p {
    color: #ccc;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid #444;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    section {
        min-height: auto;
        display: block;
        padding: var(--space-md) 0;
    }
    
    .hero {
        min-height: auto;
        display: block;
        padding: calc(80px + var(--space-md)) var(--space-md) var(--space-md);
    }
    
    .hero-content,
    .about-content,
    .tedx-content,
    .approach-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        display: none; /* Simplified for mobile - would need hamburger menu */
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-primary,
    .btn-secondary {
        display: block;
        text-align: center;
        width: 200px;
    }
    
    .services {
        min-height: auto;
        display: block;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .credentials {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}