/* About KRSTE.MY Section Styles */
.about-krste-section {
    padding: 50px 0;
}

.about-krste-heading {
    font-size: 2.8rem;
    font-weight: 500;
    color: #1a3a6c;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    /*text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);*/
}

/* Heading Styles */
.about-heading {
    font-size: 2.5rem;
    font-weight: 500;
    color: #1a3a6c;
    line-height: 1.2;
}

/* Description Text Styles */
.about-description p {
    font-size: 16px;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Image Styles */
.about-images {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    z-index: 1;
}

.background-image img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.foreground-image {
    position: absolute;
    top: 50px;
    right: -35%;
    width: 60%;
    z-index: 2;
}

.foreground-image img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    max-height: 400px;
}

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

/* Responsive Adjustments */
@media (max-width: 991px) {
    .about-images {
        margin-top: 40px;
        min-height: 350px;
    }

    .background-image {
        width: 85%;
    }

    .foreground-image {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .about-krste-section {
        padding: 50px 0;
    }

    .about-heading {
        font-size: 2rem;
    }

    .about-images {
        min-height: 300px;
    }
}

/* Platform Provides Section Styles */
.platform-provides-section {
    background-color: #F5F6FA;
    padding: 50px 0;
    border-radius: 30px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.platform-provides-heading {
    font-size: 2.8rem;
    font-weight: 500;
    color: #1a3a6c;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    /*text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);*/
}

.platform-highlight {
    color: #9DCE3A; /* Bright green color */
}

/* Feature Card Styles */
.feature-card {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(26, 58, 108, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 30px 20px;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    color: #1a3a6c;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1a3a6c;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.feature-description {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Responsive Adjustments for Features Grid */
@media (max-width: 991px) {
    .platform-provides-section {
        padding: 60px 0;
    }

    .provides-heading {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .platform-provides-section {
        padding: 50px 0;
    }

    .provides-heading {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .feature-card {
        margin-bottom: 20px;
    }
}

/* Why KRSTE.MY Section Styles */
.why-krste-section {
    padding: 50px 0;
}

.why-krste-heading {
    font-size: 2.8rem;
    font-weight: 500;
    color: #1a3a6c;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    /*text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);*/
}

.why-krste-highlight {
    color: #9DCE3A; /* Bright green color */
}

/* Why KRSTE Left Column Styles */
.why-krste-image img {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-krste-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a3a6c;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.why-krste-text-block p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* Benefit Card Styles */
.benefit-card {
    background-color: #fff;
    border-radius: 12px;
    border: 1px solid #1a3a6c;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.benefit-card:hover {
    transform: scale(1.05);
}

.benefit-icon {
    font-size: 3rem;
    color: #1a3a6c;
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a3a6c;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.benefit-description {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Responsive Adjustments for Why KRSTE.MY Section */
@media (max-width: 991px) {
    .why-krste-section {
        padding: 60px 0;
    }

    .why-krste-left {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .why-krste-section {
        padding: 50px 0;
    }

    .benefit-card {
        margin-bottom: 20px;
    }
}

/* What's New in KRSTE.my 2.0 Section Styles */
.whats-new-section {
    position: relative;
    padding: 50px 0;
    color: #fff;
    overflow: hidden;

    border-radius: 30px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Video Background Styles */
.whats-new-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Dark Overlay */
.whats-new-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55); /* Dark overlay for readability */
    z-index: -1;
}

/* Heading Styles */
.whats-new-heading {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1.5rem;
}

/* Version Highlight */
.version-highlight {
    color: #9DCE3A; /* Bright green color */
}

/* Intro Text */
.whats-new-intro {
    font-size: 1.1rem;
    color: #f5f5f5;
    margin-bottom: 3rem;
}

/* Feature Block Styles */
.whats-new-feature {
    margin-bottom: 2rem;
}

.whats-new-feature-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1rem;
}

.whats-new-feature-desc {
    font-size: 1rem;
    color: #f0f0f0;
    line-height: 1.6;
}

/* Bulleted List Styles */
.whats-new-list {
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.whats-new-list li {
    color: #f0f0f0;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .whats-new-section {
        padding: 80px 0;
    }

    .whats-new-heading {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .whats-new-section {
        padding: 60px 0;
    }

    .whats-new-heading {
        font-size: 1.8rem;
    }

    .whats-new-feature-title {
        font-size: 1.3rem;
    }
}

/* Who Benefits Section Styles */
.who-benefits-section {
    padding: 50px 0;
}

.who-benefits-heading {
    font-size: 2.8rem;
    font-weight: 500;
    color: #1a3a6c;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    /*text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);*/
}

.who-benefits-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefit Content Card Styles */
.benefit-content-card {
    background-color: #fff;
    border-radius: 15px;
    border: 1px solid #a0c4ff; /* Light blue border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    padding: 40px;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.benefit-content-card:hover {
    transform: scale(1.05);
}

.benefit-content-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1a3a6c;
    margin-bottom: 1.5rem;
}

.benefit-content-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.benefit-content-list {
    padding-left: 1.5rem;
}

.benefit-content-list li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: #444;
}

/* Responsive Adjustments for Who Benefits Section */
@media (max-width: 991px) {
    .who-benefits-section {
        padding: 60px 0;
    }

    .who-benefits-heading {
        font-size: 2.2rem;
    }

    .benefit-content-card {
        padding: 30px;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .who-benefits-section {
        padding: 50px 0;
    }

    .who-benefits-heading {
        font-size: 2rem;
    }

    .who-benefits-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .benefit-content-card {
        padding: 25px;
    }
}

/* Educational Groups Section Styles */
.educational-groups-section {
    padding: 40px 0;
    background-color: #ffffff;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.educational-heading {
    font-size: 2.8rem;
    font-weight: 500;
    color: #1a3a6c;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    /*text-shadow: 0px 0px 7px rgba(0, 0, 0, 0.5);*/
}

.educational-groups-highlight {
    color: #9DCE3A; /* Same bright green color as in previous sections */
}

.educational-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Block Styles */
.educational-block-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1a3a6c;
    margin-bottom: 1.5rem;
}

.educational-block-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.educational-block-list {
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.educational-block-list li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: #444;
}

/* Concluding Statement Styles */
.educational-conclusion {
    font-size: 1.1rem;
    font-weight: 500;
    font-style: italic;
    color: #1a3a6c;
    text-align: center;
    margin-top: 3rem;
}

/* Responsive Adjustments for Educational Groups Section */
@media (max-width: 991px) {
    .educational-groups-section {
        padding: 60px 0;
    }

    .educational-heading {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .educational-groups-section {
        padding: 50px 0;
    }

    .educational-heading {
        font-size: 2rem;
    }

    .educational-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .educational-conclusion {
        font-size: 1rem;
    }
}

/* Industry Groups Section Styles */
.industry-groups-section {
    background-color: #F5F6FA;
    padding: 40px 0;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
}

.industry-heading {
    font-size: 2.8rem;
    font-weight: 500;
    color: #1a3a6c;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.industry-highlight {
    color: #9DCE3A; /* Same bright green color as in previous sections */
}

.industry-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Industry Content Card Styles */
.industry-content-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    padding: 40px;
    height: 100%;
    transition: transform 0.3s ease-in-out;
}

.industry-content-card:hover {
    transform: scale(1.05);
}

.industry-content-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1a3a6c;
    margin-bottom: 1.5rem;
}

.industry-content-desc {
    font-size: 16px;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.industry-content-list {
    padding-left: 1.5rem;
}

.industry-content-list li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: #444;
}

/* Responsive Adjustments for Industry Groups Section */
@media (max-width: 991px) {
    .industry-groups-section {
        padding: 60px 0;
    }

    .industry-heading {
        font-size: 2.2rem;
    }

    .industry-content-card {
        padding: 30px;
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .industry-groups-section {
        padding: 50px 0;
    }

    .industry-heading {
        font-size: 2rem;
    }

    .industry-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .industry-content-card {
        padding: 25px;
    }
}

/* Evolution of KRSTE.my Section Styles */
.evolution-section {
    padding: 40px 0;
}

.evolution-heading {
    font-size: 2.8rem;
    font-weight: 500;
    color: #1a3a6c;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.evolution-highlight {
    color: #9DCE3A; /* Same bright green color as in previous sections */
}

.evolution-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Evolution Images Styles */
.evolution-images {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.evolution-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    z-index: 1;
}

.evolution-background-image img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.evolution-foreground-image {
    position: absolute;
    top: 40%;
    right: 1%;
    width: 60%;
    z-index: 2;
}

.evolution-foreground-image img {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    max-height: 400px;
}

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

/* Timeline Styles */
.timeline-container {
    position: relative;
    padding-left: 30px;
    height: 100%;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background-color: #ddd;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.timeline-item.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.timeline-marker {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #ddd;
    border: 2px solid #fff;
    transition: background-color 0.3s ease;
}

.timeline-marker.active {
    background-color: #9DCE3A;
}

.timeline-marker.checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
}

.timeline-content {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1a3a6c;
    margin-bottom: 10px;
}

.timeline-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Responsive Adjustments for Evolution Section */
@media (max-width: 991px) {
    .evolution-section {
        padding: 60px 0;
    }

    .evolution-heading {
        font-size: 2.2rem;
    }

    .timeline-item {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .evolution-section {
        padding: 50px 0;
    }

    .evolution-heading {
        font-size: 2rem;
    }

    .evolution-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .evolution-image {
        display: none; /* Hide image on mobile to save space */
    }

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

    .timeline-item {
        padding-left: 25px;
        margin-bottom: 25px;
    }
}

/* Our Vision for KRSTE.my 2.0 Section Styles */
.vision-section {
    position: relative;
    padding: 30px 0;
    color: #fff;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    margin-top: 45px;
}

/* Video Background Styles */
.vision-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* Dark Overlay */
.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55); /* Dark overlay for readability */
    z-index: -1;
}

/* Heading Styles */
.vision-heading {
    font-size: 2.8rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 1.5rem;
}

/* Intro Text */
.vision-intro {
    font-size: 1.1rem;
    color: #f5f5f5;
    margin-bottom: 3rem;
}

/* Vision Point Styles */
.vision-point {
    text-align: left;
    margin-bottom: 2rem;
}

.vision-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #9DCE3A; /* Bright green color */
    border-radius: 10px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); /* Shield shape */
    margin-bottom: 1.5rem;
    color: #fff;
    font-size: 1.5rem;
}

.vision-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
}

.vision-description {
    font-size: 1rem;
    color: #f0f0f0;
    line-height: 1.6;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .vision-section {
        padding: 60px 0;
    }

    .vision-heading {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .vision-section {
        padding: 40px 0;
    }

    .vision-heading {
        font-size: 1.8rem;
    }

    .vision-point {
        margin-bottom: 3rem;
    }
}

/* --- Side Navigation --- */
#side-nav {
    position: fixed;
    top: 50%;
    right: 30px;
    transform: translateY(-50%) translateX(200%); /* Start off-screen */
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease;
    z-index: 1000;
}

/* State when navigation is visible */
#side-nav.is-visible {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    visibility: visible;
}

#side-nav ul {
    list-style: none;
}

#side-nav li {
    margin: 18px 0;
}

#side-nav a {
    display: block;
    width: 12px;
    height: 12px;
    background-color: #aaa;
    border-radius: 50%;
    position: relative;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* --- Tooltip for Navigation --- */
#side-nav a span {
    position: absolute;
    top: 50%;
    right: 150%;
    transform: translateY(-50%) translateX(10px);
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none; /* Allows clicks to pass through to the dot */
}

/* --- Interaction States --- */
#side-nav a:hover {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

#side-nav a:hover span {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Active state for the current section's dot */
#side-nav a.active {
    background-color: var(--primary-color);
    transform: scale(1.5);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.4);
}
