/*
Theme Name: Mederi AI
Theme URI: 
Author: Mike Ryan Barquilla
Author URI: 
Description: Custom WordPress theme for Mederi AI.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mederi-ai
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Add your custom styles here */
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
    Cantarell, "Helvetica Neue", sans-serif;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;

}

.site-main {
  margin: 0 auto;
  min-height: calc(100dvh - 80px);
}

.site-header {
  border-bottom: 1px solid #eee;
  background: #f9f9f9;
}

.site-footer {
  border-top: 1px solid #eee;
  padding: 2rem 1rem;
  text-align: center;
  background: #f9f9f9;
}

/* =========================================================================
   Home Page - Hero Section
   ========================================================================= */

.home-hero-section {
    padding-top: 80px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin: 0 auto;
}

.hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1280px;
    padding: 0 1rem;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Content Side */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 24px;
    width: 100%;
    max-width: 680px;
}

/* Pre-title Label */
.hero-pre-title-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 6px 16px;
    gap: 8px;
    background: #F2FCF2;
    border-radius: 9999px;
}
.green-dot-container {
    position: relative;
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.green-dot-bg {
    position: absolute;
    inset: 0;
    background: #228C22;
    opacity: 0.75;
    border-radius: 9999px;
    z-index: 0;
}
.green-dot {
    width: 10px;
    height: 10px;
    background: #228C22;
    border-radius: 9999px;
    z-index: 1;
}
.hero-pre-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    display: flex;
    align-items: center;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #228C22;
    margin: 0;
}

/* Main Title */
.hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 64px;
    line-height: 110%;
    letter-spacing: -0.01em;
    color: #0A1837;
    margin: 0;
}
.highlighted-text {
    display: inline-flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 3.265px 10.784px;
    background: rgba(34, 140, 34, 0.1);
    border-radius: 10px;
    color: #228C22;
}

/* Description */
.hero-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: -0.539px;
    color: #0A1837;
    margin: 0;
    max-width: 638px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-top: 12px;
}
.btn-primary {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px;
    gap: 10px;
    background: #228C22;
    border-radius: 12px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #FFFFFF;
    text-decoration: none;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
}
.btn-primary:hover {
    background: #1a6b1a; /* Darker green on hover */
}
.btn-secondary {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px;
    gap: 10px;
    border: 1px solid #228C22;
    border-radius: 12px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    color: #228C22;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.btn-secondary:hover {
    background: rgba(34, 140, 34, 0.1);
}

/* Image Side */
.hero-image-wrapper {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
}
.hero-bg-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* =========================================================================
   Responsive Adjustments (Home Hero)
   ========================================================================= */

@media (max-width: 1024px) {
    .hero-image-wrapper {
        display: none;
    }

    .home-hero-section {
        padding-top: 60px;
    }
    .hero-container {
        flex-direction: column;
        gap: 60px;
    }
    .hero-content {
        padding: 0;
        align-items: center;
        text-align: center;
    }
    .hero-title {
        font-size: 48px;
    }
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .home-hero-section {
        padding-top: 40px;
    }
    .hero-title {
        font-size: 36px;
    }
    .hero-description {
        font-size: 14px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================================
   Pipeline Hero Section
   ========================================================================= */

.pipeline-hero-section {
    position: relative;
    width: calc(100% - 32px); /* 16px horizontal margin to match header 1rem */
    max-width: 1248px; /* Align image exactly to logo (1280px - 32px padding) */
    height: 600px;
    margin: 60px auto;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    background-color: #014B24; /* Fallback */
    overflow: hidden;
}

.pipeline-hero-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    /* Stronger green tint gradient covering entire image to match design reference visually */
    background: linear-gradient(83.93deg, rgba(1, 75, 36, 0.75) 7.42%, rgba(2, 177, 85, 0.45) 110.39%);
    z-index: 1;
    pointer-events: none;
}

.pipeline-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.pipeline-hero-content {
    position: absolute;
    left: 60.5px;
    top: 75px;
    max-width: 585.5px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pipeline-hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 64px;
    line-height: 110%;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    margin: 0;
}

.pipeline-hero-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 160%;
    color: #FFFFFF;
    margin: 0;
}

/* Tablet */
@media (max-width: 1024px) {
    .pipeline-hero-section {
        height: 480px;
        margin: 40px auto;
    }
    .pipeline-hero-content {
        left: 40px;
        top: 60px;
        max-width: 480px;
    }
    .pipeline-hero-title {
        font-size: 48px;
    }
    .pipeline-hero-description {
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .pipeline-hero-section {
        height: auto;
        min-height: 380px;
        width: calc(100% - 32px);
        margin: 24px auto;
        border-radius: 16px;
    }
    .pipeline-hero-overlay {
        border-radius: 16px;
    }
    .pipeline-hero-content {
        position: relative;
        left: 0;
        top: 0;
        padding: 48px 24px;
        max-width: 100%;
    }
    .pipeline-hero-title {
        font-size: 36px;
    }
    .pipeline-hero-description {
        font-size: 16px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .pipeline-hero-section {
        width: calc(100% - 24px);
        margin: 16px auto;
        min-height: 320px;
        border-radius: 12px;
    }
    .pipeline-hero-overlay {
        border-radius: 12px;
    }
    .pipeline-hero-content {
        padding: 32px 20px;
        gap: 16px;
    }
    .pipeline-hero-title {
        font-size: 28px;
    }
    .pipeline-hero-description {
        font-size: 14px;
    }
}

