/* =====================================================
   OceanTeam — Corporate Site Stylesheet
   Theme: White / Navy Blue / Bluish Forest Green
   Style: 2018 Corporate (flat, sharp, structured)
   ===================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy:        #1C3A6B;
    --navy-dark:   #122649;
    --navy-light:  #2E5499;
    --green:       #1F6B5A;
    --green-dark:  #155044;
    --green-light: #2A8C76;
    --teal:        #207A7A;
    --slate:       #4A6080;
    --white:       #FFFFFF;
    --grey-bg:     #F2F4F7;
    --grey-light:  #E8ECF1;
    --grey-mid:    #B0BAC8;
    --grey-text:   #6B7A90;
    --text:        #1E2533;
    --text-light:  #4A5568;
    --border:      #CDD3DC;
    --shadow:      rgba(28, 58, 107, 0.12);
    --notice-bg:   #FFF8E6;
    --notice-bdr:  #D4A017;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--navy);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Top Info Bar --- */
.top-bar {
    background: var(--navy-dark);
    color: #9DB4D4;
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: 0.02em;
    border-bottom: 1px solid #0D1B35;
    padding: 6px 0;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-right a {
    color: #9DB4D4;
    font-size: 11.5px;
    text-decoration: none;
}
.top-bar-right a:hover {
    color: var(--white);
    text-decoration: underline;
}
.top-bar-right .sep {
    margin: 0 8px;
    color: #3A5070;
}

/* --- Site Header --- */
.site-header {
    background: var(--white);
    border-bottom: 3px solid var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px var(--shadow);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.site-logo {
    height: 40px;
    width: auto;
}
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0;
}
.main-nav ul li a {
    display: block;
    padding: 8px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s;
}
.main-nav ul li a:hover {
    color: var(--navy);
    border-bottom-color: var(--navy);
    text-decoration: none;
}
.main-nav ul li a.nav-cta {
    background: var(--navy);
    color: var(--white);
    padding: 7px 16px;
    border-bottom: 3px solid transparent;
    margin-left: 8px;
}
.main-nav ul li a.nav-cta:hover {
    background: var(--navy-light);
    border-bottom-color: transparent;
    text-decoration: none;
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 1px solid var(--border);
    padding: 8px 10px;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
}

/* --- Hero --- */
.hero {
    background: var(--navy-dark);
    background-image:
        linear-gradient(135deg, #0E1D36 0%, #1C3A6B 55%, #1A4A5C 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    min-height: 460px;
    display: flex;
    align-items: center;
}
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 39px,
            rgba(255,255,255,0.03) 39px,
            rgba(255,255,255,0.03) 40px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 39px,
            rgba(255,255,255,0.03) 39px,
            rgba(255,255,255,0.03) 40px
        );
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}
.hero-badge {
    display: inline-block;
    background: rgba(31, 107, 90, 0.35);
    border: 1px solid var(--green-light);
    color: #6BDDC7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 12px;
    margin-bottom: 22px;
}
.hero h1 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 22px;
}
.hero-sub {
    font-size: 16px;
    color: #A8BDD4;
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 600px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(168,189,212,0.5);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 1;
}
.scroll-arrow {
    width: 1px;
    height: 28px;
    background: rgba(168,189,212,0.3);
    margin: 6px auto 0;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 11px 26px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    font-family: 'Open Sans', sans-serif;
}
.btn-primary {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}
.btn-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    text-decoration: none;
    color: var(--white);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    text-decoration: none;
    color: var(--white);
}
.btn-project {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy);
    border: 1px solid var(--navy);
    padding: 7px 16px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.btn-project:hover {
    background: var(--navy);
    color: var(--white);
    text-decoration: none;
}
.btn-project.btn-disabled {
    color: var(--grey-text);
    border-color: var(--grey-mid);
    cursor: not-allowed;
    pointer-events: none;
}

/* --- Stats Bar --- */
.stats-bar {
    background: var(--navy);
    padding: 0;
    border-bottom: 3px solid var(--green);
}
.stats-inner {
    display: flex;
    align-items: stretch;
}
.stat-item {
    flex: 1;
    padding: 28px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.stat-num {
    font-family: 'Merriweather', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}
.stat-suffix {
    font-family: 'Merriweather', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-left: 2px;
}
.stat-num-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1px;
}
.stat-tilde {
    font-family: 'Merriweather', serif;
    font-size: 28px;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    line-height: 1;
}
.stat-static {
    font-family: 'Merriweather', serif;
    font-size: 36px;
    font-weight: 700;
    color: rgba(255,255,255,0.55);
    line-height: 1;
}
.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #7A9DC4;
    font-weight: 600;
    margin-top: 4px;
}
.stat-divider {
    width: 1px;
    background: rgba(255,255,255,0.12);
    margin: 20px 0;
}

/* --- Section Base --- */
.section {
    padding: 70px 0;
}
.section--white { background: var(--white); }
.section--grey  { background: var(--grey-bg); }

.section-header {
    margin-bottom: 44px;
}
.section-header h2 {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 12px;
}
.section-rule {
    width: 48px;
    height: 4px;
    background: var(--green);
    margin-bottom: 16px;
}
.section-sub {
    font-size: 15px;
    color: var(--text-light);
    max-width: 640px;
    line-height: 1.7;
}

/* --- About Section --- */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}
.about-body p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-disclaimer {
    margin-top: 24px;
    background: var(--grey-bg);
    border-left: 4px solid var(--navy);
    padding: 14px 18px;
    font-size: 13px;
    color: var(--grey-text);
    line-height: 1.6;
}
.about-disclaimer strong { color: var(--navy); }
.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: 2px 3px 12px var(--shadow);
}
.pillar {
    padding: 24px 22px;
    border-bottom: 1px solid var(--grey-light);
}
.pillar:last-child { border-bottom: none; }
.pillar-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.pillar-icon--navy { background: var(--navy); color: var(--white); }
.pillar-icon--green { background: var(--green); color: var(--white); }
.pillar h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy-dark);
    margin-bottom: 6px;
}
.pillar p {
    font-size: 13.5px;
    color: var(--grey-text);
    line-height: 1.65;
}

/* --- Projects Section --- */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.filter-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--grey-text);
    margin-right: 8px;
}
.filter-btn {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.03em;
    transition: background 0.12s, color 0.12s;
}
.filter-btn:hover {
    background: var(--grey-light);
}
.filter-btn.active {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.project-card {
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: 1px 2px 8px var(--shadow);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.15s, transform 0.15s;
}
.project-card:hover {
    box-shadow: 3px 6px 18px rgba(28, 58, 107, 0.18);
    transform: translateY(-2px);
}
.project-card--muted {
    opacity: 0.82;
}
.project-card-accent {
    height: 5px;
    width: 100%;
}
.project-card-accent--navy  { background: var(--navy); }
.project-card-accent--green { background: var(--green); }
.project-card-accent--teal  { background: var(--teal); }
.project-card-accent--slate { background: var(--slate); }
.project-card-body {
    padding: 22px 22px 16px;
    flex: 1;
}
.project-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.project-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-icon--navy  { background: #E8EDF5; color: var(--navy); }
.project-icon--green { background: #E5F2EF; color: var(--green); }
.project-icon--teal  { background: #E5F0F0; color: var(--teal); }
.project-icon--slate { background: #EAECF0; color: var(--slate); }
.badge {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border: 1px solid;
}
.badge--active {
    background: #E6F4EF;
    border-color: #2A8C6A;
    color: #1A6349;
}
.badge--beta {
    background: #EBF0FA;
    border-color: var(--navy-light);
    color: var(--navy);
}
.badge--dev {
    background: #F0F2F5;
    border-color: var(--slate);
    color: var(--slate);
}
.project-card-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 8px;
    font-family: 'Merriweather', serif;
}
.project-card-body p {
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 14px;
}
.project-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.tag {
    font-size: 11px;
    font-weight: 600;
    background: var(--grey-bg);
    color: var(--grey-text);
    padding: 3px 9px;
    border: 1px solid var(--grey-light);
    letter-spacing: 0.03em;
}
.project-card-footer {
    padding: 14px 22px 18px;
    border-top: 1px solid var(--grey-light);
    display: flex;
    align-items: center;
    gap: 16px;
    background: #FAFBFC;
}
.project-gh-link {
    font-size: 12px;
    color: var(--grey-text);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--grey-mid);
}
.project-gh-link:hover {
    color: var(--navy);
    border-color: var(--navy);
    text-decoration: none;
}
.projects-note {
    margin-top: 32px;
    padding: 14px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--green);
}
.projects-note p {
    font-size: 13px;
    color: var(--grey-text);
    line-height: 1.65;
}

/* --- Notice Banner --- */
.notice-banner {
    background: var(--notice-bg);
    border-top: 1px solid var(--notice-bdr);
    border-bottom: 1px solid var(--notice-bdr);
    padding: 12px 0;
    font-size: 13px;
    color: #7A5C00;
    line-height: 1.5;
}
.notice-banner strong { color: #5A4000; }

/* --- Team Section --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.team-card {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 28px 20px 24px;
    box-shadow: 1px 2px 8px var(--shadow);
    text-align: center;
}
.team-avatar {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 16px;
    letter-spacing: 0.04em;
}
.team-avatar--navy  { background: var(--navy); }
.team-avatar--green { background: var(--green); }
.team-avatar--teal  { background: var(--teal); }
.team-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-dark);
    margin-bottom: 4px;
}
.team-role {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--green);
    margin-bottom: 12px;
}
.team-card p {
    font-size: 13px;
    color: var(--grey-text);
    line-height: 1.65;
}
.team-note {
    margin-top: 28px;
    font-size: 13px;
    color: var(--grey-text);
    text-align: center;
    padding: 12px;
    border-top: 1px solid var(--grey-light);
}

/* --- Contact Section --- */
.contact-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 60px;
    align-items: start;
}
.contact-info-col h3 {
    font-family: 'Merriweather', serif;
    font-size: 20px;
    color: var(--navy-dark);
    margin-bottom: 14px;
    font-weight: 700;
}
.contact-info-col > p {
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 20px;
}
.contact-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 14px;
}
.contact-table tr {
    border-bottom: 1px solid var(--grey-light);
}
.contact-table td {
    padding: 10px 0;
    color: var(--text-light);
    vertical-align: top;
}
.contact-table td a { color: var(--navy); }
.contact-key {
    font-weight: 700;
    color: var(--text);
    width: 110px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.contact-note {
    font-size: 12.5px;
    color: var(--grey-text);
    line-height: 1.65;
    padding: 12px 14px;
    background: var(--grey-bg);
    border-left: 3px solid var(--grey-mid);
}
.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 32px 28px;
    box-shadow: 1px 2px 10px var(--shadow);
}
.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text);
    margin-bottom: 6px;
}
.req { color: var(--green); }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 9px 12px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--border);
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: none;
    border-radius: 0;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(28,58,107,0.08);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234A5568' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}
.form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 4px;
}
.form-note {
    font-size: 12px;
    color: var(--grey-text);
}
.form-success {
    display: none;
    margin-top: 16px;
    padding: 12px 16px;
    background: #E6F4EF;
    border: 1px solid #2A8C6A;
    color: #1A6349;
    font-size: 13.5px;
    font-weight: 600;
}

/* --- Site Footer --- */
.site-footer {
    background: #0F1E38;
    color: #7A9DC4;
    border-top: 4px solid var(--green);
}
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 52px 24px 44px;
}
.footer-logo {
    height: 34px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1) opacity(0.85);
}
.footer-brand p {
    font-size: 13.5px;
    line-height: 1.75;
    color: #6A8AAE;
    margin-bottom: 8px;
}
.footer-tagline {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3A6A8A;
}
.footer-links-col h5 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #AABDD4;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #1E3A5A;
}
.footer-links-col ul li {
    margin-bottom: 8px;
}
.footer-links-col ul li a {
    font-size: 13px;
    color: #6A8AAE;
    text-decoration: none;
    transition: color 0.12s;
}
.footer-links-col ul li a:hover {
    color: var(--white);
    text-decoration: none;
}
.footer-bottom {
    background: #0A1526;
    border-top: 1px solid #1A2E4A;
    padding: 14px 0;
}
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11.5px;
    color: #3E5A7A;
}
.footer-meta { color: #2E4A6A; }

/* --- Hidden / Filtered Cards --- */
.project-card.hidden {
    display: none;
}

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-pillars {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .pillar { border-bottom: none; border-right: 1px solid var(--grey-light); }
    .pillar:last-child { border-right: none; }
}

@media (max-width: 768px) {
    .top-bar-left { display: none; }
    .main-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 2px solid var(--navy);
        box-shadow: 0 4px 12px var(--shadow);
        z-index: 99;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; }
    .main-nav ul li a {
        padding: 14px 24px;
        border-bottom: 1px solid var(--grey-light);
        border-left: none;
        margin-bottom: 0;
    }
    .main-nav ul li a.nav-cta { margin: 0; }
    .nav-toggle { display: flex; }
    .header-inner { position: relative; }
    .hero { padding: 70px 0 60px; }
    .hero h1 { font-size: 28px; }
    .stats-inner {
        flex-wrap: wrap;
    }
    .stat-item { flex: 1 1 50%; }
    .stat-divider { display: none; }
    .projects-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; gap: 32px; }
    .form-row-two { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-bottom-inner { flex-direction: column; gap: 4px; text-align: center; }
    .about-pillars { grid-template-columns: 1fr; }
    .pillar { border-right: none; border-bottom: 1px solid var(--grey-light); }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 23px; }
    .section-header h2 { font-size: 22px; }
    .team-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; }
    .filter-bar { flex-direction: column; align-items: flex-start; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; }
}
