@import url('https://fonts.googleapis.com/css2?family=Source+Serif+Pro:wght@400;600;700&family=Poppins:wght@300;400;600&display=swap');

/* --- THEME DEFINITIONS --- */
:root {
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Source Serif Pro', serif;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #212529;
    --text-secondary: #495057;
    --accent-primary: #007bff;
    /* Bright, classic blue */
    --accent-secondary: #0056b3;
    --card-shadow: rgba(0, 0, 0, 0.07);
}

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

body {
    font-family: var(--font-primary);
    line-height: 1.8;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

section {
    padding: 90px 0;
}

h1,
h2,
h3 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--text-primary);
}

h1 {
    font-size: 3.2rem;
    font-weight: 700;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 70px;
}

h3 {
    font-size: 1.6rem;
    color: var(--accent-primary);
}

p {
    margin-bottom: 20px;
    font-weight: 300;
    max-width: 700px;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-primary);
    margin: 25px auto 0;
}

/* --- HERO SECTION --- */
.hero {
    display: flex;
    align-items: center;
    min-height: 90vh;
    padding: 60px 0;
}

.hero-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1.2;
}

.hero-image {
    flex: 0.8;
    text-align: center;
}

.hero-image img {
    max-width: 300px;
    width: 100%;
    border-radius: 50%;
    border: 8px solid var(--bg-secondary);
    box-shadow: 0 10px 40px var(--card-shadow);
    object-fit: cover;
    /* Ensures the image covers the area without distortion */
    aspect-ratio: 1 / 1;
    /* Makes the image a perfect circle */
}

/* --- PHILOSOPHY SECTION --- */
.philosophy {
    background-color: var(--bg-secondary);
}

.philosophy-sidebyside {
    display: flex;
    align-items: stretch;
    gap: 50px;
    flex-wrap: wrap;
}

.philosophy-text {
    flex: 1 1 350px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.philosophy-image {
    flex: 0 0 260px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-image img {
    max-width: 220px;
    width: 100%;
    border-radius: 50%;
    border: 8px solid var(--bg-secondary);
    box-shadow: 0 10px 40px var(--card-shadow);
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.philosophy-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.philosophy blockquote {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 400;
    border-left: 4px solid var(--accent-primary);
    padding-left: 30px;
    margin: 0;
    text-align: left;
}



/* --- JOURNEY SECTION --- */
.journey-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.journey-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--accent-primary);
    opacity: 0.2;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-primary);
    border: 4px solid var(--accent-primary);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

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

.timeline-content {
    padding: 30px;
    background-color: var(--bg-primary);
    box-shadow: 0 10px 30px var(--card-shadow);
    border-radius: 8px;
}

.timeline-content span {
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.95rem;
}

.timeline-image {
    width: 100%;
    height: 150px;
    /* Set a fixed height for consistency */
    object-fit: cover;
    /* Cover the area */
    border-radius: 4px;
    margin-top: 20px;
    filter: grayscale(50%);
    /* Subtle desaturation to blend with the theme */
}

/* --- OPERATING SYSTEM --- */
.os {
    background-color: var(--bg-secondary);
}

.os-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.os-card {
    background-color: var(--bg-primary);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--accent-primary);
}

.os-card p {
    font-size: 0.95rem;
}

/* --- SECTION HEADERS --- */
.section-header {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-top: 20px;
}

/* --- INSIGHTS/NEWSLETTER SECTION --- */
.insights-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.insights-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

.insights-text {
    flex: 1;
    text-align: justify;
}

.insights-logo {
    flex: 0 0 200px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
}

.newsletter-logo {
    max-width: 180px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.newsletter-logo:hover {
    opacity: 1;
}

.insights-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
    text-align: justify;
}

.insights-action {
    margin-top: 40px;
}

/* --- CONTACT SECTION --- */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    margin-bottom: 40px;
}

.contact-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
    text-align: justify;
}

.contact-action {
    margin-top: 40px;
}

.contact p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-primary);
    color: #fff;
    padding: 15px 35px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-secondary);
}

footer {
    background-color: var(--bg-secondary);
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
}

footer a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

/* --- RESPONSIVE DESIGN --- */
@media(max-width: 992px) {
    .hero-layout {
        flex-direction: column-reverse;
        text-align: center;
    }

    h1 {
        font-size: 2.8rem;
    }
}

@media(max-width: 768px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .insights-layout {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .insights-text {
        text-align: justify;
    }

    .insights-logo {
        flex: none;
        padding-top: 0;
    }

    .newsletter-logo {
        max-width: 150px;
    }

    .journey-timeline::after {
        left: 10px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item::after {
        left: 1px;
    }
}