﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

/*body {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}*/
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.bg-footer {
    background-color: #001960;
    margin-top: auto;
}

.text-teal {
    color: #00C2A7;
}
.bg-header {
    background-color: #001960;
}

/*CSS Nền tảng Kết nối Mentor-Mentee*/
.hero-image-section {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
}

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

.hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 520px;
}

    .hero-text-overlay h1 {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .hero-text-overlay .highlight {
        color: #ffce00;
    }

    .hero-text-overlay p {
        font-size: 16px;
        margin-bottom: 24px;
    }

.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid white;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    background-color: transparent;
}


/*CSS về InMentor*/
.about-inmentor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    gap: 40px;
    background-color: #ffffff;
    position: relative;
}

.about-text {
    flex: 1;
    position: relative;
    z-index: 2;
}

    .about-text .mentor-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 600px;
        opacity: 0.06;
        z-index: 0;
        pointer-events: none;
    }

    .about-text h2,
    .about-text p {
        position: relative;
        z-index: 2;
    }

    .about-text h2 {
        font-size: 28px;
        font-weight: 700;
        color: #0b1d4c;
        margin-bottom: 20px;
    }

    .about-text .highlight {
        color: #1c4ff2;
        font-weight: bold;
    }

    .about-text p {
        font-size: 16px;
        line-height: 1.6;
        color: #333;
        margin-bottom: 16px;
    }

.about-graphic {
    flex: 1;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .about-graphic img {
        max-width: 100%;
        height: auto;
    }

/* InMentor có gì*/
.inmentor-features {
    text-align: center;
    padding: 80px 10%;
    background: #fdfdfd;
}

.features-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #0b1d4c;
    margin-bottom: 12px;
}

.features-header p {
    font-size: 16px;
    color: #444;
    max-width: 800px;
    margin: 0 auto 60px auto;
    line-height: 1.6;
}

.features-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-item {
    flex: 1;
    max-width: 300px;
    text-align: center;
}

    .feature-item img {
        width: 100%;
        max-width: 160px;
        height: auto;
        margin-bottom: 20px;
    }

    .feature-item h3 {
        font-size: 20px;
        font-weight: 700;
        color: #0072ce;
        margin-bottom: 10px;
    }

    .feature-item p {
        font-size: 15px;
        color: #333;
        line-height: 1.6;
    }

/*InMentor Thấu hiểu chính mình */
.self-discovery {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    gap: 60px;
    background-color: #ffffff;
    flex-wrap: wrap;
}

.discovery-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

    .discovery-image img {
        max-width: 100%;
        height: auto;
        width: 400px;
    }

.discovery-content {
    flex: 1;
    z-index: 1;
}

    .discovery-content h2 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .discovery-content .highlight-blue {
        color: #002d71;
    }

    .discovery-content .highlight-green {
        color: #00c39a;
    }

    .discovery-content p {
        font-size: 16px;
        color: #333;
        line-height: 1.6;
        margin-bottom: 24px;
        max-width: 480px;
    }

.btn-discover {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(to right, #00c39a, #0072ce);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

    .btn-discover span {
        margin-left: 8px;
    }


/*KẾT NỐI JOB THỰC TẬP SINH*/
.job-connect {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 10%;
    gap: 60px;
    background-color: #ffffff;
    flex-wrap: wrap;
}

.job-content {
    flex: 1;
}

    .job-content h2 {
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .job-content .highlight-green {
        color: #00c39a;
    }

    .job-content .highlight-blue {
        color: #002d71;
    }

    .job-content p {
        font-size: 15px;
        line-height: 1.6;
        color: #333;
        margin-bottom: 24px;
        max-width: 520px;
    }

.btn-job {
    display: inline-block;
    background: linear-gradient(to right, #00c39a, #0072ce);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.job-icons {
    flex: 1;
    display: flex;
    justify-content: center;
}

    .job-icons img {
        max-width: 320px;
        width: 100%;
        height: auto;
    }

/*Your Future Starts Here*/
/*dÙNG CHUNG VỚI HERO*/


/*Đối tác cảu chúng tôi*/
.partner-section {
    padding: 60px 0;
    background-color: #fff;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #002856;
    margin-bottom: 40px;
    position: relative;
}

    .section-title::after {
        content: '';
        display: block;
        width: 60px;
        height: 2px;
        background-color: #0abdc6;
        margin: 10px auto 0;
    }

.partner-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    justify-items: center;
    align-items: center;
}

    .partner-logos img {
        max-height: 60px;
        max-width: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

        .partner-logos img:hover {
            transform: scale(1.05);
        }

/*BÁO CHÍ NÓI VỀ INMENTOR*/
.press-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #f1fafe, #ffffff);
}

.press-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.press-logo {
    max-height: 40px;
}

.press-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #0a2767;
    margin-bottom: 15px;
}

.press-description {
    color: #333;
    font-size: 1rem;
    margin-bottom: 20px;
}

.btn-link {
    color: #00b6d4;
    text-decoration: none;
    font-weight: 600;
}

.btn-link:hover {
    text-decoration: underline;
}

.carousel-indicators .dot {
    height: 10px;
    width: 10px;
    margin: 0 6px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
}

.carousel-indicators .dot.active {
    background-color: #00b6d4;
}

/*format page*/
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-content {
    flex: 1;
}
.hero-image-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

    .hero-image-section > *:first-child {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

.bg-header {
    margin-bottom: 0 !important;
}

/* Scoped styles for act-highlight section only */
/* Scoped styles for act-highlight section only */
.act-highlight-wrapper {
    background: #FFFFFF;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.act-highlight-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.act-highlight-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Main columns layout */
.act-highlight-left-section,
.act-highlight-right-section {
    flex: 1;
    display: flex;
    gap: 10px;
}

.act-highlight-center-section {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Left and Right sections - 2 columns each */
.act-highlight-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

/* Left section columns */
.act-highlight-left-section .act-highlight-column:first-child {
    margin-top: 40px; /* Push down first column */
}

.act-highlight-left-section .act-highlight-column:last-child {
    margin-top: -40px; /* Pull up second column */
}

/* Right section columns - reversed */
.act-highlight-right-section .act-highlight-column:first-child {
    margin-top: -40px; /* Pull up first column */
}

.act-highlight-right-section .act-highlight-column:last-child {
    margin-top: 40px; /* Push down second column */
}

/* Center section - top row with 5 images */
.act-highlight-center-top {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: nowrap; /* Force single row */
    padding-top: 20px;
}

/* Zigzag pattern for center images */
.act-highlight-center-top .act-highlight-image-card:nth-child(1) {
    margin-top: 15px; /* Push down */
}

.act-highlight-center-top .act-highlight-image-card:nth-child(2) {
    margin-top: -15px; /* Pull up */
}

.act-highlight-center-top .act-highlight-image-card:nth-child(3) {
    margin-top: 15px; /* Push down */
}

.act-highlight-center-top .act-highlight-image-card:nth-child(4) {
    margin-top: -15px; /* Pull up */
}

.act-highlight-center-top .act-highlight-image-card:nth-child(5) {
    margin-top: 15px; /* Push down */
}

/* Title styling */
.act-highlight-title-wrapper {
    text-align: center;
}

.act-highlight-title-line1 {
    font-size: 56px;
    font-weight: 800;
    color: #1E3A8A;
    margin-bottom: -10px;
    letter-spacing: 2px;
}

.act-highlight-title-line2 {
    font-size: 60px;
    font-weight: 800;
    color: #10B981;
    letter-spacing: 2px;
}

/* Image card styling */
.act-highlight-image-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    transition: all 0.3s ease;
    position: relative;
}

.act-highlight-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Different sizes for images */
.act-highlight-size-small {
    width: 100px;
    height: 120px;
}

.act-highlight-size-medium {
    width: 110px;
    height: 130px;
}

.act-highlight-size-large {
    width: 120px;
    height: 140px;
}

/* Center images specifically smaller */
.act-highlight-center-top .act-highlight-image-card {
    width: 90px;
    height: 110px;
}

/* Special background colors for some cards */
.act-highlight-purple-bg {
    background: #C7B2FF;
}

.act-highlight-beige-bg {
    background: #F5DEB3;
}

.act-highlight-green-bg {
    background: #90EE90;
}

/* Hover effect */
.act-highlight-image-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Animation */
.act-highlight-image-card {
    animation: act-highlight-float 6s ease-in-out infinite;
}

.act-highlight-image-card:nth-child(odd) {
    animation-delay: 0s;
    animation-duration: 6s;
}

.act-highlight-image-card:nth-child(even) {
    animation-delay: 3s;
    animation-duration: 7s;
}

@keyframes act-highlight-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Description text */
.act-highlight-description {
    text-align: center;
    margin-top: 30px;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.act-highlight-description p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
@media (max-width: 1024px) {
    .act-highlight-container {
        flex-direction: column;
    }

    .act-highlight-left-section,
    .act-highlight-right-section {
        flex-direction: row;
        justify-content: center;
    }

    .act-highlight-column:first-child,
    .act-highlight-column:last-child {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .act-highlight-title-line1 {
        font-size: 36px;
    }

    .act-highlight-title-line2 {
        font-size: 40px;
    }

    .act-highlight-size-small,
    .act-highlight-size-medium,
    .act-highlight-size-large {
        width: 100px;
        height: 120px;
    }
}


/*tin tức hoạt động*/
.event-section {
    padding: 0 0 60px 0;
    background: #fff;
}

.event-list {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.event-card {
    width: 320px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 0 0 1px #f1f1f1;
    padding: 16px;
    transition: box-shadow 0.2s ease;
}

.event-card:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.event-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 12px;
}

.event-date {
    color: #00aa94;
    font-size: 14px;
    margin-bottom: 8px;
}

.event-title {
    font-size: 16px;
    font-weight: 700;
    color: #002d5b;
    margin-bottom: 16px;
    line-height: 1.5;
}

.event-link {
    color: #002d5b;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.event-link span {
    margin-left: 4px;
}


/*Báo cchis*/
.press-section {
    background: linear-gradient(to bottom, #0071a9, #53e3bb);
    padding: 80px 20px;
    color: #002d5b;
}

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

.press-title {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #002d5b;
    margin-bottom: 40px;
}

.press-card {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.press-text {
    flex: 1 1 55%;
    padding: 32px;
    text-align: left;
}

.press-logo img {
    height: 32px;
    margin-bottom: 12px;
}

.press-heading {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
}

.press-description {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.press-link {
    font-weight: 600;
    font-size: 15px;
    color: #00aa94;
    text-decoration: none;
}

.press-link span {
    margin-left: 6px;
}

.press-image {
    flex: 1 1 45%;
    max-height: 400px;
}

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

.press-pagination {
    text-align: center;
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 4px;
    transition: background 0.3s;
}

.dot.active {
    background: #002d5b;
}
