:root {
    --primary-blue: #3661bd;
    --primary-default-blue: #265ECA;
    --text-black: #1F2124;
    --text-white: #FFFFFF;
    --bg-gray: #f2f4f6;
    --header-height: 90px;
    --font-family: 'Poppins', sans-serif;
    --text-black-default: #000000;
    --text-footer-gray: #333333;
    --font-size-default: 17px;
    --font-size-small: 14px;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;
}

/* news-section */
.news-section {
    width: 100%;
    background-color: #fff;
    padding: 120px 0;
}

.news-container {
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: -50px;
}

.news-header {
    margin-bottom: 40px;
}

.news-section-title {
    font-size: 45px;
    font-weight: 700;
    color: var(--text-black-default);
    font-family: var(--font-family);
    display: flex;
    justify-content: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    border: 3px solid transparent; 
    box-sizing: border-box; 
    transition: border-color 0.3s ease; 
}


.news-card {
    display: flex;
    flex-direction: column;
    background-color: #f0f2f5; 
    height: 100%;
    border-radius: 16px;
}

.news-img-box {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-black-default);
    line-height: 1.4;
    margin-bottom: 15px;
    font-family: var(--font-family);
}

.news-date {
    font-size: 18px;
    color: var(--text-black-default);
    margin-bottom: 15px;
    font-weight: var(--font-medium);
    font-family: var(--font-family);
}

.news-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-footer-gray);
    font-family: var(--font-family);
    margin: 0;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-footer-gray);
    font-weight: var(--font-semibold);
    font-size: 16px;
    font-family: var(--font-family);
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-link.active {
    background-color: var(--text-black-default);
    color: #fff; 
    border-color: var(--text-black-default);
}

.page-link:hover:not(.active) {
    background-color: #f5f5f5;
}

.page-link.next i {
    font-size: 14px;
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .news-title {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-section-title {
        font-size: 28px;
    }
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--primary-default-blue);
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 16px;
    transition: color 0.3s ease;
}

.separator {
    margin: 0 8px;
    color: #666;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

.news-read-more:hover {
    color: #1a459c;
}

.news-read-more:hover .separator {
    transform: translateX(5px);
    color: #1a459c;
}

/* talk-to-us */
.talk-to-us-section {
    width: calc(100% - 40px); 
    margin: 20px auto 0 auto; 
    border-radius: 2px;
    padding: 100px 0;
    background-color: var(--primary-default-blue);
    font-family: var(--font-family);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.talk-to-us-container {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.talk-title {
    font-size: 56px;
    font-weight: var(--font-extrabold);
    margin: 0 0 20px 0;
    color: var(--text-white);
}

.talk-desc {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 40px 0;
    font-weight: 500;
    color: var(--text-white);
}

.talk-btn {
    display: inline-block;
    background-color: var(--text-white);
    color: var(--text-black-default);
    padding: 20px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: var(--font-extrabold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.talk-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (max-width: 992px) {
    .talk-title {
        font-size: 36px;
    }
    
    .talk-desc {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .talk-to-us-section {
        padding: 60px 0;
    }

    .talk-title {
        font-size: 32px;
    }

    .talk-desc br {
        display: none;
    }
    
    .talk-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* popup */
.pricing-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: none; 
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-modal-overlay.open {
    display: flex;
    opacity: 1;
}

.pricing-modal-content {
    background-color: var(--text-white);
    width: 96%;
    max-width: none;
    border-radius: 24px;
    padding: 60px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transform: scale(0.9); 
    transition: transform 0.3s ease;
}

.pricing-modal-overlay.open .pricing-modal-content {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--text-footer-gray);
    transition: transform 0.2s ease;
}

.modal-close-btn:hover {
    transform: rotate(90deg);
}

.pricing-modal-body {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    height: 100%;
}

.pm-left {
    flex: 0 0 30%;
    padding-top: 10px;
}

.pm-title {
    font-size: 30px;
    font-weight: var(--font-extrabold);
    color: var(--text-black-default);
    margin-bottom: 20px;
    font-family: var(--font-family, sans-serif);
}

.pm-desc {
    font-size: 15px;
    font-weight: var(--font-semibold);
    line-height: 1.5;
    color: var(--text-footer-gray);
    font-family: var(--font-family, sans-serif);
}

.pm-right {
    flex: 1;
}

.pm-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pm-form-row {
    display: flex;
    gap: 20px;
}

.pm-input, .pm-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #888;
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-family, sans-serif);
    outline: none;
    transition: border-color 0.3s ease;
}

.pm-input:focus, .pm-textarea:focus {
    border-color: var(--primary-default-blue);
}

.pm-textarea {
    height: 150px;
    resize: none;
}

.pm-send-btn {
    background-color: var(--primary-default-blue); 
    color: var(--text-white);
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: var(--font-bold);
    border-radius: 50px;
    cursor: pointer;
    align-self: flex-start;
    font-family: var(--font-family, sans-serif);
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

.pm-send-btn:hover {
    background-color: #2a4ca0;
}

@media (max-width: 992px) {
    .pricing-modal-content {
        width: 95%;
        padding: 30px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .pricing-modal-body {
        flex-direction: column;
        gap: 30px;
    }

    .pm-left {
        text-align: center;
        padding-top: 0;
    }
    
    .pm-title {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .pm-form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .pm-title {
        font-size: 24px;
    }
    
    .pm-send-btn {
        width: 100%;
    }
    
    .modal-close-btn {
        top: 15px;
        right: 15px;
        font-size: 24px;
    }
}