@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:wght@200;400;600;700&family=Inter:wght@400&display=swap');

:root {
    --body-bg: #ECECEC;
    --block-bg: #FFFEF6;
    --grey: #C0C0C0;
    --black: #1E1E1E;
    --yellow: #FEA000;
    --red: #FC4C00;
    --purple: #69349A;
    --blue: #0150B5;
    --green: #095C38;
    --radius: 20px;
    --gap: 10px;
    --block-padding: 3.125rem; /* 50px */
}

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

body {
    font-family: 'Geist Mono', monospace;
    background: var(--body-bg);
    color: var(--black);
    padding: 80px 79px;
    min-height: 100vh;
}

/* ============== LAYOUT WRAPPER ============== */
.site-wrapper {
    max-width: 1618px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

/* ============== HERO ============== */
.hero {
    background: var(--grey);
    background-image: url(../assets/Hero-bg.png);
    background-size: cover; 
    border-radius: var(--radius);
    overflow: hidden;
    padding: 0;
    display: flex;
    flex-direction: column;   
    align-items: stretch;

}

.hero-top {
    display: flex;
    align-items: stretch;
    flex: 1;
}

.hero-heading {
    flex: 1;
    min-width: 300px;
    border-right: var(--body-bg) 1px solid;
    padding: 50px 50px;
    vertical-align: middle;
    display: flex;
}

.hero-heading h1 {
    color: var(--block-bg);
    font-size: 44px;
    font-weight: 700;
    line-height: 1.2;
    max-width: 780px;
    align-self: center;

}

.hero-animated-logo {
    width: 484px;
    height: 484px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-animated-logo .circle {
    width: 235.55px;
    height: 235.55px;
    background: var(--block-bg);
    border-radius: 50%;
}

.hero-bottom {
    display: flex;
    align-items: center;
    justify-content:stretch;
    border-top: 1px solid var(--block-bg);
    flex-wrap: wrap;
}

.hero-logo-frame {
    flex: 1;
    max-width: 100%;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: var(--block-padding);
}

.hero-logo-frame svg {
    width: 100%;
    height: auto;
}

.hero-text {
    flex: 1;
    min-width: 280px;
    flex-grow: 2;
    padding: 80px 80px;
    border-left: var(--block-bg) 0.5px solid;
}

.hero-text p {
    color: var(--block-bg);
    font-size: 18px;
    font-weight: 200;
    line-height: 1.5;

}

.hero-text strong {
    font-weight: 700;
}

/* ============== SECTION COMMON ============== */
.section {
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.section-header {
    padding: var(--block-padding);
    background: var(--block-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--gap);
    text-align: center;
    border-bottom: var(--body-bg) 1px solid;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 600;
}

.section-header p {
    font-size: 20px;
    font-weight: 200;
}

.section-header strong {
    font-weight: 700;
}

/* ============== STRATEGY ============== */
.strategy {
    background: var(--grey);
}

.strategy .section-header {
    border-bottom: 1px solid var(--body-bg);
    padding: 80px 50px;
}

.strategy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--body-bg);
}

.strategy-card {
    background: var(--block-bg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1 / 1;
}

.strategy-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.strategy-card-header h3 {
    font-size: 30px;
    font-weight: 700;
}

.strategy-card-header .icon {
    flex-shrink: 0;
}

.strategy-card p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.strategy-card p strong {
    font-weight: 700;
}

.color-yellow { color: var(--yellow); }
.color-red { color: var(--red); }
.color-purple { color: var(--purple); }
.color-blue { color: var(--blue); }

.strategy-footer {
    padding: 60px 50px;
    background: var(--block-bg);
    text-align: center;
    border-top: var(--body-bg) 1px solid;
}

.strategy-footer p {
    font-size: 22px;
    font-weight: 200;
}

.strategy-footer a {
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
}

/* ============== TOOLS ============== */
.tools {
    background: var(--body-bg);
}

.tools-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: var(--body-bg);
    border-bottom: var(--body-bg) 1px solid;
}

.tools-header-content {
    grid-column: span 2;
    background: var(--block-bg);
    padding: var(--block-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--gap);
}

.tools-header-content h2 {
    font-size: 40px;
    font-weight: 600;
    padding-bottom: 0.5rem  ;
}

.tools-header-content p {
    font-size: 22px;
    font-weight: 200;
    line-height: 1.5;
}

.tools-header-logos {
    grid-column: span 1;
    aspect-ratio: 1/1;
    background: var(--block-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
}

.tools-header-logos img {
    width: 200px;
    object-fit: contain;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--body-bg);
}

.tools-card {
    background: var(--block-bg);
    padding: var(--block-padding);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1/1;
}

.tools-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: var(--gap);
}

.tools-card .subtitle {
    font-size: 16px;
    font-weight: 400;
    color: var(--grey);
    margin-bottom: 20px;
}

.tools-card p {
    font-size: 20px;
    font-weight: 200;
    line-height: 1.5;
}

.tools-card p strong {
    font-weight: 700;
}

.tools-card.databases .card-active {
    border-left: 5px solid var(--blue);
    padding-left: var(--block-padding);
    margin-left: calc(-1 * (var(--block-padding)));
}


/* ============== WORKS ============== */
.works {
    background: var(--body-bg) 1px solid;
}

.works .section-header {
    padding: 80px 50px;
}

.works-content {
    display: grid;
    grid-template-columns: 485px 1fr;
    gap: 1px;
    background: var(--body-bg) 1px solid;
}

.works-tabs {
    display: flex;
    flex-direction: column; 
    gap: 1px;
    background: var(--block-bg);
    box-shadow: inset -20px 1px 400px 10px #bfbfbf99;

}

.works-tab {
    background: var(--block-bg);
    padding: 25px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 161px;
}

.works-tab.active {
    border-left: 5px solid var(--red);
    flex-grow: 2;
}

.works-tab.faded {
    opacity: 0.7;
}

.tab-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-header h4 {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
}

.tag {
    padding: 5px 10px;
    border-radius: 20px;
    border: 1px solid;
    font-size: 12px;
    font-weight: 200;
    white-space: nowrap;
}

.tag-green { border-color: var(--green); color: var(--green); }
.tag-red { border-color: var(--red); color: var(--red); }
.tag-yellow { border-color: var(--yellow); color: var(--yellow); }

.tab-description {
    font-size: 14px;
    font-weight: 200;
    margin-top: 10px;

}

.works-preview {
    background: var(--block-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-shadow: inset 0 0 0 5px #000;
}

.works-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    scroll-behavior: smooth;
    overflow-y: hidden;
    overflow-x: visible;
    
}

/* ============== FOOTER ============== */
.footer {
    background: var(--body-bg);
}

.footer-inner {
    display: flex;
    flex-direction: row;
    gap: 10px;
    background: var(--body-bg);
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--body-bg);
    flex: 2;
    aspect-ratio: 1/1;
}

.footer-right {
    background: var(--body-bg);
    flex:1;

}

/* -------- Testimonials -------- */
.footer-testimonials {
    background: var(--block-bg);
    padding: var(--block-padding);
    border-radius: var(--radius);
    outline: 1px solid var(--body-bg);
    outline-offset: -1px;
    overflow: hidden;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
}

.footer-testimonials-content {
    display: flex;
    align-items: center;
    gap: 50px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.footer-testimonials-picture {
    flex-shrink: 0;
}

.footer-testimonials-picture img {
    width: 200px;
    height: 200px;
    border-radius: 0;
    display: block;
}

.footer-testimonials-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.footer-testimonials-text-main {
    font-size: 18px;
    font-weight: 200;
    line-height: 1.5;
    color: var(--black);
}

.footer-testimonials-text-main .bold {
    font-weight: 700;
}

.footer-testimonials-text-main .light {
    font-weight: 200;
    font-style: italic;
}

.footer-testimonials-text-name {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
}

.footer-testimonials-paging {
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: center;
    padding: 5px 10px;
    border-radius: 20px;
    outline: 1px solid var(--body-bg);
    outline-offset: -1px;
}

.page-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #D9D9D9;
    display: block;
}

.page-dot.active {
    background: #0E8C72;
}

/* -------- Organi CTA -------- */
.footer-organi {
    border-radius: var(--radius);
    overflow: hidden;
    outline: 1px solid var(--body-bg);
    outline-offset: -1px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
    padding: 0 var(--block-padding);
    background:
        url(../assets/Hero-bg.png) center / cover no-repeat;
        height: 40%;
}

.footer-organi-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.footer-organi-logo-img {
    display: block;
    max-width: 100%;
    height: auto;
}

.footer-organi-subtitle {
    text-align: center;
    color: var(--block-bg);
    font-size: 18px;
    font-weight: 300;
}

/* -------- Contact -------- */
.contact {
    background: var(--block-bg);
    border-radius: var(--radius);
    outline: 1px solid var(--body-bg);
    outline-offset: -1px;
    overflow: hidden;
    padding: var(--block-padding);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 1/2;
}

.contact-header {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-heading {
    font-size: 40px;
    font-weight: 600;
    color: var(--black);
}

.contact-text {
    font-size: 16px;
    font-weight: 200;
    color: var(--black);
    line-height: 1.5;
}

.contact-form {
    border-radius: var(--radius);
    overflow: hidden;
    outline: 1px solid var(--body-bg);
    outline-offset: -1px;
    display: flex;
    flex-direction: column;
    gap: 0px;
    background: var(--block-bg);
}

.contact-form-field {
    background: white;
    padding: 20px;
    margin-bottom: -1px;
    border: 1px solid var(--body-bg);
}

.contact-form-field-message {
    min-height: 300px;
    display: flex;
    align-items: flex-start;
}

.contact-form-placeholder {
    font-size: 16px;
    font-weight: 200;
    color: var(--grey);
}

.contact-form-button {
    background: var(--green);
    padding: 20px;
    outline: 1px solid var(--green);
    outline-offset: -1px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.contact-form-button span {
    font-size: 18px;
    font-weight: 700;
    color: var(--block-bg);
    text-align: center;
}

.contact-link {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-link p {
    font-size: 14px;
    font-weight: 200;
    color: var(--black);
}

.contact-link a {
    font-weight: 200;
    color: var(--blue);
    text-decoration: none;
}

.contact-link a:hover {
    text-decoration: underline;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1200px) {
    body { padding: 40px 30px; }
    .strategy-grid { grid-template-columns: repeat(2, 1fr); }
    .tools-header { grid-template-columns: 1fr; }
    .tools-header-logos { width: 100%; height: auto; padding: 30px; }
    .tools-grid { grid-template-columns: 1fr; }
    .works-content { grid-template-columns: 1fr; }
    .hero-top { flex-direction: column; text-align: center; }
    .hero-heading h1 { max-width: 100%; }
    .hero-bottom { flex-direction: column; text-align: center; }
    .hero-logo-frame { width: 100%; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-testimonials-content { flex-direction: column; text-align: center; }
    .footer-testimonials-picture { margin-bottom: 20px; }
}

@media (max-width: 768px) {
    body { padding: 20px 15px; }
    .strategy-grid { grid-template-columns: 1fr; }
    .hero-heading h1 { font-size: 32px; }
    .hero-animated-logo { width: 300px; height: 300px; }
    .hero-animated-logo .circle { width: 160px; height: 160px; }
    .section-header h2 { font-size: 28px; }
    .tools-header-content h2 { font-size: 28px; }
    .tools-card h3 { font-size: 22px; }
    .strategy-card { min-height: auto; }
    .tools-card { min-height: auto; }
    .footer-testimonials { min-height: auto; }
    .footer-testimonials-content { padding-top: 30px; padding-bottom: 30px; }
    .footer-organi { min-height: auto; padding: 40px 30px; }
    .footer-organi-subtitle { font-size: 22px; }
    .contact { min-height: auto; }
    .contact-heading { font-size: 28px; }
    .contact-text { font-size: 18px; }
    .contact-form-placeholder { font-size: 18px; }
    .contact-form-button span { font-size: 18px; }
    .footer-testimonials-text-main { font-size: 18px; }
    .footer-testimonials-text-name { font-size: 16px; }
}
