@charset 'utf-8';

/* ==========================================================================
   Homepage (Index) Specific Styles
   ========================================================================== */

/* Hero Slider / Static Banner custom tweaks */
.banner {
    position: relative;
}

/* Challenge Section (index1_bj) */
.index1_bj {
    background: #ffffff;
    padding: 6rem 0;
}

.index1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
}

.index1_l {
    width: 50%;
}

.index1_r {
    width: 45%;
}

.index1_l_con p {
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.index1_l_con p.mar_top2 {
    margin-top: 1.5rem;
}

.index1_r_img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease;
}

.index1_r_img:hover {
    transform: translateY(-8px);
}

.index1_r_img img {
    width: 100%;
    display: block;
}

/* Core Services Section */
.services-section {
    background-color: #f7fafc;
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 1rem;
}

.section-header p {
    color: #718096;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    border: 1px solid #edf2f7;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #2ea9a0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(46, 169, 160, 0.08);
    border-color: rgba(46, 169, 160, 0.2);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(46, 169, 160, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #2ea9a0;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: #2ea9a0;
    color: #ffffff;
}

.service-icon svg {
    width: 30px;
    height: 30px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a202c;
}

.service-card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2ea9a0;
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link svg {
    transform: translateX(4px);
}

/* Technical Platform & Computing Power Section */
.platform-highlight {
    background: #ffffff;
    padding: 6rem 0;
}

.platform-container {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.platform-l {
    width: 45%;
}

.platform-r {
    width: 50%;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    border-left: 3px solid #2ea9a0;
    padding-left: 1.5rem;
}

.stat-num {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.stat-num span {
    font-size: 1.5rem;
    color: #2ea9a0;
    font-weight: 600;
}

.stat-label {
    color: #718096;
    font-size: 0.95rem;
}

/* Partnerships Logos */
.partners-section {
    background: #f7fafc;
    padding: 5rem 0;
    border-top: 1px solid #edf2f7;
}

.partners-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    opacity: 0.8;
}

.partner-logo {
    font-weight: 700;
    font-size: 1.4rem;
    color: #a0aec0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.partner-logo:hover {
    color: #718096;
}

.partner-logo svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ==========================================================================
   Services Page (services.html)
   ========================================================================== */
.service-detail-section {
    padding: 6rem 0;
    background-color: #ffffff;
    border-bottom: 1px solid #edf2f7;
}

.service-detail-section:nth-child(even) {
    background-color: #f8fafc;
}

.service-detail-section:nth-child(even) .index1 {
    flex-direction: row-reverse;
}

.service-tags {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.service-tag {
    background: rgba(46, 169, 160, 0.06);
    color: #2ea9a0;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(46, 169, 160, 0.15);
}

.service-features-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a5568;
    font-size: 0.95rem;
}

.service-features-list li svg {
    width: 18px;
    height: 18px;
    color: #2ea9a0;
    flex-shrink: 0;
}

/* ==========================================================================
   About Page (about.html)
   ========================================================================== */
.about-history-section {
    padding: 6rem 0;
    background: #ffffff;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0 auto;
}

.timeline::after {
    content: "";
    position: absolute;
    width: 2px;
    background: #edf2f7;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: #ffffff;
    border: 4px solid #2ea9a0;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s;
}

.timeline-item:hover::after {
    background-color: #2ea9a0;
    transform: scale(1.2);
}

.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

.timeline-right::after {
    left: -8px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: #f7fafc;
    position: relative;
    border-radius: 8px;
    border: 1px solid #edf2f7;
    transition: all 0.3s;
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    background-color: #ffffff;
    border-color: rgba(46, 169, 160, 0.2);
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2ea9a0;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
}

/* ==========================================================================
   Contact Page (contact.html)
   ========================================================================== */
.contact-section {
    padding: 6rem 0;
    background: #ffffff;
}

.contact-layout {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.contact-info {
    width: 45%;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-method-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(46, 169, 160, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2ea9a0;
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 22px;
    height: 22px;
}

.contact-method-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 0.4rem;
}

.contact-method-details p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-form-container {
    width: 50%;
    background: #f7fafc;
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    border-radius: 6px;
    transition: all 0.3s;
    outline: none;
}

.form-control:focus {
    border-color: #2ea9a0;
    box-shadow: 0 0 0 3px rgba(46, 169, 160, 0.15);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background-color: #2ea9a0;
    color: #ffffff;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background-color: #258780;
    box-shadow: 0 5px 15px rgba(46, 169, 160, 0.25);
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 991px) {
    .index1 {
        flex-direction: column;
        gap: 3rem;
    }
    
    .index1_l, .index1_r {
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .platform-container {
        flex-direction: column;
        gap: 3rem;
    }
    
    .platform-l, .platform-r {
        width: 100%;
    }
    
    .service-detail-section:nth-child(even) .index1 {
        flex-direction: column;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 23px;
        right: auto;
    }
    
    .timeline-right {
        left: 0%;
    }
    
    .contact-layout {
        flex-direction: column;
        gap: 3rem;
    }
    
    .contact-info, .contact-form-container {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Service Detail Tab System */
.service-container {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 5rem;
}

.service-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.service-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    position: sticky;
    top: 100px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid #edf2f7;
    overflow: hidden;
}

.service-menu li {
    padding: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    border-bottom: 1px solid #edf2f7;
}

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

.service-menu li a {
    display: block;
    padding: 1.2rem 1.5rem;
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-menu li:hover {
    background: #f8fafc;
    color: #2ea9a0;
}

.service-menu li:hover a {
    padding-left: 1.8rem;
}

.service-menu li.active {
    background: rgba(46, 169, 160, 0.04);
    color: #2ea9a0;
    border-left-color: #2ea9a0;
}

.service-content-panel {
    flex-grow: 1;
    min-width: 0;
}

.service-panel {
    display: none;
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
    border: 1px solid #edf2f7;
}

.service-panel.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.service-tabs {
    display: flex;
    gap: 0.5rem;
    background: #f1f5f9;
    padding: 0.4rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn:hover {
    color: #2ea9a0;
}

.tab-btn.active {
    background: #ffffff;
    color: #2ea9a0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.tab-contents {
    min-height: 300px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* Tab Contents Inner Styling */
.tab-intro-content {
    line-height: 1.8;
    color: #4a5568;
}

.tab-intro-content h3 {
    color: #1a202c;
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-intro-content h3::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    background: #2ea9a0;
    border-radius: 2px;
}

.tab-intro-content p {
    margin-bottom: 1.2rem;
}

.tab-results-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.result-figure {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
}

.result-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.result-caption {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 1rem;
    font-style: italic;
}

.case-study-card {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-left: 4px solid #2ea9a0;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(46, 169, 160, 0.06);
    border-color: #e2e8f0;
}

.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #64748b;
    align-items: center;
}

.case-journal {
    background: rgba(46, 169, 160, 0.1);
    color: #2ea9a0;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 700;
}

.case-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.case-summary {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a5568;
}

.sample-table-container {
    overflow-x: auto;
    margin-top: 1.5rem;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

.sample-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.sample-table th, .sample-table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #edf2f7;
    font-size: 0.95rem;
    color: #4a5568;
    border-left: none;
    border-right: none;
}

.sample-table th {
    background: #f8fafc;
    font-weight: 700;
    color: #1a202c;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #e2e8f0;
}

.sample-table tr:last-child td {
    border-bottom: none;
}

.sample-table tr {
    transition: background-color 0.2s ease;
}

.sample-table tr:hover td {
    background-color: rgba(46, 169, 160, 0.02);
}

.sample-table tr:nth-child(even) td {
    background: #fcfdfe;
}

/* Responsive Styles for Tabs */
@media (max-width: 992px) {
    .service-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .service-sidebar {
        width: 100%;
    }
    .service-menu {
        position: static;
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    }
    .service-menu li {
        flex: 1;
        text-align: center;
        border-left: none;
        border-bottom: none;
        border-right: 1px solid #edf2f7;
        padding: 0;
    }
    .service-menu li a {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%;
        height: 100%;
    }
    .service-menu li:last-child {
        border-right: none;
    }
    .service-menu li.active {
        border-bottom: 3px solid #2ea9a0;
        background: rgba(46, 169, 160, 0.04);
    }
}

@media (max-width: 576px) {
    .service-panel {
        padding: 1.5rem;
    }
    .service-tabs {
        flex-direction: column;
        gap: 0.2rem;
    }
    .tab-btn {
        padding: 0.6rem;
    }
}

/* Sidebar Grouped Catalog styling */
.service-menu li.menu-category {
    background: #f1f5f9;
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 1.2rem 1.5rem 0.6rem 1.5rem;
    cursor: default;
    border-left: none;
    border-bottom: 1px solid #cbd5e1;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.service-menu li.menu-category::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 14px;
    background: #2ea9a0;
    margin-right: 8px;
    border-radius: 2px;
}

/* Very clear thick boundary between groups */
.service-menu li.menu-category:not(:first-child) {
    border-top: 2px solid #94a3b8;
}

/* Indentation and Dot Bullets for Sub-items on Desktop (Capsule Style) */
@media (min-width: 992px) {
    .service-menu li:not(.menu-category) {
        position: relative;
        margin: 6px 12px;
        border-radius: 8px;
        border-bottom: none !important;
        border-left: none !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .service-menu li:not(.menu-category)::before {
        content: "";
        position: absolute;
        left: 1.1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #cbd5e1;
        transition: all 0.25s ease;
    }

    .service-menu li:not(.menu-category):hover::before,
    .service-menu li:not(.menu-category).active::before {
        background: #2ea9a0;
        transform: translateY(-50%) scale(1.3);
    }

    .service-menu li:not(.menu-category) a {
        padding: 0.9rem 1.2rem 0.9rem 2.0rem;
        font-weight: 500;
        font-size: 0.95rem;
        color: #4b5563;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Hover effect - Soft background highlight capsule */
    .service-menu li:not(.menu-category):hover {
        background: #f1f5f9 !important;
        color: #2ea9a0 !important;
    }

    .service-menu li:not(.menu-category):hover a {
        padding-left: 2.3rem;
        color: #2ea9a0 !important;
    }

    /* Active effect - Soft teal background highlight capsule */
    .service-menu li:not(.menu-category).active {
        background: rgba(46, 169, 160, 0.08) !important;
        color: #2ea9a0 !important;
    }

    .service-menu li:not(.menu-category).active a {
        padding-left: 2.3rem;
        font-weight: 700;
        color: #2ea9a0 !important;
    }
}

@media (max-width: 991px) {
    .service-menu li.menu-category {
        display: none;
    }
}

/* Slim banner overrides for subpages */
.banner {
    height: 18rem !important;
    background: linear-gradient(135deg, #111e2e 0%, #2ea9a0 100%) !important;
}

.banner img {
    opacity: 0.25 !important;
    mix-blend-mode: overlay !important;
}

.banner-overlay {
    background: transparent !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
    padding: 0 10% !important;
}

.banner-overlay h1 {
    font-size: 2.4rem !important;
    margin-bottom: 0.5rem !important;
    text-shadow: none !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
}

.banner-overlay p {
    font-size: 1.1rem !important;
    max-width: 650px !important;
    text-shadow: none !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Home Page specific banner */
.banner-home {
    height: 38rem !important;
    background: #111e2e !important;
}

.banner-home img {
    opacity: 0.45 !important;
    mix-blend-mode: normal !important;
}

.banner-home .banner-overlay {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0 2rem !important;
}

.banner-home .banner-overlay h1 {
    font-size: 3.5rem !important;
    margin-bottom: 1.2rem !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

.banner-home .banner-overlay p {
    font-size: 1.35rem !important;
    max-width: 850px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3) !important;
}

/* BGI-Style Homepage Layout */
.home-intro-section {
    padding: 5rem 0;
    background: #ffffff;
}

.home-pillars-section {
    padding: 6rem 0;
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}

.home-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.pillar-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(46, 169, 160, 0.08);
    border-color: rgba(46, 169, 160, 0.3);
}

.pillar-icon {
    width: 50px;
    height: 50px;
    background: rgba(46, 169, 160, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2ea9a0;
    margin-bottom: 1.5rem;
}

.pillar-icon svg {
    width: 24px;
    height: 24px;
}

.pillar-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111e2e;
    margin-bottom: 1rem;
}

.pillar-card p {
    font-size: 0.95rem;
    color: #556070;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.pillar-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2ea9a0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.pillar-link:hover {
    color: #1f7b74;
}

.pillar-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.pillar-link:hover svg {
    transform: translateX(4px);
}

.home-tech-section {
    padding: 6rem 0;
    background: #ffffff;
}

.home-tech-grid {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.home-tech-l {
    flex: 1;
}

.home-tech-r {
    flex: 1;
}

.home-tech-l h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111e2e;
    margin-bottom: 1.5rem;
}

.home-tech-l p {
    font-size: 1.05rem;
    color: #556070;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tech-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0 0;
}

.tech-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #334155;
}

.tech-features li svg {
    width: 20px;
    height: 20px;
    color: #2ea9a0;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

@media (max-width: 991px) {
    .banner {
        height: 14rem !important;
    }
    .banner-overlay h1 {
        font-size: 1.8rem !important;
    }
    .banner-overlay p {
        font-size: 0.95rem !important;
    }
    .banner-home {
        height: 28rem !important;
    }
    .banner-home .banner-overlay h1 {
        font-size: 2.2rem !important;
    }
    .home-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .home-tech-grid {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .home-pillars-grid {
        grid-template-columns: 1fr;
    }
}

/* Navigation Header Layout Overrides to prevent wrapping with 8 items */
.top_pc_l {
    width: auto !important; /* Allow logo to take its natural content width */
    flex-shrink: 0 !important;
}

.top_pc_l img,
.phone_logo img {
    object-fit: contain !important; /* Prevent global object-fit: cover from cropping logos */
    width: auto !important;
}

.top_pc_r {
    flex-grow: 1 !important;
    justify-content: flex-end !important;
    gap: 1.5rem !important; /* Spacing between menu and language selector */
}

.top_pc_r_l {
    flex-grow: 1 !important;
    display: flex !important;
    justify-content: flex-end !important;
}

.top_pc_r_ul {
    display: flex !important;
    flex-wrap: nowrap !important; /* NEVER WRAP */
    align-items: center !important;
}

.top_pc_r_ul > li > a {
    padding: 0 0.9rem !important; /* Compact padding */
    font-size: 0.98rem !important; /* Slightly smaller font size */
    transition: all 0.25s ease !important;
}

/* Adjust dropdown widths so they align nicely as local dropdowns */
.top_pc_r_ul2 {
    position: absolute !important; /* Use absolute instead of fixed */
    width: 260px !important;       /* Slightly wider for longer English menu texts */
    left: 50% !important;
    transform: translateX(-50%) scaleY(0) !important; /* Center align under parent */
    transform-origin: top center !important;
    display: block !important;
    flex-direction: column !important;
    padding: 0.6rem 0 !important;
    border-radius: 10px !important;
    background: #ffffff !important; /* Premium clean white background */
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    top: 5rem !important; /* Align with bottom of header */
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease !important;
}

.top_pc_r_ul2 > li {
    padding: 0 !important;
    width: 100% !important;
    text-align: left !important;
    line-height: normal !important; /* Fix line-height inheritance issue */
}

.top_pc_r_ul2 > li > a {
    padding: 0.75rem 1.5rem !important;
    color: #2d3748 !important; /* Dark slate gray text */
    border-bottom: none !important;
    font-size: 0.92rem !important;
    display: block !important;
    width: 100% !important;
    line-height: 1.4 !important; /* Reset line-height of links */
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.top_pc_r_ul2 > li > a:hover {
    background: #f0fdfa !important; /* Light teal hover background */
    color: #2ea9a0 !important;      /* Brand teal hover text */
    border-bottom: none !important;
}

/* On hover, trigger scaleY */
.top_pc_r_ul > li:hover .top_pc_r_ul2 {
    transform: translateX(-50%) scaleY(1) !important;
    opacity: 1 !important;
}

/* Breakpoint adjustment for smaller desktops */
@media (max-width: 1280px) {
    .top_pc_r_ul > li > a {
        padding: 0 0.6rem !important; /* Even more compact */
        font-size: 0.9rem !important;
    }
    .top_pc_r {
        gap: 0.8rem !important;
    }
}
