:root {
    --primary-color: #0066FF;
    --primary-dark: #0052CC;
    --secondary-color: #FFD700;
    --light-blue: #E6F0FF;
    --gray-500: #6B7280;
    --gray-400: #9CA3AF;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    70% {
        opacity: 1;
        transform: translateX(0);
    }

    75% {
        transform: translateX(-8px);
    }

    80% {
        transform: translateX(8px);
    }

    85% {
        transform: translateX(-6px);
    }

    90% {
        transform: translateX(6px);
    }

    95% {
        transform: translateX(-3px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-title,
.about-subtitle,
.products-title,
.products-subtitle,
.about-description li,
.achievements-list li {
    opacity: 0;
}

.about-title.animate,
.products-title.animate {
    animation: slideInLeft 0.6s ease-out forwards;
}

.about-subtitle.animate,
.products-subtitle.animate {
    animation: slideInRight 0.6s ease-out forwards;
}

.partnership-title,
.partnership-subtitle {
    opacity: 0;
}

.partnership-title.animate {
    animation: slideInLeft 0.6s ease-out forwards;
}

.partnership-subtitle.animate {
    animation: slideInRight 0.6s ease-out forwards;
}

.about-description li.animate {
    animation: fadeInUp 0.5s ease-out forwards;
}

.achievements-list li.animate {
    animation: slideInLeft 0.5s ease-out forwards;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
    scroll-behavior: smooth;
}

.hero-section {
    position: relative;
    /* height: 700px; */
    overflow: hidden;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    line-height: 0 !important;
}

#heroCarousel,
#heroCarousel .carousel-inner,
#heroCarousel .carousel-item,
#heroCarousel .carousel-item img {
    border-radius: 0 !important;
}

#heroCarousel .carousel-indicators button {
    border-radius: 50% !important;
}

#heroCarousel .carousel-item img {
    display: block;
    vertical-align: middle;
    line-height: 0;
}

.hero-carousel {
    height: 100%;
    border-radius: 0 !important;
}

.hero-carousel .carousel-inner {
    height: 100%;
    border-radius: 0 !important;
}

.hero-carousel .carousel-item {
    height: 100%;
    position: relative;
    border-radius: 0 !important;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border-radius: 0 !important;
    display: block;
}

.hero-carousel .d-block {
    border-radius: 0 !important;
}

.hero-section+.stats-section {
    margin-top: 0 !important;
    padding-top: 1rem !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.hero-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    z-index: 2;
}

.hero-carousel .carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 0;
    display: flex;
    gap: 12px;
    z-index: 3;
}

.hero-carousel .carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background-color: transparent;
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-carousel .carousel-indicators button.active {
    background-color: #0066FF;
    border-color: #0066FF;
    transform: scale(1.2);
}

.products-section {
    background-color: #D9E8FF;
}

.products-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0066FF;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0px;
}

.products-subtitle {
    font-size: 1.5rem;
    color: #6B7280;
    margin-top: 0.5rem;
}

.products-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    margin-top: 4rem;
}

.products-carousel-wrapper {
    display: none;
}

.products-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.product-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    aspect-ratio: 590 / 343;
    z-index: 1;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 102, 255, 0.85), rgba(0, 102, 255, 0.7));
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s ease-out;
    z-index: 2;
    display: flex;
    align-items: center;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-content {
    width: 100%;
}

.product-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.product-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.product-text {
    color: white;
    font-size: 0.95rem;
    line-height: 1.8;
    font-weight: 400;
}

.center-image-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 4px solid white;
}

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

@media (max-width: 768px) {
    .products-container {
        max-width: 100%;
        margin-top: 2rem;
    }

    .products-grid-wrapper {
        display: none;
    }

    .products-carousel-wrapper {
        display: block;
    }

    .products-carousel-inner {
        position: relative;
        width: 100%;
    }

    .products-carousel .carousel-item {
        position: relative;
        width: 100%;
    }

    .products-carousel .product-item {
        aspect-ratio: 590 / 343;
        margin: 0 auto;
        max-width: 100%;
    }

    .product-overlay {
        display: none;
    }

    .center-image-container {
        display: none;
    }

    .products-indicators-wrapper {
        /* position: relative; */
        margin-top: 1rem;
    }
}

.stats-section {
    background-color: #0066FF;
    padding: 1rem 0;
}

.stats-section .container {
    max-width: 1400px;
}

.stats-section .row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 200px;
}

.stats-section .col-md-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .stats-section {
        margin-top: 1.5rem;
        padding: 1.5rem 0;
    }

    .stats-section .row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        min-height: auto;
    }

    .stats-section .col-md-3 {
        width: calc(50% - 0.25rem);
        min-height: auto;
        padding: 0.5rem 0;
    }

    .stats-section .stat-number-wrapper {
        align-items: center;
    }
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    height: 3.466vw;
}

.stat-top {
    color: #FFD700;
    font-size: 3.466vw;
    font-weight: 700;
    margin-right: 0.3rem;
}

.stat-number {
    color: #FFD700;
    font-size: 3.46vw;
    font-weight: 700;
    line-height: 1;
}

.stat-plus {
    color: #FFD700;
    font-size: 3.466vw;
    font-weight: 700;
    margin-left: 0.15em;
}

.stat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 1rem;
    height: 75px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-list li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.hero-title {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-top: 1rem;
}

.py-12 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media screen and (max-width:768px) {
    .py-12 {
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

.section-title,
.section-subtitle {
    opacity: 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0066FF;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.section-title.animate {
    animation: slideInLeft 0.6s ease-out forwards;
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.section-subtitle.animate {
    animation: slideInRight 0.6s ease-out forwards;
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-bottom {
    background-color: var(--primary-color);
    padding: 1.2rem;
    text-align: center;
}

.price {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.btn-yellow {
    background-color: var(--secondary-color);
    color: #333;
    font-weight: 600;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-yellow:hover {
    background-color: #FFC107;
    transform: scale(1.05);
}

.about-section {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 150px;
    left: -50px;
    right: -50px;
    bottom: -250px;
    background-image: url('/images/abu-bg.png');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0066FF;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-subtitle {
    font-size: 1.5rem;
    color: #6B7280;
    margin-top: 0.5rem;
}

.about-row {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    margin-top: 40px;
}

@media screen and (max-width:768px) {
    .about-row {
        margin-top: 30px;
    }
}

.about-left {
    flex: 2.5;
    display: flex;
    align-items: stretch;
}

.about-card {
    background-color: #0066FF;
    border-radius: 16px;
    padding: 2.5rem;
    color: white;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    width: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
    opacity: 0.8;
}

@media screen and (max-width:768px) {
    .about-card {
        padding: 2rem;
    }
}

.about-description {
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.about-title-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 1rem;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.about-title-text.hover-animate {
    opacity: 1;
}

.about-paragraph {
    font-size: 1.2rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 19px;
    /* text-align: justify; */
    flex: 1;
    opacity: 0;
}

.about-paragraph.hover-animate:nth-child(odd) {
    animation: slideInLeft 0.5s ease-out forwards;
}

.about-paragraph.hover-animate:nth-child(even) {
    animation: slideInRight 0.5s ease-out forwards;
}

.about-right {
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.4),
        0 6px 20px rgba(0, 102, 255, 0.3),
        0 0 0 1px rgba(0, 102, 255, 0.2);
    border-radius: 12px;
    transform: translateY(-2px);
    animation: shadowBreathe 3s ease-in-out infinite;
}

@keyframes shadowBreathe {

    0%,
    100% {
        box-shadow: 0 12px 40px rgba(0, 102, 255, 0.4),
            0 6px 20px rgba(0, 102, 255, 0.3),
            0 0 0 1px rgba(0, 102, 255, 0.2);
    }

    50% {
        box-shadow: 0 25px 70px rgba(0, 102, 255, 0.7),
            0 15px 40px rgba(0, 102, 255, 0.55),
            0 0 0 3px rgba(0, 102, 255, 0.4);
    }
}

.achievements-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

.achievements-list li {
    padding: 0.5rem 0;
    font-size: 1.2rem;
    line-height: 1.5;
}

.about-right {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: stretch;
}

.certificate-wrapper {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    position: relative;
}

.certificate-wrapper .carousel-inner {
    flex: 1;
}

.certificate-wrapper .carousel-item {
    position: relative;
}

.certificate-image-container {
    width: 100%;
    aspect-ratio: 1084 / 1451;
    background-color: white;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.certificate-wrapper .carousel-control-prev,
.certificate-wrapper .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: transparent;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.certificate-wrapper .carousel-control-prev:hover,
.certificate-wrapper .carousel-control-next:hover {
    background-color: #0066FF;
    opacity: 1;
}

.certificate-indicators-wrapper {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.9);
}

.certificate-wrapper .carousel-indicators-wrapper {
    position: absolute;
    bottom: 58px;
    left: 0;
    right: 0;
    background-color: transparent;
    padding: 8px 0;
    display: flex;
    justify-content: center;
}

.certificate-wrapper .carousel-indicators {
    position: static;
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 15px;
    transform: none;
}

.certificate-wrapper .carousel-indicators button {
    width: 50px;
    height: 3px;
    border: none;
    border-radius: 2px;
    background-color: #ccc;
    opacity: 1;
    transition: all 0.3s ease;
}

.certificate-wrapper .carousel-indicators button.active {
    background-color: #0066FF;
    width: 70px;
}

.certificate-wrapper .carousel-control-prev {
    left: 0;
}

.certificate-wrapper .carousel-control-next {
    right: 0;
}

.carousel-caption-area {
    background-color: #0066FF;
    padding: 12px 20px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    opacity: 0.8;
}

.carousel-caption-area .caption-text {
    color: #FFD700;
    font-size: 0.95rem;
    margin: 0;
    text-align: center;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    font-weight: bold;
    animation: slowFlicker 3s ease-in-out infinite;
}

@keyframes slowFlicker {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

@media (max-width: 992px) {
    .about-row {
        flex-direction: column;
    }

    .about-left,
    .about-right {
        flex: none;
        width: 100%;
    }

    .certificate-img {
        max-height: 300px;
        object-fit: contain;
    }

    .certificate-wrapper .carousel-item {
        height: auto;
    }

    .certificate-image-container {
        height: auto;
    }
}

.achievement-item {
    padding: 1.5rem;
}

.achievement-item i {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
}

.achievement-number {
    color: #333;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.achievement-label {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.image-grid {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.grid-main {
    flex: 2;
}

.grid-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.team-carousel {
    position: relative;
}

.carousel-inner img {
    border-radius: 12px;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
}

@media screen and (max-width:768px) {
    .partner-grid {
        padding: 0.8rem 0 2rem;
        gap: 1rem;
    }
}

.partner-carousel-wrapper {
    display: none;
}

.partner-item {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.partner-item:hover,
.partner-item.active {
    opacity: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@keyframes colorAndRotate {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

.partner-logo {
    max-width: 100%;
    max-height: 60px;
    filter: none;
    width: auto;
    height: auto;
    object-fit: contain;
}

.news-section {
    background-color: #E6F3FF;
}

.news-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 40px;
    margin-left: -100px;
    margin-right: -100px;
}

.news-column {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.news-column>* {
    flex-shrink: 0;
}

.news-tab {
    background-color: #3B82F6;
    color: white;
    padding: 0.75rem 1.5rem;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    min-width: 200px;
    border-radius: 50px;
    animation: newsTabShake 2s ease-in-out infinite;
}

.news-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.news-tab:hover::before {
    left: 100%;
}

.news-tab:hover {
    background-color: #2563EB;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    animation-play-state: paused;
}

@keyframes newsTabShake {

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

    5% {
        transform: translateX(-10px);
    }

    10% {
        transform: translateX(10px);
    }

    15% {
        transform: translateX(-8px);
    }

    20% {
        transform: translateX(8px);
    }

    25% {
        transform: translateX(-6px);
    }

    30% {
        transform: translateX(6px);
    }

    35% {
        transform: translateX(-4px);
    }

    40% {
        transform: translateX(4px);
    }

    45%,
    100% {
        transform: translateX(0);
    }
}

.news-view-more {
    text-align: center;
    margin-top: 70px;
}

.btn-news-more {
    background-color: #3B82F6;
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 1.55rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.btn-news-more::after {
    content: '';
    position: absolute;
    right: 30px;
    top: 52%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.btn-news-more:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.message-card {
    margin: 0 auto;
    width: 100%;
}

.message-title,
.message-desc {
    opacity: 0;
}

.message-title {
    color: #000;
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.message-title.animate {
    animation: slideInLeft 0.6s ease-out forwards;
}

.message-desc {
    color: #495057;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.message-desc.animate {
    animation: slideInRight 0.6s ease-out forwards;
}

.message-input {
    border: none;
    border-radius: 50px;
    background-color: #fff;
    height: 50px;
    padding: 0 1.25rem;
}

.message-input::placeholder {
    color: #adb5bd;
}

.message-textarea {
    border: none;
    border-radius: 50px;
    background-color: #fff;
    padding: 1rem 1.25rem;
    height: auto;
    min-height: 100px;
}

.message-textarea::placeholder {
    color: #adb5bd;
}

.btn-message-send {
    background-color: #0d6efd;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-message-send:hover {
    background-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}

.news-carousel {
    position: relative;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 380px;
}

.news-carousel-inner {
    position: relative;
    height: 100%;
    width: 100%;
}

.news-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
    opacity: 0;
}

.news-card.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.news-image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.img_box {
    position: relative;
    overflow: hidden;
}

.img_box img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    object-fit: cover;
}

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

.news-footer {
    display: flex;
    padding: 0;
    align-items: stretch;
    flex: 1;
    min-height: 100px;
    background: white;
}

.news-date-box {
    background-color: #3B82F6;
    color: white;
    padding: 0.75rem 1rem;
    text-align: center;
    width: 85px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.news-date-day {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

.news-date-year {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    margin-top: 6px;
}

.news-date-year::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.8);
}

.news-text-content {
    flex: 1;
    padding: 0.75rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    min-width: 0;
    gap: 1rem;
}

.news-text-left {
    flex: 1;
    min-width: 0;
}

.news-text-right {
    flex-shrink: 0;
}

.news-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.3rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 1.32em;
}

.news-desc {
    color: #6B7280;
    font-size: 0.85rem;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    max-height: 1.4em;
}

.news-link {
    color: #3B82F6;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}

.news-link:hover {
    color: #2563EB;
    text-decoration: underline;
}

.news-carousel-prev,
.news-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.news-carousel-prev {
    left: 0;
}

.news-carousel-next {
    right: 0;
}

.news-carousel-prev:hover,
.news-carousel-next:hover {
    background-color: #0066FF;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .about-paragraph {
        line-height: 1.5;
        letter-spacing: 0;
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }

    .about-description {
        gap: 0.5rem;
    }

    .news-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-left: 0;
        margin-right: 0;
    }

    .news-carousel {
        height: 280px;
    }

    .news-image-wrapper {
        height: 180px;
    }

    .news-date-box {
        width: 65px;
        padding: 0.5rem 0.7rem;
    }

    .news-date-day {
        font-size: 1.2rem;
    }

    .news-date-year {
        font-size: 1.2rem;
    }

    .news-title {
        font-size: 0.85rem;
    }

    .news-desc {
        font-size: 0.75rem;
    }
}

.message-section {
    padding: 5rem 0;
}

.message-card {
    background: #F5F5F5;
    border-radius: 12px;
    padding: 3rem;
    max-width: 100%;
    margin: 0 auto;
}

.contact-form .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.8rem 1rem;
    font-size: 1rem;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.8rem 2.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-send {
    padding: 0.9rem 3rem;
}

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

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .about-title,
    .products-title,
    .section-title,
    .partnership-title {
        font-size: 1.5rem;
    }

    .about-subtitle,
    .products-subtitle,
    .section-subtitle,
    .partnership-subtitle {
        font-size: 16px;
    }

    #partnership {
        padding-top: 50px;
        padding-bottom: 1.5rem;
    }

    #partnership .mb-10 {
        margin-bottom: 1rem;
    }

    .partner-slide-grid .partner-item {
        height: 60px;
        padding: 0.5rem;
    }

    .partner-slide-grid .partner-logo {
        max-height: 35px;
    }

    .partner-carousel {
        padding: 0.5rem 0;
    }

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

    .image-grid {
        flex-direction: column;
    }

    .message-card {
        padding: 1.5rem;
    }

    .navbar-contact {
        display: none !important;
    }

    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-section {
        /* height: 45vh; */
        /* min-height: 280px; */
    }

    .section-title {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* .partner-grid {
        display: none;
    } */

    .hero-section+.stats-section {
        margin-top: 0 !important;
        padding-top: 2rem !important;
        padding-bottom: 0.5rem !important;
    }

    .hero-carousel .carousel-indicators button {
        width: 8px;
        height: 8px;
    }

    .partner-carousel-wrapper {
        display: none;
    }

    .partner-carousel {
        padding: 1rem 0;
    }

    .partner-slide-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 0.5rem;
    }

    .partner-slide-grid .partner-item {
        height: 80px;
    }

    .partner-slide-grid .partner-logo {
        max-height: 45px;
    }

    .partner-indicators {
        position: relative;
        margin-top: 1rem;
    }

    .partner-carousel .carousel-control-prev,
    .partner-carousel .carousel-control-next {
        display: none !important;
    }

    .partner-carousel .carousel-control-prev:hover,
    .partner-carousel .carousel-control-next:hover {
        opacity: 1;
    }

    .partner-carousel .carousel-control-prev-icon,
    .partner-carousel .carousel-control-next-icon {
        width: 24px;
        height: 24px;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        background-size: 50% 50%;
    }

    .partner-slide-grid .partner-item {
        filter: none;
        opacity: 1;
        transition: none;
        box-shadow: none;
    }

    .partner-slide-grid .partner-item:hover {
        box-shadow: none;
    }

    .partner-slide-grid .partner-logo {
        filter: none;
    }
}