/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background-image: url('./image/background.png');
    background-repeat: repeat;
    line-height: 1.6;
}

/* Page Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
    width: 60px;
    height: 60px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #eb0e0e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-loader.loaded {
    opacity: 0;
    visibility: hidden;
}

/* Typography */
.text-title {
    font-family: 'Inria Sans', 'Inter', sans-serif;
    text-decoration: underline;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 40px;
    justify-self: center;
}

.text-heavy {
    font-family: 'Jost', 'Inter', sans-serif;
    color: #ce1d1d;
}

.text-support {
    font-family: 'Inter', sans-serif;
}

.text-pns {
    font-family: 'Jost', 'Inter', sans-serif;
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
    width: 70%;
}

.text-b {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    margin-bottom: 20px;
}

.text-rqh {
    font-family: 'Jost', 'Inter', sans-serif;
    font-size: 24px;
}

/* Navigation */
nav {
    height: 70px;
    background-color: rgba(235, 14, 14, 0.95);
    padding: 0 10%;
    display: flex;
    align-items: center;
    position: fixed;
    z-index: 1000;
    width: 100%;
    top: 0;
    left: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

.nav-logo {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.nav-logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-logo span {
    font-family: 'Jost', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: white;
}

nav ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

nav ul li {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: white;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

nav ul li a:hover {
    color: #ffcccc;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Home Section */
.home {
    display: flex;
    flex-direction: column;
    margin: 0 100px;
    margin-top: 100px;
    background: linear-gradient(135deg, rgba(235, 14, 14, 0.9) 0%, rgba(206, 29, 29, 0.8) 100%);
    border-radius: 15px;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 60px;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(206, 29, 29, 0.3);
}

.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./image/philippines-map.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.maintitle {
    font-family: 'Jost', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: white;
    padding: 20px;
    text-align: center;
    width: 85%;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: white;
    text-align: center;
    width: 70%;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.scroll-indicator {
    position: relative;
    z-index: 1;
    margin-top: 20px;
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollAnim 1.5s infinite;
}

@keyframes scrollAnim {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 15px); }
}

/* Overview Section */
.overview {
    display: flex;
    flex-direction: column;
    margin: 0 100px 60px;
    padding: 50px 0;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.overview::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-color: rgba(235, 14, 14, 0.05);
    border-radius: 0 0 0 100%;
}

.overview .main {
    padding: 0 77px 40px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 40px;
    width: 80%;
}

.overview .main::before {
    content: '"';
    position: absolute;
    top: -40px;
    left: 50px;
    font-family: 'Georgia', serif;
    font-size: 120px;
    color: rgba(235, 14, 14, 0.1);
    z-index: 0;
}

.overview .main .text-title {
    position: relative;
    z-index: 1;
    font-size: 28px;
    color: #333;
}

.overview .main .text-heavy {
    position: relative;
    z-index: 1;
    font-size: 36px;
    width: 100%;
    padding: 0;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.4;
}

.overview .main .text-support {
    position: relative;
    z-index: 1;
    font-size: 20px;
    width: 100%;
    padding: 0;
    margin-bottom: 30px;
    text-align: center;
    color: #555;
}

.bps {
    display: flex;
    margin: 0;
    padding: 0;
    width: 85%;
    gap: 30px;
}

.background {
    width: 50%;
    padding: 30px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.background .text-title {
    font-size: 22px;
    color: #333;
    text-align: center;
}

.background .text-heavy {
    font-size: 20px;
    width: 100%;
    margin: 0 auto 20px;
    text-align: center;
}

.background .text-support {
    font-size: 15px;
    width: 100%;
    margin: 20px auto;
    color: #444;
}

.background .source {
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-style: italic;
    text-align: center;
    color: #777;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.background .source a {
    color: #eb0e0e;
    text-decoration: none;
    transition: color 0.3s;
}

.background .source a:hover {
    color: #ce1d1d;
    text-decoration: underline;
}

.pns {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.problem, .solution {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.problem::before, .solution::before {
    position: absolute;
    font-size: 64px;
    top: 10px;
    left: 15px;
    opacity: 0.1;
    color: #eb0e0e;
}

.problem::before {
    content: '!';
}

.solution::before {
    content: '✓';
}

.problem .text-title, .solution .text-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 20px;
}

.problem .text-pns, .solution .text-pns {
    font-size: 16px;
    width: 90%;
    text-align: center;
    color: #444;
}

/* Research Questions & Hypotheses */
.rqh {
    display: flex;
    flex-direction: column;
    margin: 0 100px 60px;
    padding: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.97), rgba(255,255,255,0.95));
    border-radius: 15px;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.rqh::before {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(235, 14, 14, 0.05);
    border-radius: 50%;
}

.rqh::after {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background-color: rgba(235, 14, 14, 0.03);
    border-radius: 50%;
}

.questions {
    width: 100%;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.text-b {
    font-family: 'Jost', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

ol.text-rqh {
    list-style-position: inside;
    padding: 0;
    margin: 0 auto;
    width: 80%;
    counter-reset: item;
    list-style-type: none;
}

ol.text-rqh li {
    position: relative;
    margin-bottom: 15px;
    padding: 15px 15px 15px 60px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    counter-increment: item;
}

ol.text-rqh li::before {
    content: counter(item);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background-color: #eb0e0e;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
}

.hypotheses {
    width: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hypotheses .text-b {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
}

.hypothesis-container {
    display: flex;
    width: 100%;
    gap: 30px;
    margin-top: 10px;
}

.null, .alternative {
    flex: 1;
    padding: 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.null::before, .alternative::before {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 48px;
    opacity: 0.1;
}

.null::before {
    content: 'H₀';
    color: #777;
}

.alternative::before {
    content: 'H₁';
    color: #eb0e0e;
}

.null .text-title, .alternative .text-title {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.null .text-title {
    color: #555;
}

.alternative .text-title {
    color: #eb0e0e;
}

.hypo {
    margin-bottom: 0;
    text-align: center;
    width: 100%;
    font-size: 18px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* Data Collection Section */
.collection {
    display: flex;
    flex-direction: column;
    margin: 0 150px;
    margin-bottom: 100px;
    padding: 20px;
    align-items: center;
    background-color: rgba(255,255,255,0.90);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.collection:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.collection .text-b {
    text-align: center;
}

.data {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}

.vsr, .nhfr, .fhsis {
    padding: 20px;
    width: 25%;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease
}

.vsr:hover, .nhfr:hover, .fhsis:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.source-image {
    width: 100%;
    height: 150px;
    overflow: hidden;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.source-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.source-image img:hover {
    transform: scale(1.05);
}

.source-title {
    font-family: 'Inria Sans', sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
}

.source-description {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
}

.viewdata a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #eb0e0e;
    color: white;
    font-family: 'Jost', sans-serif;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.viewdata a:hover {
    background-color: #ce1d1d;
}

/* Data Exploration Section */
.exploration {
    display: flex;
    flex-direction: column;
    margin: 0 100px;
    margin-bottom: 80px;
    padding: 40px;
    background-color: white;
    border-radius: 15px;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.section-heading {
    font-family: 'Inria Sans', 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ce1d1d;
    margin-bottom: 10px;
    text-align: center;
}

.section-intro {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
    text-align: center;
}

/* Tabs Navigation */
.exploration-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
    max-width: 500px;
}

.tab-button {
    padding: 12px 25px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 30px;
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background-color: #e0e0e0;
}

.tab-button.active {
    background-color: #eb0e0e;
    color: white;
    box-shadow: 0 4px 10px rgba(235, 14, 14, 0.2);
}

/* Tab Content */
.tab-content {
    width: 100%;
}

.question-container {
    display: none;
    width: 100%;
}

.question-container.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.question-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.question-number {
    font-family: 'Jost', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #eb0e0e;
    opacity: 0.8;
    margin-right: 20px;
}

.question-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.visualization-container {
    display: flex;
    flex-direction: column;
}

.plot {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.plot img {
    width: 100%;
    display: block;
}

.analysis {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.analysis h4 {
    font-family: 'Inria Sans', sans-serif;
    font-size: 20px;
    color: #eb0e0e;
    margin-top: 0;
    margin-bottom: 15px;
}

.desc {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.key-insight {
    display: flex;
    background-color: #fff9f9;
    border-left: 4px solid #eb0e0e;
    padding: 15px;
    border-radius: 0 8px 8px 0;
}

.insight-icon {
    font-size: 24px;
    margin-right: 15px;
}

.key-insight p {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
}

/* Hypothesis Testing Section */
.testing {
    margin: 0 100px 60px;
    background-color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.testing::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(235, 14, 14, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
}

.testing .text-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
    position: relative;
}

.testing .text-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #eb0e0e;
    border-radius: 3px;
}

.result-summary {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    width: 80%;
    text-align: center;
}

.result-value {
    font-family: 'Jost', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #eb0e0e;
    margin: 10px 0;
}

.p-value {
    font-family: 'Jost', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #555;
    margin: 5px 0 15px;
}

.result-interpretation {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
}

.explain {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
    width: 80%;
    color: #444;
    position: relative;
    z-index: 1;
}

.test {
    margin-top: 10px;
    position: relative;
    z-index: 1;
}

.test a {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    border-radius: 8px;
    background-color: #eb0e0e;
    color: white;
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(235, 14, 14, 0.2);
}

.test a::before {
    content: '📊';
    margin-right: 10px;
    font-size: 18px;
}

.test a:hover {
    background-color: #ce1d1d;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(235, 14, 14, 0.25);
}

/* Discussion & Conclusion */
.discussion, .conclusion {
    display: flex;
    flex-direction: column;
    margin: 0 100px 60px;
    padding: 40px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.discussion .section-heading, .conclusion .section-heading {
    font-family: 'Inria Sans', 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ce1d1d;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.discussion .section-heading::after, .conclusion .section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #eb0e0e;
    border-radius: 3px;
}

.discussion-content, .conclusion-content {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
}

.discussion-content p, .conclusion-content p {
    margin-bottom: 20px;
}

/* Discussion Section */
.discussion::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background-color: rgba(235, 14, 14, 0.03);
    border-radius: 50%;
    z-index: 0;
}

.limitation-box {
    background-color: #f7f7f7;
    border-radius: 10px;
    padding: 20px 25px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.limitation-box h3 {
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.limitation-box ul {
    margin: 0;
    padding-left: 20px;
}

.limitation-box ul li {
    margin-bottom: 8px;
}

.insight-highlight {
    display: flex;
    background-color: #f0f8ff;
    border-left: 4px solid #4a90e2;
    padding: 20px;
    border-radius: 0 10px 10px 0;
    margin: 30px 0;
}

.insight-icon {
    font-size: 24px;
    margin-right: 15px;
    align-self: flex-start;
    padding-top: 3px;
}

.insight-content p {
    margin: 0;
}

/* Conclusion Section */
.conclusion {
    background-color: #fcfcfc;
}

.conclusion::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
    background-color: rgba(235, 14, 14, 0.02);
    border-radius: 50%;
    z-index: 0;
}

.recommendations-box {
    background-color: #f7f7f7;
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
    border: 1px solid #eee;
}

.recommendations-box h3 {
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.recommendations-box ul {
    margin: 0;
    padding-left: 20px;
}

.recommendations-box ul li {
    margin-bottom: 10px;
}

.final-quote {
    margin: 40px 0 10px;
    padding: 0 30px;
}

.final-quote blockquote {
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    font-style: italic;
    color: #555;
    line-height: 1.6;
    position: relative;
    margin: 0;
    padding: 0 40px;
    text-align: center;
}

.final-quote blockquote::before,
.final-quote blockquote::after {
    content: '"';
    font-family: 'Georgia', serif;
    font-size: 60px;
    position: absolute;
    color: rgba(235, 14, 14, 0.2);
}

.final-quote blockquote::before {
    top: -20px;
    left: 0;
}

.final-quote blockquote::after {
    bottom: -40px;
    right: 0;
}

/* Team Section */
.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, #eb0e0e 0%, #ce1d1d 100%);
    margin: 0 100px 60px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(206, 29, 29, 0.3);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./image/pattern.png'); /* Add a subtle pattern */
    background-size: 300px;
    opacity: 0.05;
}

.team .text-title {
    color: white;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
    text-decoration: none;
}

.team .text-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
}

.mems {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1000px;
}

.team-member {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.15);
}

.member-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.1);
}

.name {
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin: 0 0 10px;
    text-align: center;
}

.role {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    text-align: center;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.socials a:hover {
    background-color: white;
    transform: translateY(-3px);
}

.socials a img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.socials a:hover img {
    filter: none;
}

/* Team section footer */
.team-footer {
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background-color: #222;
    padding: 40px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* Media Queries */
@media screen and (max-width: 992px) {
    /* Navigation */
    nav {
        padding: 0 5%;
    }
    
    /* Home Section */
    .home {
        margin: 80px 50px 40px;
        padding: 30px 15px;
    }
    
    .maintitle {
        font-size: 36px;
        width: 90%;
    }
    
    .subtitle {
        width: 85%;
        font-size: 16px;
    }
    
    /* Overview Section */
    .overview {
        margin: 0 50px 50px;
        padding: 40px 0;
    }
    
    .overview .main {
        padding: 0 40px 30px;
        width: 90%;
    }
    
    .overview .main .text-heavy {
        font-size: 30px;
    }
    
    /* Research Questions & Hypotheses */
    .rqh {
        margin: 0 50px 50px;
        padding: 30px;
    }
    
    ol.text-rqh {
        width: 90%;
    }
    
    /* Visualization Container */
    .visualization-container {
        flex-direction: column;
    }
    
    .plot {
        width: 100%;
        margin-right: 0;
    }
    
    .analysis {
        width: 100%;
        margin-top: 20px;
    }
    
    /* Testing Section */
    .testing {
        margin: 0 50px 50px;
    }
    
    .result-summary, .explain {
        width: 90%;
    }
    
    /* Team Section */
    .team {
        margin: 0 50px 50px;
        padding: 40px 30px;
    }
    
    .mems {
        gap: 20px;
    }
    
    .member-photo {
        width: 150px;
        height: 150px;
    }

    .discussion, .conclusion {
        margin: 0 50px 50px;
        padding: 30px;
    }
    
    .final-quote {
        padding: 0 15px;
    }
    
    .final-quote blockquote {
        padding: 0 30px;
        font-size: 18px;
    }
}

@media screen and (max-width: 768px) {
    /* Navigation */
    nav {
        padding: 0 20px;
        justify-content: space-between;
    }
    
    .nav-logo {
        margin-right: 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    nav ul {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: rgba(235, 14, 14, 0.95);
        padding: 20px 0;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
        backdrop-filter: blur(5px);
    }
    
    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    /* Home Section */
    .home {
        margin: 80px 20px 40px;
        padding: 30px 10px;
    }
    
    .maintitle {
        font-size: 28px;
        padding: 10px;
    }
    
    .subtitle {
        width: 95%;
        font-size: 14px;
    }
    
    .scroll-indicator {
        display: none; /* Hide on mobile */
    }
    
    /* Overview Section */
    .overview {
        margin: 0 20px 40px;
    }
    
    .overview .main {
        padding: 0 20px 30px;
        width: 100%;
    }
    
    .overview .main .text-heavy {
        font-size: 24px;
        width: 100%;
    }
    
    .overview .main .text-support {
        font-size: 16px;
        width: 100%;
    }
    
    .bps {
        flex-direction: column;
        width: 90%;
        gap: 20px;
    }
    
    .background, .pns {
        width: 100%;
        padding: 20px;
    }
    
    /* Research Questions & Hypotheses */
    .rqh {
        margin: 0 20px 40px;
        padding: 20px;
    }
    
    .text-b {
        font-size: 18px;
    }
    
    ol.text-rqh {
        width: 100%;
    }
    
    ol.text-rqh li {
        padding: 15px 15px 15px 50px;
        font-size: 18px;
    }
    
    .hypothesis-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .null, .alternative {
        padding: 20px;
    }
    
    /* Data Collection */
    .collection {
        margin: 0 20px 40px;
    }
    
    .data {
        flex-direction: column;
        align-items: center;
    }
    
    .vsr, .nhfr, .fhsis {
        width: 90%;
        margin-bottom: 20px;
    }
    
    /* Data Exploration */
    .exploration {
        margin: 0 20px 40px;
        padding: 20px;
    }
    
    .section-heading {
        font-size: 24px;
    }
    
    .section-intro {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .exploration-tabs {
        flex-wrap: wrap;
    }
    
    .tab-button {
        margin: 5px;
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .question-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .question-number {
        font-size: 36px;
        margin-bottom: 5px;
    }
    
    .question-title {
        font-size: 18px;
    }
    
    .key-insight {
        flex-direction: column;
    }
    
    .insight-icon {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    /* Testing Section */
    .testing {
        margin: 0 20px 40px;
        padding: 25px 15px;
    }
    
    .testing .text-title {
        font-size: 24px;
    }
    
    .result-value {
        font-size: 28px;
    }
    
    .explain {
        font-size: 14px;
        width: 100%;
    }
    
    /* Team Section */
    .team {
        margin: 0 20px 40px;
        padding: 30px 15px;
    }
    
    .team .text-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .mems {
        flex-direction: column;
        gap: 30px;
    }
    
    .team-member {
        padding: 20px;
    }
    
    .discussion, .conclusion {
        margin: 0 20px 40px;
        padding: 25px 20px;
    }
    
    .discussion .section-heading, .conclusion .section-heading {
        font-size: 26px;
    }
    
    .limitation-box, .recommendations-box {
        padding: 15px 20px;
    }
    
    .insight-highlight {
        flex-direction: column;
        padding: 15px;
    }
    
    .insight-icon {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .final-quote {
        padding: 0;
    }
    
    .final-quote blockquote {
        padding: 0 25px;
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    /* Navigation */
    .nav-logo span {
        font-size: 18px;
    }
    
    /* Home Section */
    .home {
        margin-top: 70px;
    }
    
    .maintitle {
        font-size: 22px;
    }
    
    /* Overview */
    .overview .main .text-heavy {
        font-size: 20px;
    }
    
    /* Research Questions */
    ol.text-rqh li {
        font-size: 16px;
        padding: 15px 15px 15px 45px;
    }
    
    ol.text-rqh li::before {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    /* Data Collection */
    .source-title {
        font-size: 16px;
    }
    
    /* Team */
    .name {
        font-size: 20px;
    }
    
    .role {
        font-size: 14px;
    }
    
    .member-photo {
        width: 120px;
        height: 120px;
    }
    
    /* Testing */
    .result-value {
        font-size: 24px;
    }
    
    .test a {
        padding: 10px 15px;
        font-size: 14px;
    }

    .discussion-content, .conclusion-content {
        font-size: 15px;
    }
    
    .limitation-box h3, .recommendations-box h3 {
        font-size: 18px;
    }
    
    .final-quote blockquote {
        padding: 0 20px;
        font-size: 15px;
    }
    
    .final-quote blockquote::before,
    .final-quote blockquote::after {
        font-size: 40px;
    }
}