/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0A2342; /* Dark Blue */
    --secondary-color: #48D1CC; /* Teal/Cyan */
    --text-color: #333;
    --light-gray-bg: #f4f7f6;
    --white-color: #ffffff;
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Lato', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--text-color);
}

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

h1, h2, h3 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-bottom: 20px;
}

h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.2rem; text-align: center; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 20px;
}

ul {
    list-style-position: inside;
    margin-left: 20px;
}

section {
    padding: 80px 0;
}

/* --- Header & Navigation --- */
header {
    background: var(--white-color);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-family: var(--heading-font);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 25px;
    height: 25px;
    border: 3px solid var(--secondary-color);
    border-radius: 50%;
    position: relative;
}
.logo-icon::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 3px;
    background: var(--secondary-color);
    top: 50%;
    left: -18px;
    transform: translateY(-50%);
}
.logo-icon::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 12px;
    background: var(--secondary-color);
    top: -12px;
    left: 40%;
}


header nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}

header nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

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

/* --- Hero Section --- */
#hero {
    background: linear-gradient(rgba(10, 35, 66, 0.8), rgba(10, 35, 66, 0.8)), url('https://www.toptal.com/designers/subtlepatterns/uploads/double-bubble-outline.png');
    color: var(--white-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px; /* Offset for fixed header */
}

#hero h1 { color: var(--white-color); }
#hero h3 { max-width: 800px; margin: 20px auto 30px; font-weight: 400; }
#hero h3 strong { color: var(--secondary-color); font-weight: 700;}

.cta-button {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--heading-font);
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* --- General Section Styling --- */
#challenge, #research {
    background-color: var(--light-gray-bg);
}

#challenge .container, #framework .container, #research .container, #contact .container {
    max-width: 800px;
    text-align: center;
}
#research .container, #research ul {
    text-align: left;
}


/* --- Pillars Section --- */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pillar-card {
    background: var(--white-color);
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* --- About Me Section --- */
.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image img {
    max-width: 250px;
    border-radius: 50%;
    border: 5px solid var(--secondary-color);
}

.about-text {
    flex: 1;
}

.social-links {
    margin-top: 20px;
}

.social-button {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--body-font);
    transition: all 0.3s ease;
    display: inline-block;
    margin: 5px;
}

.social-button:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

/* --- Contact & Footer --- */
#contact {
    background: var(--light-gray-bg);
}

#contact a {
    color: var(--secondary-color);
    font-weight: 700;
}
#contact .cta-button {
    margin-top: 20px;
}

footer {
    background: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 20px 0;
}
footer p {
    margin: 0;
    opacity: 0.8;
}

/* --- Responsive Design --- */
@media(max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    .pillar-grid {
        grid-template-columns: 1fr;
    }

    .about-flex {
        flex-direction: column;
        text-align: center;
    }
}
