/* ChitoMatrix - Custom Styles */

:root {
    --light-blue: #7DD3FC;
    --dark-blue: #0C4A6E;
    --text-dark: #1E293B;
    --text-gray: #475569;
    --white: #FFFFFF;
    --page-bg: #EFF7FF;
    --primary-blue: #0891B2;
    --primary-blue-alt: #087FB2;
    --dark-blue-alt: #03567B;
    --dark-blue-deep: #034876;
    --teal-blue: #71BDCB;
    --teal-blue-alt: #419FC3;
    --footer-bg: #141E32;
    --footer-text: #D4EBFA;
    --text-gray-dark: #64748B;
}

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

body {
    font-family: 'Khula', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 125px;
    background-color: var(--page-bg);
}

/* Header Styles */
.navbar {
    background-color: var(--white);
    padding: 0;
    height: 125px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.navbar-collapse {
    margin-left: 171px;
}

.navbar-nav {
    margin-left: 0 !important;
}

.navbar.scrolled {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-start;
}

.logo-hexagon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.logo-hexagon img {
    display: block;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-family: 'Khula', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.605662186940511em;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--light-blue) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2812, 74, 110, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px;
    background-color: var(--page-bg);
}

.hero-title {
    font-family: 'Kaisei Tokumin', serif;
    font-size: 64px;
    font-weight: 400;
    color: #000000;
    line-height: 1.171875em;
    letter-spacing: 0.01em;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: #000000;
}

.hero-description {
    font-family: 'Khula', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--text-gray-dark);
    margin-bottom: 2rem;
    line-height: 1.4583333333333333em;
    letter-spacing: 0.01em;
}

.hero-buttons {
    display: flex;
    gap: 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4em;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: #0A7A95;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.4);
}

.btn-outline-custom {
    background-color: #FFFFFF !important;
    color: var(--primary-blue);
    border: 1px solid #0891B2 !important;
    padding: 14px 30px;
    font-family: 'PingFang SC', -apple-system, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4em;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: #0891B2 !important;
    color: #FFFFFF !important;
    border-color: #0891B2 !important;
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: 'Khula', sans-serif;
    font-size: 48px;
    font-weight: 400;
    color: #087FB2;
    line-height: 1.605662186940511em;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: 'Khula', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #8695A8;
    line-height: 1.605662186940511em;
}

.hero-image-wrapper {
    width: 630px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.ocean-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0C4A6E 0%, #075985 50%, #0C4A6E 100%);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(125, 211, 252, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(125, 211, 252, 0.2) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.ocean-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(125, 211, 252, 0.1) 2px,
            rgba(125, 211, 252, 0.1) 4px);
    animation: wave 3s ease-in-out infinite;
}

@keyframes wave {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* About Us Section */
.about-section {
    padding: 80px 0;
    background-color: var(--page-bg);
}

.section-label {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    width: 100%;
}

.label-bar {
    background-color: #71BDCB;
    color: var(--white);
    text-align: center;
    justify-items: center;
    border-radius: 36.5px 0 0 36.5px;
    display: inline-block;
    font-family: 'Khula', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.605662186940511em;
    white-space: nowrap;
    flex-shrink: 0;
    height: 73px;
    width: 309px;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 3px;
    margin-left: 20px;
    background-color: #71BDCB;
}

.about-card {
    background-color: #FAFCFF;
    padding: 2.5rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.about-title {
    font-family: 'Khula', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 0.7291666666666666em;
    letter-spacing: 0.01em;
    color: #03567B;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text {
    font-family: 'Khula', sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 0.9722222222222222em;
    letter-spacing: 0.01em;
    color: var(--text-gray-dark);
    text-align: left;
}

.about-gallery-item {
    background-color: #FAFCFF;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    min-height: 300px;
}

.about-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.about-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background-color: var(--page-bg);
}

.value-item {
    margin-bottom: 1rem;
}

.value-title {
    font-family: 'Kaisei Tokumin', serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.4479999542236328em;
    margin: 0;
}

.value-title:nth-child(1) {
    color: var(--primary-blue-alt);
}

.value-title:nth-child(2) {
    color: var(--dark-blue-deep);
}

.value-title:nth-child(3) {
    color: var(--dark-blue-deep);
}

.value-title:nth-child(4) {
    color: var(--teal-blue-alt);
}

.values-logo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.logo-hexagon-large {
    position: relative;
    width: 303.12px;
    height: 292.97px;
    margin: 0 auto;
}

.value-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.value-text-overlay {
    position: absolute;

    transform: translate(-50%, -50%);
    font-family: 'Kaisei Tokumin', serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 1.171875em;
    color: var(--teal-blue-alt);
    z-index: 1;
    pointer-events: none;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background-color: #FAFCFF;
}

.btn-team {
    background-color: var(--teal-blue);
    color: var(--white);
    border: none;
    padding: 14px 40px;
    font-family: 'Khula', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.6056621551513672em;
    border-radius: 39px;
    width: 277px;
    height: 78px;
    transition: all 0.3s ease;
}

.btn-team:hover {
    background-color: #5FA8B8;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(113, 189, 203, 0.3);
}

.team-row > [class*="col-"] {
    margin-right: 46px;
}

.team-row > [class*="col-"]:last-child {
    margin-right: 0;
}

.team-member {
    text-align: center;
    perspective: 1000px;
}

.flip-card {
    width: 100%;
    height: 400px;
    position: relative;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.team-member:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.team-avatar {
    width: 226px;
    height: 267px;
    background-color: #D9D9D9;
    border-radius: 12px;
    margin: 0 auto 1rem;
    border: 3px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-name {
    font-family: 'Khula', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.6056621551513672em;
    color: var(--text-gray-dark);
}

.team-intro {
    background-color: #FAFCFF;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.team-intro h4 {
    font-family: 'Khula', sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-blue-alt);
    margin-bottom: 1rem;
}

.team-intro p {
    font-family: 'Khula', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-gray-dark);
    text-align: left;
    margin: 0;
    overflow-y: auto;
}

/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0 30px;
}

.footer-contact {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
   
}

.contact-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background-image: url('../images/footer-logo.png');
    background-repeat: no-repeat;
    background-size: 20px auto;
}

.contact-icon-address {
    background-position: 0 0;
}

.contact-icon-email {
    background-position: 0 -20px;
}

.contact-icon-number {
    background-position: 0 -40px;
}

.contact-placeholder {
    color: var(--footer-text);
    font-family: 'Khula', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6056621551513672em;
}

.footer-bottom {
    margin-top: 30px;
}

.footer-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}

.footer-logo {
    margin-top: 0;
    flex-shrink: 0;
}

.footer-logo-text {
    color: var(--white) !important;
}

.footer-text-wrapper {
    text-align: right;
    flex: 1;
}

.footer-text {
    color: var(--footer-text);
    font-family: 'Khula', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6056621551513672em;
    margin: 0;
}

.footer-divider-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-divider-spacer {
    width: 20px;
    flex-shrink: 0;
}

.footer-divider {
    height: 1px;
    background-color: var(--white);
    opacity: 0.2;
    flex: 1;
}

.footer .row {
    align-items: flex-start;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 100px;
    }

    .navbar {
        height: auto;
        min-height: 70px;
        padding: 0.5rem 0;
    }

    .hero-section {
        padding: 60px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .about-section,
    .values-section,
    .team-section {
        padding: 60px 0;
    }

    .label-bar {
        font-size: 1rem;
        padding: 10px 20px;
    }

    .about-card {
        padding: 2rem;
    }

    .about-title {
        font-size: 1.5rem;
    }

    .about-gallery-item {
        min-height: 250px;
    }

    .value-title {
        font-size: 1.2rem;
    }

    .logo-hexagon-large svg {
        width: 100px;
        height: 100px;
    }

    .value-text-overlay {
        font-size: 1.5rem;
    }

    .team-avatar {
        max-width: 120px;
        height: auto;
        min-height: 150px;
    }

    .flip-card-inner {
        min-height: 300px;
    }

    .team-intro {
        min-height: 300px;
        padding: 1rem;
    }

    .team-intro h4 {
        font-size: 24px;
    }

    .team-intro p {
        font-size: 14px;
    }

    .footer {
        text-align: center;
    }

    .footer .text-md-end {
        text-align: center !important;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar Brand Link */
.navbar-brand {
    text-decoration: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.navbar-brand:hover {
    opacity: 0.8;
}

/* Button Base Styles */
.btn {
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(125, 211, 252, 0.25);
}

/* Section Spacing */
section {
    scroll-margin-top: 125px;
}

/* Logo Animation */
.logo-hexagon {
    position: relative;
    overflow: hidden;
}

.logo-hexagon img {
    position: relative;
    z-index: 1;
    display: block;
}

.logo-hexagon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.8) 30%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0.8) 70%,
        transparent 100%
    );
    z-index: 2;
    transform: skewX(-20deg);
    pointer-events: none;
    opacity: 0;
}

.navbar-brand:hover .logo-hexagon::before {
    animation: logoShine 0.6s ease-out forwards;
}

@keyframes logoShine {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

/* Value Items Hover Effect */
.value-item {
    transition: transform 0.3s ease, color 0.3s ease;
}

.value-item:hover .value-title {
    color: var(--light-blue);
    transform: translateY(-2px);
}

/* Team Member Hover Effect */
.team-member {
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.flip-card-front .team-avatar {
    border: 3px solid transparent;
}

.team-member:hover .flip-card-front .team-avatar {
    border: 3px solid var(--light-blue);
    box-shadow: 0 4px 12px rgba(125, 211, 252, 0.3);
}

/* Footer Link Styles */
.footer a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Additional Responsive Adjustments */
@media (max-width: 768px) {
    .hero-image {
        margin-top: 2rem;
    }

    .values-logo {
        margin: 2rem 0;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .hero-buttons,
    .btn-team,
    .footer {
        display: none;
    }

    body {
        padding-top: 0;
    }
}

/* Accessibility Improvements */
.nav-link:focus,
.btn:focus,
.navbar-brand:focus {
    outline: 2px solid var(--light-blue);
    outline-offset: 2px;
}

/* Loading Animation for Images */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-image,
.team-avatar {
    animation: fadeIn 0.6s ease-in;
}

/* Impact Page Styles */
.impact-hero-section {
    margin-bottom: 0;
}

.impact-hero-image {
    width: 100%;
    height: 409px;
    overflow: hidden;
    position: relative;
}

.impact-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wave-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.wave-svg {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
}

.wave-path {
    transition: opacity 0.3s ease;
    opacity: 0.9;
}

.impact-section {
    padding: 80px 0;
    background-color: var(--page-bg);
}

.impact-main-title {
    font-family: 'Khula', sans-serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 1.605662226676941em;
    text-align: center;
    color: rgba(39, 56, 83, 0.98);
    margin: 0 0 1.5rem 0;
}

.impact-description-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.impact-title-decoration {
    width: 203px;
    height: 71px;
    background-color: #DDF0FF;
    flex-shrink: 0;
}

.impact-title-description {
    font-family: 'Khula', sans-serif;
    font-weight: 300;
    font-size: 32px;
    line-height: 35px;
    letter-spacing: 0.01em;
    text-align: center;
    color: #64748B;
    margin: 0;
    max-width: 738px;
    flex: 0 1 auto;
}

.impact-card {
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 2.5rem;
    width: 290px;
    height: 550px;
    display: flex;
    flex-direction: column;
    border: 3px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--light-blue);
}

.impact-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact-icon-placeholder {
    width: 100%;
    height: 100%;
    background-color: #D9D9D9;
    border-radius: 8px;
}

.impact-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.impact-card-title {
    font-family: 'Khula', sans-serif;
    font-size: 45px;
    font-weight: 400;
    line-height: 1.6056621975368923em;
    text-align: center;
    color: #087FB2;
    margin-bottom: 1rem;
}

.impact-card-subtitle {
    font-family: 'Khula', sans-serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.6056622823079427em;
    text-align: center;
    color: #000000;
    margin-bottom: 1rem;
}

.impact-card-description {
    font-family: 'Khula', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4583333333333333em;
    letter-spacing: 0.01em;
    text-align: center;
    color: #64748B;
    margin-top: auto;
}

.impact-description {
    text-align: center;
}

.impact-description-text {
    font-family: 'Khula', sans-serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 1.09375em;
    letter-spacing: 0.01em;
    color: #64748B;
    margin: 0;
}

.impact-gallery-section {
    padding: 80px 0;
    background-color: var(--page-bg);
    position: relative;
}

.impact-gallery-section::after {
    content: '';
    position: absolute;
    top: calc(80px + 117.5px);
    left: 0;
    width: 100%;
    height: 160px;
    background-color: #2A3B56;
    z-index: 0;
}

.impact-gallery-section .container {
    position: relative;
    z-index: 1;
}

.impact-gallery-item {
    background: linear-gradient(0deg, #2A3B56, #2A3B56), linear-gradient(0deg, #B8DDED, #B8DDED), #D9D9D9;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 235px;
    min-height: 235px;
    width: 235px;
    position: relative;
    padding: 10px;
}

.impact-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.impact-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.environmental-impact-section {
    padding: 80px 0;
    background-color: var(--page-bg);
}

.impact-figure-section {
    width: 100%;
    margin-bottom: 2rem;
}

.impact-figure-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
}

.impact-chart-section {
    width: 100%;
}

.impact-media-text {
    font-family: 'Khula', sans-serif;
    font-size: 32px;
    color: #3F5478;
    padding: 45px;
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

.impact-media-container {
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 0;
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.impact-media-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.impact-chart-card {
    background-color: transparent;
    border-radius: 30px;
    padding: 2rem 2rem 4rem 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.impact-chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 40px;
    height: 341px;
    width: 100%;
    padding: 60px 1rem 65px 1rem;
    position: relative;
}

.impact-chart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    position: relative;
    flex: 0 0 auto;
}

.impact-chart-value {
    font-family: 'Khula', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-blue-alt);
    line-height: 1.2;
    white-space: nowrap;
    position: absolute;
    top: -55px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.impact-chart-bar {
    width: 85px;
    background-color: #315972;
    border-radius: 4px 4px 0 0;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.impact-chart-item:first-child .impact-chart-bar {
    border: 3px solid var(--light-blue);
    box-sizing: border-box;
}

.impact-chart-label {
    font-family: 'Khula', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #64748B;
    text-align: center;
    line-height: 1.5;
    white-space: nowrap;
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    text-transform: lowercase;
}

.impact-chart-bar:hover {
    transform: scaleY(1.05);
}

.impact-chart-line {
    width: 100%;
    height: 5px;
    background-color: #03567B;
    margin-top: 3rem;
    position: relative;
}

.impact-chart-line::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #03567B;
}

/* Responsive Design for Impact Page */
@media (max-width: 992px) {
    .impact-title-decoration {
        width: 150px;
        height: 60px;
    }

    .impact-main-title {
        font-size: 48px;
    }

    .impact-description-wrapper {
        gap: 15px;
    }

    .impact-title-description {
        font-size: 28px;
        line-height: 32px;
        max-width: 600px;
    }

    .impact-card-title {
        font-size: 36px;
    }

    .impact-card-subtitle {
        font-size: 24px;
    }

    .impact-card-description {
        font-size: 20px;
    }

    .impact-description-text {
        font-size: 28px;
    }

    .impact-gallery-item {
        min-height: 235px;
    }

    .impact-gallery-section::after {
        top: calc(60px + 117.5px);
    }

    .impact-media-container {
        min-height: 300px;
        margin-bottom: 2rem;
    }

    .impact-chart-card {
        padding: 2rem 2rem 3.5rem 2rem;
    }

    .impact-chart-container {
        gap: 30px;
        height: 300px;
        padding: 50px 1rem 55px 1rem;
    }

    .impact-chart-bar {
        width: 60px;
    }

    .impact-chart-value {
        font-size: 28px;
        top: -50px;
    }

    .impact-chart-label {
        font-size: 15px;
        bottom: -45px;
        width: 120px;
    }
}

@media (max-width: 768px) {
    .impact-hero-image {
        height: 300px;
    }

    .impact-main-title {
        font-size: 36px;
    }

    .impact-description-wrapper {
        flex-wrap: wrap;
        gap: 15px;
    }

    .impact-title-decoration {
        width: 100px;
        height: 50px;
    }

    .impact-title-decoration-left,
    .impact-title-decoration-right {
        order: 2;
    }

    .impact-title-description {
        font-size: 24px;
        line-height: 28px;
        padding: 0 1rem;
        order: 1;
        width: 100%;
        max-width: 100%;
    }

    .impact-card {
        padding: 1.5rem;
    }

    .impact-card-title {
        font-size: 28px;
    }

    .impact-card-subtitle {
        font-size: 20px;
    }

    .impact-card-description {
        font-size: 18px;
    }

    .impact-description-text {
        font-size: 24px;
    }

    .impact-gallery-section {
        padding: 60px 0;
    }

    .impact-gallery-section::after {
        top: calc(60px + 100px);
    }

    .impact-gallery-item {
        min-height: 200px;
    }

    .impact-media-container {
        min-height: 250px;
        margin-bottom: 2rem;
    }

    .impact-chart-card {
        padding: 1.5rem 1.5rem 3rem 1.5rem;
    }

    .impact-chart-container {
        gap: 20px;
        height: 250px;
        padding: 45px 1rem 50px 1rem;
    }

    .impact-chart-bar {
        width: 50px;
    }

    .impact-chart-value {
        font-size: 22px;
        top: -45px;
    }

    .impact-chart-label {
        font-size: 13px;
        bottom: -40px;
        width: 100px;
    }

    .impact-chart-item:first-child .impact-chart-bar {
        border: 2px solid var(--light-blue);
    }
}

/* Product Page Styles */
.product-hero-section {
    margin-bottom: 0;
}

.product-hero-image {
    width: 100%;
    height: 561px;
    overflow: hidden;
    position: relative;
}

.product-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-section {
    padding: 80px 0;
    background-color: var(--page-bg);
}

.product-main-title {
    font-family: 'Kaisei Tokumin', serif;
    font-size: 55px;
    font-weight: 400;
    line-height: 1.3636363636363635em;
    letter-spacing: 0.01em;
    text-align: center;
    color: var(--teal-blue-alt);
    margin: 0 0 2rem 0;
}

.product-strength-section {
    text-align: center;
    margin-bottom: 3rem;
}

.product-strength-text {
    font-family: 'Khula', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.09375em;
    letter-spacing: 0.01em;
    color: var(--text-gray-dark);
    margin: 0;
    max-width: 1330px;
    margin-left: auto;
    margin-right: auto;
}

.product-process-section {
    position: relative;
    padding: 2rem 0;
}

.product-process-line {
    width: 100%;
    height: 3px;
    background: #CCF2ED;
    margin-bottom: 2rem;
    position: relative;
}

.product-process-step {
    text-align: center;
    padding: 1.5rem;
}

.product-process-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-process-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-process-title {
    font-family: 'Khula', sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.09375em;
    letter-spacing: 0.01em;
    text-align: center;
    color: var(--dark-blue-deep);
    margin-bottom: 1.5rem;
}

.product-process-description {
    font-family: 'Khula', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4583333333333333em;
    letter-spacing: 0.01em;
    text-align: center;
    color: var(--text-gray-dark);
    margin: 0;
}

.product-wear-section {
    padding: 80px 0;
    background-color: var(--page-bg);
}

.product-section-title {
    font-family: 'Kaisei Tokumin', serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 2.5em;
    letter-spacing: 0.01em;
    color: rgba(39, 56, 83, 0.98);
    margin-bottom: 2rem;
}

.product-wear-content {
    margin-bottom: 2rem;
}

.product-wear-text {
    font-family: 'Khula', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4583333333333333em;
    letter-spacing: 0.01em;
    color: var(--text-gray-dark);
    margin: 0;
}

.product-wear-image {
    border-radius: 50px;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.product-wear-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-gallery-section {
    padding: 80px 0;
    background-color: var(--page-bg);
}

.product-gallery-title {
    font-family: 'Kaisei Tokumin', serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.5625em;
    letter-spacing: 0.01em;
    color: rgba(39, 56, 83, 0.98);
    margin-bottom: 2rem;
}

.product-gallery-item {
    background-color: #B8DDED;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.product-gallery-large {
    height: 574px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.model-gallery-section {
    padding: 80px 0;
    background-color: var(--page-bg);
}

.model-gallery-title {
    font-family: 'Kaisei Tokumin', serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.5625em;
    letter-spacing: 0.01em;
    color: rgba(39, 56, 83, 0.98);
    margin-bottom: 3rem;
    text-align: left;
}

.model-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
}

.model-gallery-grid .model-gallery-item:nth-child(1) {
    grid-column: 1 / span 1;
    grid-row: 1;
}

.model-gallery-grid .model-gallery-item:nth-child(2) {
    grid-column: 2 / span 2;
    grid-row: 1;
}

.model-gallery-grid .model-gallery-item:nth-child(3) {
    grid-column: 4 / span 1;
    grid-row: 1;
}

.model-gallery-grid .model-gallery-item:nth-child(4) {
    grid-column: 1 / span 1;
    grid-row: 2;
}

.model-gallery-grid .model-gallery-item:nth-child(5) {
    grid-column: 2 / span 1;
    grid-row: 2;
}

.model-gallery-grid .model-gallery-item:nth-child(6) {
    grid-column: 3 / span 1;
    grid-row: 2;
}

.model-gallery-grid .model-gallery-item:nth-child(7) {
    grid-column: 4 / span 1;
    grid-row: 2;
}

.model-gallery-item {
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 8px;
    background-color: #FFFFFF;
}

.model-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.model-gallery-border-dark {
    border: 4px solid #2A3B56;
}

.model-gallery-border-light {
    border: 4px solid #B8DDED;
}

.model-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.product-strength-bottom-section {
    padding: 80px 0;
    background-color: #FAFCFF;
}

.product-strength-bottom-image {
    border-radius: 50px;
    overflow: hidden;
    width: 100%;
    height: auto;
}

.product-strength-bottom-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-strength-bottom-content {
    margin-top: 2rem;
}

.product-strength-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-strength-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-family: 'Khula', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4583333333333333em;
    letter-spacing: 0.01em;
    color: var(--text-gray-dark);
}

.product-strength-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.product-strength-list li span {
    flex: 1;
}

/* Responsive Design for Product Page */
@media (max-width: 992px) {
    .product-main-title {
        font-size: 42px;
    }

    .product-strength-text {
        font-size: 28px;
    }

    .product-process-title {
        font-size: 28px;
    }

    .product-process-description {
        font-size: 20px;
    }

    .product-section-title {
        font-size: 26px;
    }

    .product-wear-text {
        font-size: 20px;
    }

    .product-gallery-title {
        font-size: 36px;
    }

    .model-gallery-title {
        font-size: 36px;
    }

    .model-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .model-gallery-grid .model-gallery-item:nth-child(2) {
        grid-column: 2 / span 2;
    }

    .model-gallery-grid .model-gallery-item:nth-child(3) {
        grid-column: 1 / span 1;
        grid-row: 2;
    }

    .model-gallery-grid .model-gallery-item:nth-child(7) {
        grid-column: 1 / span 3;
        grid-row: 4;
    }

    .product-strength-list li {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .product-hero-image {
        height: 400px;
    }

    .product-main-title {
        font-size: 32px;
    }

    .product-strength-text {
        font-size: 24px;
    }

    .product-process-icon {
        width: 80px;
        height: 80px;
    }

    .product-process-title {
        font-size: 24px;
    }

    .product-process-description {
        font-size: 18px;
    }

    .product-section-title {
        font-size: 24px;
        line-height: 2em;
    }

    .product-wear-text {
        font-size: 18px;
    }

    .product-gallery-title {
        font-size: 32px;
    }

    .model-gallery-title {
        font-size: 32px;
        margin-bottom: 2rem;
    }

    .model-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .model-gallery-grid .model-gallery-item:nth-child(2) {
        grid-column: 1 / span 2;
    }

    .model-gallery-grid .model-gallery-item:nth-child(1),
    .model-gallery-grid .model-gallery-item:nth-child(3),
    .model-gallery-grid .model-gallery-item:nth-child(4),
    .model-gallery-grid .model-gallery-item:nth-child(5),
    .model-gallery-grid .model-gallery-item:nth-child(6),
    .model-gallery-grid .model-gallery-item:nth-child(7) {
        grid-column: auto;
        grid-row: auto;
    }

    .product-gallery-large {
        height: 400px;
        margin-bottom: 2rem;
    }

    .product-strength-list li {
        font-size: 18px;
    }

    .product-strength-icon {
        width: 24px;
        height: 24px;
    }
}

/* Timeline Page Styles */
.timeline-section {
    padding: 120px 0 80px;
    background-color: var(--page-bg);
}

.timeline-main-title {
    font-family: 'Kaisei Tokumin', serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 1.171875em;
    letter-spacing: 0.01em;
    color: var(--dark-blue-alt);
    margin-bottom: 3rem;
    text-align: right;
    padding-right: 50px;
}

.timeline-container {
    position: relative;
    padding-left: 50px;
    margin-bottom: 4rem;
    min-height: 2500px;
}

.timeline-line {
    position: absolute;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: var(--teal-blue);
    z-index: 1;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 6rem;
    z-index: 2;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-node {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 3;
    transform: translateX(-50%);
}

.timeline-circle {
    width: 99px;
    height: 95px;
    border-radius: 50%;
    background-color: var(--dark-blue-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timeline-number {
    font-family: 'Times New Roman', serif;
    font-weight: 500;
    font-size: 55px;
    line-height: 1.0909999500621448em;
    color: var(--white);
}

.timeline-content {
    margin-left: 162px;
    flex: 1;
    max-width: calc(100% - 162px);
}

.timeline-date-title {
    margin-bottom: 1.5rem;
}

.timeline-date {
    font-family: 'Khula', sans-serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.605662186940511em;
    color: #087FB2;
    margin: 0;
}

.timeline-subtitle {
    font-family: 'Khula', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0%;
    color: #8695A8;
    margin: 0;
}

.timeline-content-wrapper {
    width: 100%;
    max-width: 1542px;
    margin-top: 1rem;
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.timeline-content-wrapper .timeline-text-content {
    margin-bottom: 2rem;
    padding-right: 0;
}

.timeline-text-content {
    padding-right: 2rem;
}

.timeline-text {
    font-family: 'Khula', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-gray-dark);
    margin-bottom: 1.5rem;
}

.timeline-text:last-child {
    margin-bottom: 0;
}

.timeline-image {
    width: 100%;
    height: auto;
    border-radius: 30px;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.timeline-content-wrapper .timeline-image {
    box-shadow: none;
    background-color: transparent;
    margin-top: 1.5rem;
}

.timeline-content-wrapper .timeline-image img {
    border-radius: 0;
}

.timeline-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 30px;
}

.timeline-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #D9D9D9;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-family: 'Khula', sans-serif;
    font-size: 18px;
}

.future-outlook-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 6rem;
    padding: 2rem 0;
}

.future-outlook-decoration-left,
.future-outlook-decoration-right {
    width: 199px;
    height: 73px;
    background-color: #315972;
    flex-shrink: 0;
}

.future-outlook-title {
    font-family: 'Khula', sans-serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.6056621551513672em;
    text-align: center;
    color: #000000;
    margin: 0;
    flex: 0 1 auto;
}

/* Responsive Design for Timeline Page */
@media (max-width: 992px) {
    .timeline-main-title {
        font-size: 48px;
        padding-left: 30px;
    }

    .timeline-container {
        padding-left: 30px;
        min-height: 2000px;
    }

    .timeline-line {
        left: 60px;
    }

    .timeline-node {
        left: 0;
    }

    .timeline-circle {
        width: 80px;
        height: 80px;
    }

    .timeline-number {
        font-size: 45px;
    }

    .timeline-content {
        margin-left: 100px;
        max-width: calc(100% - 100px);
    }

    .timeline-date {
        font-size: 20px;
    }

    .timeline-subtitle {
        font-size: 20px;
    }

    .timeline-image {
        height: auto;
    }

    .timeline-content-wrapper {
        padding: 2rem;
    }

    .timeline-text-content {
        padding-right: 1rem;
        margin-bottom: 2rem;
    }

    .timeline-text {
        font-size: 18px;
    }

    .future-outlook-title {
        font-size: 32px;
    }

    .future-outlook-decoration-left,
    .future-outlook-decoration-right {
        width: 150px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .timeline-section {
        padding: 100px 0 60px;
    }

    .timeline-main-title {
        font-size: 36px;
        text-align: center;
        padding-left: 0;
    }

    .timeline-container {
        padding-left: 20px;
        min-height: 1800px;
    }

    .timeline-line {
        left: 40px;
    }

    .timeline-node {
        left: 0;
    }

    .timeline-circle {
        width: 60px;
        height: 60px;
    }

    .timeline-number {
        font-size: 35px;
    }

    .timeline-content {
        margin-left: 70px;
        max-width: calc(100% - 70px);
    }

    .timeline-date {
        font-size: 18px;
    }

    .timeline-subtitle {
        font-size: 18px;
    }

    .timeline-image {
        height: auto;
        margin-top: 1.5rem;
    }

    .timeline-content-wrapper .row {
        flex-direction: column;
    }

    .timeline-content-wrapper .col-md-7,
    .timeline-content-wrapper .col-md-5 {
        max-width: 100%;
        padding: 0;
    }

    .timeline-content-wrapper {
        padding: 1.5rem;
    }

    .timeline-text-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .timeline-text {
        font-size: 16px;
    }

    .timeline-item {
        margin-bottom: 4rem;
    }

    .future-outlook-section {
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 4rem;
    }

    .future-outlook-title {
        font-size: 28px;
        width: 100%;
        order: 1;
    }

    .future-outlook-decoration-left,
    .future-outlook-decoration-right {
        width: 100px;
        height: 50px;
        order: 2;
    }
}

@media (max-width: 576px) {
    .timeline-main-title {
        font-size: 32px;
    }

    .timeline-container {
        padding-left: 15px;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-circle {
        width: 50px;
        height: 50px;
    }

    .timeline-number {
        font-size: 30px;
    }

    .timeline-content {
        margin-left: 60px;
        max-width: calc(100% - 60px);
    }

    .timeline-date {
        font-size: 16px;
    }

    .timeline-subtitle {
        font-size: 16px;
    }

    .timeline-image {
        height: auto;
    }

    .timeline-text {
        font-size: 14px;
    }
}