@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Manrope:wght@200..800&family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');
@font-face {
    font-family: 'Bahnschrift';
    src:url('/fonts/BAHNSCHRIFT.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    height: auto;
    min-height: 100vh;
    padding-top: 80px;
    background-color:rgb(3, 5, 6);
}

/* Fixed header background */
.bac {
    background-image: url("../imgs/banner5.jpg");
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 380px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Fixed header items positioning */
.sectionbox .header {
    display: flex;
    height: 300px;
    justify-content: center;
    align-items: center;
}

.sectionbox .header .items {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 0;
}

.sectionbox .header .items .title {
    font-family: "Bahnschrift", "Raleway", sans-serif;
    font-weight: 700;
    font-size: 3.5rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
    padding: 0;
}

.sectionbox .header .items h2 {
    font-family: "Bahnschrift", "Manrope", sans-serif;
    font-weight: 400;
    color: #ffffff;
    font-size: 1.2rem;
    padding-top: 10px;
    padding-bottom: 0;
    margin: 0;
    letter-spacing: 0.5px;
}

.sectionbox .line {
    margin: 15px auto;
    width: 150px;
    height: 2px;
    background-color: #eb6623;
}

.items.active {
    transition: 2s;
    transform: translateY(500px);
}

/* Intro Section Styling */
.intro-section {
    max-width: 1000px;
    margin: 2.5rem auto 2.5rem;
    padding: 1.5rem 2rem;
    background:transparent;
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(235, 102, 35, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.intro-text {
    text-align: center;
}

.intro-text p {
    font-family: 'Bahnschrift', 'Segoe UI', sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.9;
    color: #E8E9EB;
    margin-bottom: 0;
    letter-spacing: 0.3px;
}

.intro-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, #eb6623, transparent);
    margin: 1.2rem auto 0;
}

/* Default desktop layout */
.sectionbox .box {
    display: flex;
    align-items: center;
    border-left: 3px solid #eb6623;
    margin-bottom: 10px;
}

.sectionbox .box.right {
    border-left: none;
    border-right: 3px solid #eb6623;
}

.sectionbox .box .content {
    width: 57%;
    padding-bottom: 10px;
}

.sectionbox .box .image-box {
    width: 42%;
    padding: 0;
    padding-left: 20px;
}

.sectionbox .box.right .image-box {
    padding-left: 0;
    padding-right: 20px;
}

.sectionbox .box img {
    margin: auto;
    display: flex;
    width: 450px;
    height: 270px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.452);
    transition: 0.5s;
    object-fit: cover;
    border-radius: 8px;
}

.sectionbox .box img:hover {
    scale: 1.1;
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.452);
    transition: 0.3s;
}

/* Container styling */
.sectionbox .container {
    box-shadow: 0px -7px 30px rgba(0, 0, 0, 0.452);
    background-color:rgba(2, 4, 5, 0.95);
    padding: 20px;
    padding-left: 10px;
    padding-top: 50px;
}

.sectionbox .container .title {
    text-align: left;
    font-family: "Bahnschrift";
    font-weight: 400;
    color: #ffffff;
    font-size: 2rem;
    padding: 10px;
}

.sectionbox .container .line {
    width: 80px;
    height: 2px;
    margin: 10px 0 20px 0;
    background-color: #eb6623;
}

.sectionbox .container .box .title {
    text-align: left;
    font-family: "Bahnschrift";
    font-weight: 400;
    color: #eb6623;
    font-size: 1.8rem;
    padding: 10px;
}

.container .box .content h3 {
    margin-left: 1rem;
    font-family: "Bahnschrift", sans-serif;
    font-weight: 400;
    color: #d4d4d4;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
}

.sectionbox .container .box p {
    font-size: 1rem;
    font-family: "Cairo", sans-serif;
    font-weight: 400;
    width: 100%;
    line-height: 1.7;
    color: #E0E1DD;
    margin-bottom: 1rem;
    font-weight: 300;
    padding: 12px;
    padding-top: 5px;
    padding-left: 16px;
}

/* Bullet list styling */
.container .box .content ul {
    list-style: none;
    padding-left: 1.5rem;
    margin: 0.5rem 0 1rem 0;
}

.container .box .content ul li {
    font-size: 1rem;
    font-family: "Cairo", sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: #E0E1DD;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.container .box .content ul li::before {
    content: "▹";
    color: #eb6623;
    font-size: 1.1rem;
    position: absolute;
    left: 0;
    top: 0;
}

/* Closing statement styling */
.closing-statement {
    max-width: 1000px;
    margin: 3rem auto 2rem;
    padding: 2rem 2.5rem;
    text-align: center;
    background: transparent;
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(235, 102, 35, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.closing-statement p {
    color: #E8E9EB;
    font-family: 'Bahnschrift', 'Segoe UI', sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    line-height: 1.9;
    letter-spacing: 0.3px;
}

.closing-statement a {
    color: #eb6623;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.closing-statement a:hover {
    color: #f0854a;
    border-bottom-color: #f0854a;
}

/* Read More functionality */
.read-more-container {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.read-more-container.collapsed {
    max-height: 140px;
}

.read-more-container.expanded {
    max-height: 1500px;
}

.text-blur {
    position: relative;
}

.read-more-container.collapsed .text-blur::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #101318);
    pointer-events: none;
}

.read-more-btn {
    display: none;
    background: #eb6623;
    color: #070c14;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-family: "Bahnschrift", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    margin-bottom: 7px;
    margin-left: 12px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #b44e1a;
}

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    .sectionbox .box img {
        width: 350px;
        height: 230px;
    }
    
    .sectionbox .container .box .title {
        font-size: 1.5rem;
    }
    
    .container .box .content h3 {
        font-size: 1rem;
    }
    
    .intro-section {
        margin: 0 1.5rem 2rem;
        padding: 1.2rem 1.5rem;
    }
    
    .closing-statement {
        margin: 2.5rem 1.5rem 1.5rem;
        padding: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .bac {
        height: 280px;
        background-attachment: scroll;
    }
    
    .sectionbox .header {
        height: 250px;
    }
    
    .sectionbox .header .items .title {
        font-size: 2.5rem;
    }
    
    .sectionbox .header .items h2 {
        font-size: 1rem;
    }
    
    .intro-section {
        margin: 0 1rem 1.5rem;
        padding: 1rem 1.2rem;
    }
    
    .intro-text p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .intro-divider {
        margin: 0.8rem auto 0;
    }
    
    /* Stack all boxes vertically on mobile */
    .sectionbox .box {
        flex-direction: column;
        border-left: 3px solid #eb6623;
        border-right: none;
    }
    
    .sectionbox .box.right {
        flex-direction: column-reverse;
        border-left: 3px solid #eb6623;
        border-right: none;
    }
    
    .sectionbox .box .content,
    .sectionbox .box .image-box {
        width: 100%;
        display: block;
    }
    
    .sectionbox .box .image-box {
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
    
    .sectionbox .box.right .image-box {
        padding-right: 0;
    }
    
    .sectionbox .box .content {
        padding-left: 10px;
    }
    
    .sectionbox .box img {
        width: 100%;
        height: auto;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .sectionbox .box img:hover {
        scale: 1.02;
    }
    
    .sectionbox .container .box .title {
        font-size: 1.4rem;
    }
    
    .container .box .content h3 {
        font-size: 0.95rem;
    }
    
    .container .box .content ul li {
        font-size: 0.9rem;
    }
    
    .closing-statement {
        padding: 1.2rem;
        margin: 2rem 1rem 1.5rem;
    }
    
    .closing-statement p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .read-more-btn {
        display: inline-block;
    }
}

@media screen and (max-width: 480px) {
    .bac {
        height: 220px;
        background-size: cover;
    }
    
    .sectionbox .header {
        height: 200px;
    }
    
    .sectionbox .header .items .title {
        font-size: 2rem;
    }
    
    .sectionbox .header .items h2 {
        font-size: 0.85rem;
    }
    
    .intro-section {
        margin: 0 0.8rem 1.2rem;
        padding: 0.8rem 1rem;
        border-radius: 12px;
    }
    
    .intro-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .sectionbox .container .box .title {
        font-size: 1.3rem;
    }
    
    .container .box .content h3 {
        font-size: 0.9rem;
    }
    
    .sectionbox .container .box p {
        font-size: 0.9rem;
    }
    
    .container .box .content ul li {
        font-size: 0.85rem;
    }
    
    .read-more-container.collapsed {
        max-height: 120px;
    }
    
    .closing-statement {
        padding: 1rem;
        margin: 1.5rem 0.8rem 1rem;
        border-radius: 12px;
    }
    
    .closing-statement p {
        font-size: 0.9rem;
    }
}