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

body {
    font-family: "Poppins", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #ffffff;
    color: #111827;
    min-height: 100vh;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb;
}

.header-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 2.5rem;
    width: auto;
    display: block;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-button {
    background-color: #5566ba;
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s;
}

.login-button:hover {
    background-color: #4455a9;
}

.login-button:focus-visible {
    outline: 3px solid #1d4ed8;
    outline-offset: 2px;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    position: relative;
    min-height: 600px;
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url("/static/img/noviscient/hero-background.png");
    background-image: image-set(
        url("/static/img/noviscient/hero-background.webp") type("image/webp"),
        url("/static/img/noviscient/hero-background.png") type("image/png")
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.7),
        rgba(255, 255, 255, 0.5)
    );
}

.hero-container {
    max-width: 80rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 42rem;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    line-height: 1.75;
}

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

@media (max-width: 768px) {
    .header-container {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .logo-img {
        height: 2rem;
        width: auto;
    }

    .login-button {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    .hero {
        padding-top: 7rem;
        padding-bottom: 4rem;
        min-height: 520px;
    }

    .hero-title {
        font-size: 2.125rem;
        line-height: 1.25;
        margin-bottom: 1.25rem;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
        line-height: 1.65;
    }
}

/* What We Do Section */
.what-we-do {
    padding: 6rem 1.5rem;
    background-color: #ffffff;
}

.section-container {
    max-width: 80rem;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-text {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 56rem;
    margin: 0 auto;
    line-height: 1.75;
}

.section-text + .section-text {
    margin-top: 1.5rem;
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .what-we-do,
    .three-pillars,
    .quote-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.875rem;
        line-height: 1.25;
    }

    .section-text {
        font-size: 1.0625rem;
        line-height: 1.7;
    }

    .pillar-title {
        font-size: 1.25rem;
        line-height: 1.35;
    }

    .pillar-card {
        padding: 1.5rem;
        border-radius: 0.875rem;
    }

    .pillar-description {
        font-size: 1rem;
        line-height: 1.7;
    }

    .quote-text {
        font-size: 1.25rem;
        line-height: 1.6;
    }

    .author-title {
        font-size: 0.95rem;
    }

    .author-avatar {
        width: 3.5rem;
        height: 3.5rem;
    }

    .footer {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .footer-logo {
        margin-bottom: 1.5rem;
    }

    .footer-logo-img {
        height: 3rem;
        width: auto;
    }
}

/* Three Pillars Section */
.three-pillars {
    padding: 6rem 1.5rem;
    background-color: #f9fafb;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (min-width: 768px) {
    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pillar-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.pillar-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.pillar-icon {
    width: 3rem;
    height: 3rem;
    background-color: #5566ba;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pillar-icon .icon {
    height: 1.5rem;
    width: 1.5rem;
    color: white;
}

.pillar-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pillar-description {
    color: #4b5563;
    line-height: 1.75;
}

/* Quote Section */
.quote-section {
    padding: 6rem 1.5rem;
    background: linear-gradient(to bottom right, #eff6ff, #faf5ff);
}

.quote-container {
    max-width: 56rem;
    margin: 0 auto;
    text-align: center;
}

.quote-icon {
    margin-bottom: 2rem;
}

.quote-svg {
    width: 4rem;
    height: 4rem;
    color: #2563eb;
    opacity: 0.3;
    margin: 0 auto;
}

.quote-text {
    font-size: 1.875rem;
    font-weight: 500;
    color: #111827;
    line-height: 1.75;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .quote-text {
        font-size: 1.5rem;
    }
}

.quote-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-avatar {
    width: 4rem;
    height: 4rem;
    background-color: #5566ba;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-initials {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    color: #111827;
}

.author-title {
    color: #4b5563;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #d1d5db;
    padding: 4rem 1.5rem;
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 4rem;
    width: auto;
    display: block;
}

.footer-text {
    text-align: center;
}

.copyright {
    color: #9ca3af;
    font-size: 0.875rem;
}
