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

:root {
    --primary-blue: #1f4788;
    --dark-blue: #152e5f;
    --light-blue: #3a6bb5;
    --accent-orange: #e67e22;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --text-dark: #2c3e50;
    --text-gray: #5a6c7d;
    --border: #dee2e6;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
}

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

/* Centered Navbar */
.navbar-centered {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.navbar-centered.hide {
    transform: translateY(-100%);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    flex-direction: column;
}

.brand-main {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.2;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.3s;
}

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

.nav-highlight {
    background: var(--accent-orange);
    color: var(--bg-white) !important;
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
}

.nav-highlight:hover {
    background: #d35400;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-hamburger span {
    width: 26px;
    height: 3px;
    background: var(--primary-blue);
    transition: 0.3s;
    border-radius: 2px;
}

/* Fullscreen Centered Hero */
.hero-fullscreen {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 71, 136, 0.85), rgba(21, 46, 95, 0.9));
}

.hero-text-center {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--bg-white);
    max-width: 900px;
    padding: 0 2rem;
}

.hero-overline {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-text-center h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-cta {
    display: inline-block;
    background: var(--accent-orange);
    color: var(--bg-white);
    padding: 1.125rem 3rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.0625rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.hero-cta:hover {
    background: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.4);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--bg-white);
    z-index: 1;
}

.hero-scroll-indicator span {
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.scroll-arrow {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Welcome Section */
.welcome-section {
    padding: 7rem 0;
    background: var(--bg-white);
}

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

.section-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-orange);
    font-weight: 700;
    margin-bottom: 1rem;
}

.welcome-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.welcome-text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Hexagon Services Grid */
.services-hexagon {
    padding: 7rem 0;
    background: var(--bg-light);
}

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

.section-header.centered {
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-subhead {
    font-size: 1.0625rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 1rem auto 0;
    line-height: 1.7;
}

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

.hex-item {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.hex-item:hover {
    border-color: var(--accent-orange);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hex-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
}

.hex-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.hex-item p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-gray);
}

/* Accordion */
.expertise-accordion {
    padding: 7rem 0;
    background: var(--bg-white);
}

.accordion-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 2px solid var(--border);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.accordion-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.accordion-icon {
    font-size: 2rem;
    font-weight: 300;
    color: var(--accent-orange);
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-gray);
    padding-bottom: 1.75rem;
}

/* Bento Grid Tools */
.tools-bento {
    padding: 7rem 0;
    background: var(--bg-light);
}

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

.bento-box {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.bento-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Benefit Box */
.benefit-box {
    border-left: 4px solid var(--accent-orange);
}

.benefit-icon {
    font-size: 2rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
    display: block;
}

/* Institutional Box */
.institutional-box {
    border-top: 4px solid var(--primary-blue);
}

.inst-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.bento-box h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.bento-box p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.bento-box a {
    font-size: 0.875rem;
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
}

.bento-box a:hover {
    text-decoration: underline;
}

/* Doctrine Box */
.doctrine-box {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--bg-white);
    border: none;
}

.doctrine-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg-white);
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.doctrine-box h4 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.doctrine-box h4 a {
    color: var(--bg-white);
    text-decoration: none;
    border-bottom: 3px solid var(--accent-orange);
    transition: border-color 0.3s;
}

.doctrine-box h4 a:hover {
    border-bottom-color: var(--bg-white);
}

.doctrine-box p {
    color: var(--bg-white);
    opacity: 0.95;
    font-size: 1rem;
}

/* Circles Grid */
.clients-circles {
    padding: 7rem 0;
    background: var(--bg-white);
}

.circles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.circle-item {
    text-align: center;
}

.circle-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-blue);
    color: var(--bg-white);
    font-size: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s;
}

.circle-item:hover .circle-icon {
    background: var(--accent-orange);
    transform: scale(1.1);
}

.circle-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Masonry Testimonials */
.testimonials-masonry {
    padding: 7rem 0;
    background: var(--bg-light);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.masonry-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
}

.masonry-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.masonry-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.masonry-card cite {
    font-size: 0.875rem;
    color: var(--text-gray);
    font-style: normal;
    font-weight: 600;
}

/* Contact Split */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 700px;
}

.contact-info-side {
    background: var(--primary-blue);
    color: var(--bg-white);
    padding: 5rem 4rem;
    display: flex;
    align-items: center;
}

.section-eyebrow.light {
    color: var(--accent-orange);
}

.contact-info-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.contact-info-content > p {
    font-size: 1.0625rem;
    line-height: 1.7;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.info-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-item p {
    font-size: 0.9375rem;
    opacity: 0.9;
}

.specialties-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.specialties-list span {
    background: rgba(255, 255, 255, 0.15);
    color: var(--bg-white);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

/* Contact Form */
.contact-form-side {
    background: var(--bg-light);
    padding: 5rem 4rem;
    display: flex;
    align-items: center;
}

.modern-form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-white);
    transition: border-color 0.3s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.form-btn {
    background: var(--accent-orange);
    color: var(--bg-white);
    padding: 1.125rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.form-btn:hover {
    background: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.3);
}

/* Simple Footer */
.simple-footer {
    background: var(--dark-blue);
    color: var(--bg-white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-block h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-block p {
    font-size: 0.9375rem;
    line-height: 1.7;
    opacity: 0.9;
}

.footer-block a {
    color: var(--bg-white);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 1024px) {
    .doctrine-box {
        grid-column: span 1;
    }

    .contact-split {
        grid-template-columns: 1fr;
    }

    .contact-info-side,
    .contact-form-side {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .nav-links.active {
        left: 0;
    }

    .hero-fullscreen {
        height: 80vh;
    }

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

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

    .circles-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero-text-center {
        padding: 0 1.5rem;
    }

    .contact-info-side,
    .contact-form-side {
        padding: 3rem 1.5rem;
    }
}
