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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(26, 54, 93, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}

.logo {
    height: 80px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Navigation */
.nav {
    background: #253c9c;
    position: sticky;
    top: var(--header-height, 100px);
    z-index: 999;
}

.nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    display: block;
    padding: 1rem 2rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    background-color: rgba(214, 158, 46, 0.1);
    border-bottom-color: #d69e2e;
}

/* Main Content */
main {
    /* Offset only for fixed header. Nav is in normal flow, so don't double-offset */
    margin-top: var(--header-height, 100px);
}

/* Hero Section */
.hero {
    padding: 6rem 0 8rem;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.3;
    color: #253c9c;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
}

.section:nth-child(even) {
    background-color: #f8fafc;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #253c9c;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d69e2e, #b7791f);
}

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

.section-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4a5568;
    text-align: center;
}

/* Approach Section */
.approach {
    background: linear-gradient(135deg, #253c9c 0%, #2c5282 100%);
    color: #ffffff;
}

.approach .section-title {
    color: #ffffff;
}

.approach .section-text {
    color: #e2e8f0;
    font-size: 1.2rem;
}

/* Values Section */
.values .section-text {
    font-style: italic;
    font-size: 1.2rem;
}

/* Founder Section */
.founder-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.founder-image-container {
    display: flex;
    justify-content: center;
}

.founder-image-wrapper {
    width: 280px;
    aspect-ratio: 5 / 6; /* refined portrait ratio */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    background: #e2e8f0;
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.founder-bio {
    text-align: left;
}

.founder-points {
    list-style: none;
    padding: 0;
}

.founder-points li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
}

.founder-points li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: #d69e2e;
    font-weight: 600;
}

/* Services Section */
.services {
    background: #f8fafc;
}

.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #d69e2e;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #253c9c;
    margin-bottom: 1rem;
}

.service-description {
    color: #4a5568;
    line-height: 1.7;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #253c9c 0%, #2c5282 100%);
    color: #ffffff;
    text-align: center;
}

/* Simplified contact section: only a button */

.contact-button {
    background: linear-gradient(135deg, #d69e2e, #b7791f);
    color: #ffffff;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(214, 158, 46, 0.3);
    text-decoration: none;
    display: inline-block;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(214, 158, 46, 0.4);
    background: linear-gradient(135deg, #e2a02e, #c7861f);
}

/* Footer */
.footer {
    background: #1a202c;
    color: #a0aec0;
    text-align: center;
    padding: 2rem 0;
}

.footer-text {
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section {
        padding: 4rem 0;
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        padding: 0.8rem 1rem;
        font-size: 0.8rem;
    }

    .founder-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .founder-image-wrapper {
        width: 220px;
    }

    .services-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-item {
        padding: 2rem;
    }

    main {
        margin-top: var(--header-height, 100px);
    }

    .logo {
        height: 60px;
    }

    .nav {
        top: var(--header-height, 100px);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-text {
        font-size: 1rem;
    }

    .contact-button {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .founder-points li {
        font-size: 0.9rem;
    }
}
