/* =============================================
   SCIENCE PAGE STYLES - FULLY RESPONSIVE
   ============================================= */

/* Page Header / Hero Section */
.science-page-header {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #021936 0%, #0a2a4a 100%);
    overflow: hidden;
    text-align: center;
}

.science-page-header__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.12;
}

.science-page-header__title {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.science-page-header__subtitle {
    font-size: 18px;
    color: #cbd5e0;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.science-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    list-style: none;
    padding: 0;
    margin: 15px 0 0;
}

.science-breadcrumb li {
    color: #0EBD66;
    font-size: 14px;
}

.science-breadcrumb li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.science-breadcrumb li a:hover {
    color: #0EBD66;
}

/* Section Styles */
.section-tag {
    color: #0EBD66;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title {
    color: #1a202c;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-title-white {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-text {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.7;
}

.section-text-white {
    color: #cbd5e0;
    font-size: 16px;
    line-height: 1.7;
}

/* Introduction Section */
.intro-section {
    padding: 80px 0;
    background: #ffffff;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Nutrigenomics 101 Section */
.nutrigenomics-section {
    padding: 80px 0;
    background: #f8fafc;
}

.two-column-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.two-column-layout--reverse {
    flex-direction: row-reverse;
}

.two-column-layout__image {
    flex: 1;
}

.two-column-layout__image img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
}

.two-column-layout__content {
    flex: 1;
}

.two-column-layout__title {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
}

.two-column-layout__text {
    color: #4a5568;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* How It Works Grid */
.howit-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.howit-card {
    flex: 1;
    min-width: calc(33.33% - 20px);
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.howit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #0EBD66;
}

.howit-card__number {
    width: 60px;
    height: 60px;
    background: #0EBD66;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.howit-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a202c;
}

.howit-card__text {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
}

/* Genes We Analyze Section */
.genes-section {
    padding: 80px 0;
    background: #ffffff;
}

.genes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 50px;
}

.gene-card {
    flex: 1;
    min-width: calc(33.33% - 17px);
    background: #f8fafc;
    border-radius: 16px;
    padding: 25px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.gene-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #0EBD66;
}

.gene-card__icon {
    width: 55px;
    height: 55px;
    background: #0EBD66;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.gene-card__icon i {
    font-size: 28px;
    color: #ffffff;
}

.gene-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a202c;
}

.gene-card__text {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
}

/* Behavior & Brain Section */
.behavior-section {
    padding: 80px 0;
    background: #f8fafc;
}

/* Gut Health Section */
.gut-section {
    padding: 80px 0;
    background: #ffffff;
}

/* Success Stories Section */
.stories-section {
    padding: 80px 0;
    background: #f8fafc;
}

.stories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 50px;
}

.story-card {
    flex: 1;
    min-width: calc(33.33% - 17px);
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.story-card__quote {
    font-size: 40px;
    color: #0EBD66;
    margin-bottom: 20px;
    line-height: 1;
}

.story-card__text {
    color: #4a5568;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.story-card__author {
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 5px;
}

.story-card__role {
    font-size: 13px;
    color: #0EBD66;
}

/* CTA Section */
.cta-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #0EBD66 0%, #0a9e55 100%);
    text-align: center;
}

.cta-section__title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.cta-section__text {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: #ffffff;
    color: #0EBD66;
    padding: 14px 35px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 1199px) {
    .science-page-header__title { font-size: 44px; }
    .section-title, .section-title-white { font-size: 32px; }
    .two-column-layout__title { font-size: 26px; }
    .cta-section__title { font-size: 32px; }
}

@media (max-width: 991px) {
    .science-page-header { padding: 80px 0; }
    .science-page-header__title { font-size: 38px; }
    .intro-section, .nutrigenomics-section, .genes-section, .behavior-section, .gut-section, .stories-section { padding: 60px 0; }
    .section-title, .section-title-white { font-size: 28px; }
    .two-column-layout, .two-column-layout--reverse { flex-direction: column; }
    .howit-card { min-width: calc(50% - 15px); }
    .gene-card { min-width: calc(50% - 13px); }
    .story-card { min-width: calc(50% - 13px); }
    .cta-section { padding: 50px 0; }
    .cta-section__title { font-size: 28px; }
}

@media (max-width: 767px) {
    .science-page-header { padding: 60px 0; }
    .science-page-header__title { font-size: 32px; }
    .science-page-header__subtitle { font-size: 16px; }
    .section-title, .section-title-white { font-size: 24px; }
    .two-column-layout__title { font-size: 22px; }
    .howit-card { min-width: 100%; }
    .gene-card { min-width: 100%; }
    .story-card { min-width: 100%; }
}

@media (max-width: 575px) {
    .science-page-header__title { font-size: 28px; }
    .science-breadcrumb { font-size: 12px; }
    .howit-card { padding: 25px 20px; }
    .story-card { padding: 25px 20px; }
    .cta-btn { padding: 12px 25px; font-size: 14px; }
}