/* Hero Section */
.hero-section {
    margin-bottom: 0;
    margin-top: -100px;
}

.hero-slider {
    position: relative;
    height: 75vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 2rem;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.4rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background: var(--accent-orange);
    transform: scale(1.3);
    border-color: white;
}

/* Introduction Section */
.intro-section {
    padding: 5rem 0;
    background: white;
}


.intro-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.intro-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.intro-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: var(--accent-orange);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.intro-content {
    padding-left: 2rem;
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* Mission & Vision Section */
.mission-vision-section {
    padding: 8rem 0;
    background: #ffffff;
    overflow: hidden;
}

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

.section-title-center h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
    position: relative;
    display: inline-block;
}

.section-title-center h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--primary-red));
    border-radius: 2px;
}

.section-title-center p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-top: 1.5rem;
}



/* Core Values Section - Split Layout */
.values-section {
    padding: 8rem 0;
    background: #ffffff;
    overflow: hidden;
}

.values-flex-container {
    display: flex;
    gap: 6rem;
    align-items: center;
    margin-top: 4rem;
}

.values-flex-reversed {
    flex-direction: row-reverse;
}

.values-image-side {
    flex: 1;
    position: relative;
    max-width: 50%;
}

/* When values-image-side is inside a Bootstrap column, let the column control width */
[class*="col-"] .values-image-side {
    max-width: 100%;
    flex: none;
}

.values-main-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    height: 600px;
}

.values-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.values-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
}

.overlay-content span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-orange);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.overlay-content h3 {
    font-size: 2.2rem;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.values-image-side:hover .values-main-image img {
    transform: scale(1.05);
}

.values-content-side {
    flex: 1.2;
}

.values-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2.5rem;
}

.value-feature-item {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.value-feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.1), rgba(255, 107, 53, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.value-feature-item:hover .value-feature-icon {
    background: var(--primary-blue);
    color: white;
    transform: rotate(10deg);
}

.value-feature-text h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    font-family: 'Poppins', sans-serif;
}

.value-feature-text p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .values-flex-container {
        gap: 3rem;
    }

    .overlay-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .values-flex-container {
        flex-direction: column;
        gap: 5rem;
    }

    .values-image-side {
        max-width: 100%;
        width: 100%;
    }

    .values-main-image {
        height: 400px;
    }

    .values-feature-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 668px) {
    .values-feature-list {
        grid-template-columns: 1fr;
    }
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

/* About/Intro Section Refinement */
.intro-section {
    padding: 8rem 0;
    background: #ffffff;
}

.about-summary-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.summary-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.summary-item i {
    color: var(--accent-orange);
    font-size: 1.2rem;
    margin-top: 5px;
}

.summary-item div {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.summary-item strong {
    color: var(--primary-blue);
}

.intro-image-wrapper {
    position: relative;
    padding-right: 2rem;
    padding-bottom: 2rem;
}

.intro-image {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-orange));
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 2;
    border: 8px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.experience-badge .number {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.experience-badge .text {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Journey Section - Managed Feed Style */
.journey-section {
    padding: 8rem 0;
    background: #fdfdfd;
}

.journey-flex-container {
    display: flex;
    gap: 6rem;
    align-items: center;
    margin-top: 4rem;
}

.journey-image-side {
    flex: 1;
}

.journey-main-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 500px;
}

.journey-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.journey-experience-card {
    position: absolute;
    top: 30px;
    left: 30px;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.journey-experience-card h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.journey-experience-card p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.journey-content-side {
    flex: 1;
}

.journey-milestones {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.milestone-item {
    display: flex;
    gap: 1.8rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.milestone-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 30px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-orange), transparent);
}

.milestone-dot {
    width: 22px;
    height: 22px;
    background: white;
    border: 4px solid var(--accent-orange);
    border-radius: 50%;
    z-index: 1;
    flex-shrink: 0;
    margin-top: 4px;
}

.milestone-text h5 {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.milestone-text p {
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
}

@media (max-width: 992px) {
    .journey-flex-container {
        flex-direction: column-reverse;
    }

    .journey-image-side {
        width: 100%;
    }

    .journey-main-image {
        height: 350px;
    }
}

/* Partners Section */
.partners-section {
    padding: 5rem 0;
    background: white;
}

.partners-carousel-wrapper {
    overflow: hidden;
    padding: 2rem 0;
    background: linear-gradient(135deg, #e8f4f8 0%, white 50%, #f0f8ff 100%);
    border-radius: 20px;
}

.partners-track {
    display: flex;
    gap: 2.5rem;
    animation: scroll-partners 30s linear infinite;
    padding: 0 1rem;
}

.partner-item {
    min-width: 320px;
    background: white;
    padding: 2rem;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-orange);
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.partner-logo-wrapper {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 4px solid #f0f8ff;
}

.partner-logo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-item h5 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-family: 'Poppins', sans-serif;
}

.partner-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background-image: url("../images/hdf4.1a38b451df02.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.9), rgba(184, 84, 80, 0.85));
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid transparent;
}

.btn-cta-primary {
    background: var(--accent-orange);
    color: white;
}

.btn-cta-primary:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    color: white;
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-cta-secondary:hover {
    background: white;
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.btn-cta-tertiary {
    background: var(--primary-blue);
    color: white;
}

.btn-cta-tertiary:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(26, 35, 126, 0.4);
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .intro-content {
        padding-left: 0;
        margin-top: 2rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline-item.reverse {
        direction: ltr;
    }

    .timeline-image-card {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

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

    .section-title-center h2 {
        font-size: 2.2rem;
    }

    .intro-image {
        height: 350px;
    }

    .purpose-image {
        height: 250px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .cta-section {
        background-attachment: scroll;
    }
}

/* Latest Highlights Section - Elegant Feed Style */
.highlights-section {
    padding: 8rem 0;
    background: #ffffff;
    position: relative;
}

.highlights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 35, 126, 0.1), transparent);
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    margin-top: 4rem;
}

.highlight-column {
    display: flex;
    flex-direction: column;
}

.highlight-column-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.highlight-column-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.highlight-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.highlight-card {
    display: flex;
    gap: 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s ease;
    padding: 1rem;
    border-radius: 20px;
    margin: -1rem;
    /* Negative margin to maintain alignment while allowing internal padding for hover */
}

.highlight-card:hover {
    background: var(--background-light);
}

.highlight-image {
    width: 140px;
    height: 140px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.highlight-card:hover .highlight-image img {
    transform: scale(1.1);
}

.highlight-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.highlight-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.highlight-card:hover h4 {
    color: var(--accent-orange);
}

.highlight-excerpt {
    font-size: 1rem;
    color: var(--text-dark);
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.highlight-meta-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: auto;
}

.highlight-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(26, 35, 126, 0.05);
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 500;
}

.highlight-meta i {
    color: var(--accent-orange);
    font-size: 0.8rem;
}

.view-more-link {
    align-self: flex-start;
    margin-top: 3rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.view-more-link:hover {
    color: var(--accent-orange);
    border-bottom-color: var(--accent-orange);
    transform: translateX(5px);
}

/* Specific styling for column types */
.highlight-column:last-child {
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    padding-left: 5rem;
}

/* Empty state styling */
.text-muted {
    font-style: italic;
    opacity: 0.6;
}

/* Responsiveness */
@media (max-width: 1200px) {
    .highlights-grid {
        gap: 3rem;
    }

    .highlight-column:last-child {
        padding-left: 3rem;
    }
}

@media (max-width: 992px) {
    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .highlight-column:last-child {
        border-left: none;
        padding-left: 0;
        padding-top: 4rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 576px) {
    .highlight-card {
        flex-direction: column;
        gap: 1.5rem;
    }

    .highlight-image {
        width: 100%;
        height: 200px;
    }
}