/**
 * Solutions Page Styles
 */

/* Hero Section */

.quantum-nexus-wrapper {
    max-width: 1000px;
    background: url("../public/0fea612de2b209cbbe6e5c920a74d9220a698333.png");
    margin: 30px auto;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
    min-height: 690px;
    background-position: center;
    background-size: cover;
}

/* Background decorative elements */
.quantum-nexus-wrapper::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(74, 108, 247, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.quantum-nexus-wrapper::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(74, 108, 247, 0.15);
    border-radius: 50%;
    z-index: 1;
}

.mystical-orb-alpha {
    position: absolute;
    top: 20%;
    left: 5%;
    width: 8px;
    height: 8px;
    background: rgba(74, 108, 247, 0.6);
    border-radius: 50%;
    z-index: 2;
}

.mystical-orb-beta {
    position: absolute;
    top: 60%;
    left: 8%;
    width: 12px;
    height: 12px;
    background: rgba(74, 108, 247, 0.4);
    border-radius: 50%;
    z-index: 2;
}

.mystical-orb-gamma {
    position: absolute;
    bottom: 30%;
    left: 15%;
    width: 6px;
    height: 6px;
    background: rgba(74, 108, 247, 0.8);
    border-radius: 50%;
    z-index: 2;
}

.ethereal-content-matrix {

  margin: 30px 10px auto;    position: relative;
    z-index: 3;
}

.cosmic-header-sanctuary {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 80px;
}

.nebula-text-realm {
    flex: 1;
    max-width: 450px;
}

.galactic-title-supreme {
    color: white;
    margin-bottom: 20px;
    font-family: Montserrat;
    font-weight: 700;
    font-size: 1.25rem; /* 20px ÷ 16 = 1.25rem */
    line-height: 1.5; /* 150% = 1.5 */
    letter-spacing: 0;
    text-align: justify;

}

.stellar-subtitle-whisper {
    color: rgba(255, 255, 255, 0.9);
    font-family: Montserrat;
    font-weight: 400;
    font-size: 1.25rem; /* 20px ÷ 16 = 1.25rem */
    line-height: 1.5; /* 150% = 1.5 */
    letter-spacing: 0;
    text-align: justify;
    width: 400px;
}

.sovereign-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.sovereign-government-shrine {
    background: white;
    border-radius: 5px;
    padding: 30px;
    width: 418px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 160px;
    display: flex;
    transition: 0.25s;

    gap: 15px;
    justify-content: space-around;
    align-items: center;
}

.enchanted-icon-vessel {
    width: 70px;
    height: 80px;
}

.divine-card-proclamation {
    color: #1a1a3e;
    font-family: Montserrat;
    font-weight: 700;
    font-size: 1.125rem; /* 18px ÷ 16 = 1.125rem */
    line-height: 1.2; /* 120% = 1.2 */
    letter-spacing: 0;
    text-align: center;

}

.arcane-description-scroll {
    color: #000000;
    font-family: Montserrat;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0;
    max-width: 230px;

}

.trinity-cards-constellation {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.phoenix-business-portal {
    flex: 1;
    border-radius: 5px;
    padding: 10px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0px 4px 4px 0px #00000040;
    height: 260px;
    transition: 0.25s;
}

.phoenix-business-portal.azure-dimension {
    background: #005AFA99;    color: white;
}
.phoenix-business-portal:hover,.sovereign-government-shrine:hover {
    transform: scale(1.06);
    z-index: 2;
    cursor: pointer;
}
.phoenix-business-portal.ivory-sanctuary {
    background: white;
    color: #1a1a3e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 300px;
}


.phoenix-business-portal.azure-dimension .divine-card-proclamation {
    color: white;
}



.phoenix-business-portal.azure-dimension .arcane-description-scroll {
    color: rgba(255, 255, 255, 0.9);
}

/* SVG Icons */
.celestial-government-emblem {
    fill: #4a6cf7;
}

.metropolitan-tower-sigil {
    fill: currentColor;
}

.astral-rocket-rune {
    fill: currentColor;
}

.solutions-hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(147, 51, 234, 0.1) 100%);
    z-index: 1;
}

.hero-3d-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.floating-element.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element.element-2 {
    top: 60%;
    left: 15%;
    animation-delay: 1s;
}

.floating-element.element-3 {
    top: 30%;
    right: 20%;
    animation-delay: 2s;
}

.floating-element.element-4 {
    top: 50%;
    right: 10%;
    animation-delay: 0.5s;
}

.floating-element.element-5 {
    bottom: 20%;
    left: 20%;
    animation-delay: 1.5s;
}

.floating-element.element-6 {
    bottom: 30%;
    right: 25%;
    animation-delay: 2.5s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.geometric-shape {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 8px;
    opacity: 0.7;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.shape-cube {
    transform: perspective(100px) rotateX(45deg) rotateY(45deg);
}

.shape-pyramid {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border-radius: 0;
}

.shape-sphere {
    border-radius: 50%;
}

.shape-cylinder {
    border-radius: 30px;
    height: 80px;
    width: 40px;
}

.shape-torus {
    border-radius: 50%;
    border: 15px solid transparent;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6) padding-box, linear-gradient(135deg, #3b82f6, #8b5cf6) border-box;
}

.cloud-element {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cloud-icon,
.cloud-arrow {
    width: 40px;
    height: 40px;
    color: #3b82f6;
    opacity: 0.8;
}

.cloud-arrow {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title.solutions {

    color: #5B79C2;
    margin-bottom: 1.5rem;
    font-family: Montserrat;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 0;
}

.hero-description.solutions {
    color: #6A6A6A;
    margin-bottom: 2.5rem;

    /* 1 rem = 16 px (mặc định trình duyệt) */
    font-family: Montserrat;
    font-weight: 400;
    font-size: 1.25rem; /* 20 px ÷ 16 = 1.25 rem */
    line-height: 1.5; /* 150 % = 1.5 */
    letter-spacing: 0; /* 0 % */
    text-align: justify;

}

.section-title.solutions {
    font-family: Montserrat !important;
    font-weight: 700 !important;
    font-size: 1.875rem !important; /* 30px ÷ 16 = 1.875rem */
    line-height: 1.2 !important; /* 120% = 1.2 */
    letter-spacing: 0 !important;
    color: #F2784D !important; /* 0% */
    text-align: center !important;

}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
    color: white;
}

.hero-btn-secondary {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Industry Solutions Section */
.solutions-industry-section {
    padding: 30px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.highlight-text {
    color: #f97316;
}

.industry-solutions-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: start;
}

.solutions-sidebar {
    background: white;
    border-radius: 12px;
    padding: 30px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 100px;
}

.solutions-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    border-bottom: 1px solid #e5e7eb;
}

.category-item:last-child {
    border-bottom: none;
}

.category-link {
    display: block;
    padding: 15px 30px;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.category-link:hover,
.category-item.active .category-link {
    color: #3b82f6;
    background: #eff6ff;
}

.category-item.active .category-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #3b82f6;
}

.solutions-main-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 500px;
}

/* Loading Spinner */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-card-image {
    height: 200px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 25px;
}

.service-card-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.4;
}

.service-card-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card-link:hover {
    color: #1d4ed8;
}

/* Expanded Service View */
.expanded-service-item {
    margin-bottom: 40px;
}

.expanded-service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.expanded-service-left h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 25px;
    line-height: 1.3;
}

.service-description {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.service-link-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: white;
}

.expanded-service-right img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Pagination */
.solutions-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    background: white;
    color: #6b7280;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination-btn:hover,
.pagination-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Enterprise Solutions Section */
.solutions-enterprise-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    overflow: hidden;
}

.enterprise-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.enterprise-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 40% 60%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 200px 200px;
    animation: particles 20s linear infinite;
}

@keyframes particles {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100px);
    }
}

.enterprise-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%23ffffff'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%23ffffff'%3E%3C/path%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E") repeat-x;
    background-size: 1200px 120px;
}

.enterprise-content {
    position: relative;
    z-index: 2;
}

.enterprise-header {
    text-align: center;
    margin-bottom: 60px;
}

.enterprise-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.enterprise-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.enterprise-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.enterprise-main-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.main-card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.main-card-icon {
    font-size: 3rem;
    color: #3b82f6;
}

.main-card-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.main-card-text p {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.6;
}

.enterprise-type-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.enterprise-type-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.enterprise-type-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}



.type-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.type-card-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Error and No Content States */
.error-message,
.no-services-found {
    text-align: center;
    padding: 60px 20px;
}

.error-message p,
.no-services-found p {
    color: #6b7280;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .industry-solutions-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .solutions-sidebar {
        position: static;
        order: -1;
    }

    .solutions-categories {
        display: flex;
        overflow-x: auto;
        padding: 0 20px;
    }

    .category-item {
        border-bottom: none;
        border-right: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .category-item:last-child {
        border-right: none;
    }

    .expanded-service-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .main-card-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .solutions-main-content {
        padding: 20px;
    }

    .enterprise-title {
        font-size: 2rem;
    }

    .enterprise-type-cards {
        grid-template-columns: 1fr;
    }

    .floating-element {
        display: none;
    }
}

@media (max-width: 480px) {
    .solutions-hero-section {
        min-height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .solutions-industry-section,
    .solutions-enterprise-section {
        padding: 60px 0;
    }

    .enterprise-main-card,
    .enterprise-type-card {
        padding: 25px;
    }
}
