/* Inbound Investment Page Styles */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/inbound-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.geometric-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.triangle {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    transform: rotate(45deg);
}

.triangle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.triangle-2 {
    width: 150px;
    height: 150px;
    top: 15%;
    left: 8%;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: rotate(45deg) translateY(0px);
    }

    50% {
        transform: rotate(45deg) translateY(-20px);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-underline {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 20px auto 0;
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out 0.5s both;
}

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

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

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}

/* Investment Reasons Section */
.investment-reasons {
    padding: 100px 0;
    background: #f5f5f5;
}


.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.reason-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(31, 153, 104, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reason-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

.reason-card:hover::before {
    transform: scaleX(1);
}

.reason-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    /* border-radius: 50%; */
    margin-bottom: 25px;
    position: relative;

    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.icon-number {
    color: #fff;
    font-size: 26px;
    font-weight: 500;
    padding-top: 15px;
}

.reason-content h3 {
    font-size: 20px;
    color: var(--text-color);
    margin: 0 0 15px 0;
    line-height: 1.5;
    font-weight: 600;
}

.reason-content p {
    font-size: 15px;
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

/* Additional Investment Benefits */
.additional-benefits {
    margin-top: 80px;
}

.benefits-title {
    font-size: 28px;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(31, 153, 104, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-item h4 {
    font-size: 18px;
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.benefit-item p {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.5;
    margin: 0;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: white;
}

.services-intro {
    font-size: 18px;
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.service-card {
    text-align: center;
    padding: 50px 30px;
    border-radius: 15px;
    background: #f5f5f5;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.service-icon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    padding: 20px;
    background: #fff;
    border-radius: 50%;
    margin-bottom: 25px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    position: relative;
    z-index: 2;
    font-size: 22px;
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.service-card p {
    position: relative;
    z-index: 2;
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0 0 20px 0;
    display: none;
}

.service-features {
    position: relative;
    z-index: 2;
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    font-size: 14px;
    color: #2c3e50;
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
    position: relative;
    padding-left: 20px;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-features li:last-child {
    border-bottom: none;
}


/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1f9968 0%, #408157 100%);
    padding: 90px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/pic/video-3.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;

}

.cta-content h3 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button .layui-icon {
    font-size: 12px;
}

.cta-button.primary {
    background: #ffffff;
    color: var(--primary-color);
}

.cta-button.primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}


/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-section {
        height: 60vh;
        min-height: 400px;
    }

    .triangle-1 {
        width: 120px;
        height: 120px;
    }

    .triangle-2 {
        width: 90px;
        height: 90px;
    }

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

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .reason-card,
    .service-card {
        padding: 30px 20px;
    }

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

    .cta-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 24px;
    }

    .highlight-text {
        font-size: 18px;
    }

    .reason-content h3 {
        font-size: 18px;
    }

    .service-card h3 {
        font-size: 20px;
    }

    .cta-content h2 {
        font-size: 28px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation for cards */
.reason-card,
.service-card {
    animation: slideInUp 0.8s ease-out;
    cursor: pointer;
}

.reason-card {
    display: flex;
    flex-direction: column;
}

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

/* Enhanced hover effects */
.reason-card:hover .reason-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.05);
}

.service-card:hover .service-icon svg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Add subtle gradient borders */
.reason-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.reason-card:hover::after {
    transform: scaleX(1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

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

/* Stagger animation for grid items */
.reason-card:nth-child(1) {
    animation-delay: 0.1s;
}

.reason-card:nth-child(2) {
    animation-delay: 0.2s;
}

.reason-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Additional enhancements */
.reason-icon {
    transition: all 0.3s ease;
}

.service-icon svg {
    transition: all 0.3s ease;
}

/*

.reason-card,
.service-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}


.reason-content h3,
.service-card h3 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}*/

/* Add subtle pulse animation to service icons */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Improve mobile experience */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }

    .triangle {
        display: none;
    }

    .reason-card,
    .service-card {
        margin-bottom: 20px;
    }
}

/* Add focus states for accessibility */
.reason-card:focus,
.service-card:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

/* Optimize for high DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .hero-image {
        background-image: url('/assets/images/inbound-bg.webp');
    }
}

/* Print styles */
@media print {
    .hero-section {
        height: auto;
        min-height: 300px;
    }

    .triangle {
        display: none;
    }

    .reason-card,
    .service-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}




@media screen and (max-width: 768px) {
    .hero-section {
        min-height: 200px;
        height: auto;
    }

    .hero-content h1 {
        font-size: 23px;
        margin-bottom: 5px;
    }

    .hero-content p {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .hero-underline {
        width: 50px;
        height: 3px;
    }

    @keyframes expandWidth {
        from {
            width: 0;
        }

        to {
            width: 50px;
        }
    }

    .investment-reasons {
        padding: 40px 0;
    }

    .reasons-grid {
        gap: 20px;
        margin-top: 30px;
    }

    .reason-icon {
        width: 50px;
        height: 50px;
    }

    .icon-number {
        font-size: 20px;
    }

    .reason-content h3 {
        font-size: 18px;
    }

    .additional-benefits {
        margin-top: 30px;
    }

    .benefits-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .benefits-grid {
        gap: 20px;
    }

    .benefit-item {
        padding: 20px;
    }

    .benefit-item h4 {
        margin-bottom: 10px;
    }

    .services-section {
        padding: 40px 0;
    }

    .services-grid {
        gap: 20px;
        margin-top: 30px;
    }

    .cta-section {
        padding: 50px 0;
    }

    .cta-content h3 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .cta-content p {
        font-size: 14px;
        margin-bottom: 15px;
    }

    .cta-button {
        padding: 5px 20px;
        font-size: 14px;
    }

    .cta-button .layui-icon {
        font-size: 9px;
    }

    .cta-buttons {
        gap: 15px;
    }

}