/* ========================================
   Company Page Styles
   ======================================== */

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.company-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0a1628 0%, #1a365d 50%, #0d2240 100%);
    overflow: hidden;
    padding: 180px 0 100px;
}

.company-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    pointer-events: none;
}

.company-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.company-hero-title {
    font-size: 52px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.company-hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.company-hero-actions .btn {
    height: 50px;
    line-height: 50px;
    border-radius: 4px;
}

.btn-outline-white {
    background: transparent;
    color: #0159BD;
    padding: 14px 32px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #D1DEF2;
}


/* ----------------------------------------
   About BTD Section
   ---------------------------------------- */
.about-btd-section {
    background: #ffffff;
    padding: 80px 0;
}

.about-btd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-btd-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 24px;
}

.about-btd-text p {
    color: #555555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-btd-text p:last-child {
    margin-bottom: 0;
}

.about-btd-image {
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-btd-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-btd-image:hover img {
    transform: scale(1.02);
}


/* ----------------------------------------
   Section Title (Dark text for white bg)
   ---------------------------------------- */
.section-title-dark {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
    margin-bottom: 16px;
}


/* ----------------------------------------
   Development History / Vertical Timeline Section
   ---------------------------------------- */
.history-section {
    background: #f8f9fc;
    padding: 80px 0 120px;
    overflow: hidden;
}

/* Vertical Timeline Container */
.timeline-vertical {
    position: relative;
    max-width: 1100px;
    margin: 60px auto 0;
    padding: 0 20px;
}

/* Central Vertical Line */
.timeline-center-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
            rgba(1, 89, 189, 0.1) 0%,
            #0159BD 10%,
            #0159BD 90%,
            rgba(1, 89, 189, 0.1) 100%);
    z-index: 0;
}

.timeline-line-glow {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 20px;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
            transparent 0%,
            rgba(1, 89, 189, 0.15) 20%,
            rgba(1, 89, 189, 0.15) 80%,
            transparent 100%);
    filter: blur(8px);
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Timeline Item Base - Centered dots with side content */
.timeline-v-item {
    position: relative;
    min-height: 100px;
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-v-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Center node container - always in the absolute middle */
.timeline-v-node {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

/* Year Badge - positioned on opposite side of content */
.timeline-v-year-wrapper {
    position: absolute;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
}

.timeline-v-year-wrapper img {
    width: 320px;
    height: 320px;
    object-fit: contain;
}

/* Right aligned items - year badge on LEFT of center */
.timeline-right .timeline-v-year-wrapper {
    right: 50%;
    margin-right: 100px;
    justify-content: flex-end;
}

/* Left aligned items - year badge on RIGHT of center */
.timeline-left .timeline-v-year-wrapper {
    left: 50%;
    margin-left: 100px;
    justify-content: flex-start;
}

.timeline-v-year-badge {
    background: linear-gradient(270deg, #02BDDF 0%, #0277EE 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px 10px 20px;
    border-radius: 25px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.35);
    transition: all 0.4s ease;
    position: absolute;
    right: 10px;
    top: 0px;
    overflow: visible;
    min-width: 120px;
    text-align: center;
}

.tyb-left {
    left: 10px;
    right: auto;
}


.timeline-v-year-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.timeline-v-item:hover .timeline-v-year-badge::before {
    left: 100%;
}

.timeline-v-item:hover .timeline-v-year-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 119, 182, 0.5);
}

/* Content cards - positioned on either side */
.timeline-v-content {
    width: calc(50% - 100px);
    max-width: 480px;
}

/* Right aligned - content on right side of centerline */
.timeline-right .timeline-v-content {
    margin-left: calc(50% + 100px);
    text-align: left;
}

/* Left aligned - content on left side of centerline */
.timeline-left .timeline-v-content {
    margin-right: calc(50% + 100px);
    margin-left: auto;
    text-align: right;
}

.timeline-v-dot {
    position: relative;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-v-dot-inner {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 3px #0077b6, 0 4px 15px rgba(0, 119, 182, 0.4);
    transition: all 0.4s ease;
    z-index: 2;
}

.timeline-v-pulse {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 180, 216, 0.3);
    animation: pulse 2s ease-out infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.timeline-v-item:hover .timeline-v-dot-inner {
    transform: scale(1.3);
    box-shadow: 0 0 0 4px #00b4d8, 0 8px 25px rgba(0, 180, 216, 0.6);
}

/* Content Area */
.timeline-v-content {
    max-width: 420px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 119, 182, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.timeline-v-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00b4d8, #0077b6);
    border-radius: 12px 12px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-v-item:hover .timeline-v-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 119, 182, 0.15);
    border-color: rgba(0, 180, 216, 0.3);
}

.timeline-v-item:hover .timeline-v-content::before {
    opacity: 1;
}

.timeline-v-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    line-height: 1.4;
}

.timeline-v-subtitle {
    font-size: 13px;
    color: #0077b6;
    font-style: italic;
    margin-bottom: 10px;
}

.timeline-v-text {
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
}

/* 10th Anniversary Badge */
.timeline-v-badge-10th {
    display: inline-flex;
    align-items: baseline;
    margin-top: 15px;
    font-size: 14px;
    color: #888;
    opacity: 0.6;
}

.timeline-v-badge-10th span {
    font-size: 48px;
    font-weight: 700;
    color: rgba(0, 119, 182, 0.15);
    line-height: 1;
    margin-right: 2px;
}

/* Icon Row for 2016 */
.timeline-v-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.timeline-left .timeline-v-icons {
    justify-content: flex-start;
}

.timeline-right .timeline-v-icons {
    justify-content: flex-end;
}

.timeline-v-icon-item {
    width: 36px;
    height: 36px;
    background: #f8f9fc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.timeline-v-icon-item img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.timeline-v-icon-item:hover {
    transform: scale(1.15);
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.2);
}

/* Staggered animation delays */
.timeline-v-item[data-index="0"] {
    transition-delay: 0.1s;
}

.timeline-v-item[data-index="1"] {
    transition-delay: 0.2s;
}

.timeline-v-item[data-index="2"] {
    transition-delay: 0.3s;
}

.timeline-v-item[data-index="3"] {
    transition-delay: 0.4s;
}

.timeline-v-item[data-index="4"] {
    transition-delay: 0.5s;
}

.timeline-v-item[data-index="5"] {
    transition-delay: 0.6s;
}

.timeline-v-item[data-index="6"] {
    transition-delay: 0.7s;
}

/* Slide-in animations for left/right content */
.timeline-right.in-view .timeline-v-content {
    animation: slideInRight 0.8s ease-out forwards;
}

.timeline-left.in-view .timeline-v-content {
    animation: slideInLeft 0.8s ease-out forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Dot animation on scroll */
.timeline-v-item.in-view .timeline-v-dot-inner {
    animation: dotPop 0.5s ease-out forwards;
}

@keyframes dotPop {
    0% {
        transform: scale(0);
    }

    60% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Year badge animation */
.timeline-v-item.in-view .timeline-v-year-badge {
    animation: badgeSlide 0.6s ease-out forwards;
}

@keyframes badgeSlide {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Styles for Vertical Timeline */
@media (max-width: 992px) {
    .timeline-vertical {
        padding: 0 15px;
    }

    .timeline-center-line {
        left: 30px;
    }

    .timeline-v-item,
    .timeline-v-item.timeline-left,
    .timeline-v-item.timeline-right {
        grid-template-columns: auto auto 1fr;
        text-align: left;
    }

    .timeline-v-item .timeline-v-content,
    .timeline-right .timeline-v-content,
    .timeline-left .timeline-v-content {
        padding-left: 20px;
        padding-right: 15px;
        max-width: 100%;
    }

    .timeline-v-node {
        position: relative;
        left: 0;
    }

    .timeline-v-icons,
    .timeline-left .timeline-v-icons,
    .timeline-right .timeline-v-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .history-section {
        padding: 60px 0 80px;
    }

    .timeline-v-item {
        margin-bottom: 40px;
        gap: 12px;
    }

    .timeline-v-year-badge {
        font-size: 12px;
        padding: 6px 14px;
    }

    .timeline-v-title {
        font-size: 16px;
    }

    .timeline-v-text {
        font-size: 13px;
    }

    .timeline-v-content {
        padding: 15px;
    }
}


/* ----------------------------------------
   Honors Section
   ---------------------------------------- */
.honors-section {
    background: #ffffff;
    padding: 80px 0;
}

.honors-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.honor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: scale(0.9);
    animation: honorAppear 0.5s ease-out forwards;
}

.honor-item:nth-child(1) {
    animation-delay: 0.1s;
}

.honor-item:nth-child(2) {
    animation-delay: 0.2s;
}

.honor-item:nth-child(3) {
    animation-delay: 0.3s;
}

.honor-item:nth-child(4) {
    animation-delay: 0.4s;
}

.honor-item:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes honorAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.honor-frame {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.honor-frame img {
    width: 180px;
    height: auto;
    display: block;
    border-radius: 4px;
}

.honor-frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(1, 89, 189, 0.15);
}

.honor-pedestal,
.patent-pedestal,
.copyright-pedestal {
    position: relative;
    width: 100%;
    height: 30px;
    margin-top: -5px;
}

.pedestal-top {
    margin-top: 16px;
    height: 100%;
    background: url(../images/pedestal-top.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}

.pedestal-glow {
    display: none;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(1, 89, 189, 0.25) 0%, transparent 70%);
    filter: blur(8px);
}

.honor-frame:hover+.honor-pedestal .pedestal-glow {
    background: radial-gradient(ellipse at center, rgba(1, 89, 189, 0.45) 0%, transparent 70%);
}


/* ----------------------------------------
   Patents Section
   ---------------------------------------- */
.patents-section {
    background: #f8f9fc;
    padding: 80px 0;
}

.patents-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.patent-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    animation: patentAppear 0.5s ease-out forwards;
}

.patent-item:nth-child(1) {
    animation-delay: 0.1s;
}

.patent-item:nth-child(2) {
    animation-delay: 0.2s;
}

.patent-item:nth-child(3) {
    animation-delay: 0.3s;
}

.patent-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes patentAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.patent-frame {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

.patent-frame img {
    width: 200px;
    height: auto;
    display: block;
    border-radius: 4px;
}

.patent-frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(1, 89, 189, 0.15);
}


/* ----------------------------------------
   Copyrights Section
   ---------------------------------------- */
.copyrights-section {
    background: #ffffff;
    padding: 80px 0;
}

.copyrights-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.copyright-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    animation: copyrightAppear 0.5s ease-out forwards;
}

.copyright-item:nth-child(1) {
    animation-delay: 0.05s;
}

.copyright-item:nth-child(2) {
    animation-delay: 0.1s;
}

.copyright-item:nth-child(3) {
    animation-delay: 0.15s;
}

.copyright-item:nth-child(4) {
    animation-delay: 0.2s;
}

.copyright-item:nth-child(5) {
    animation-delay: 0.25s;
}

.copyright-item:nth-child(6) {
    animation-delay: 0.3s;
}

.copyright-item:nth-child(7) {
    animation-delay: 0.35s;
}

.copyright-item:nth-child(8) {
    animation-delay: 0.4s;
}

.copyright-item:nth-child(9) {
    animation-delay: 0.45s;
}

.copyright-item:nth-child(10) {
    animation-delay: 0.5s;
}

.copyright-item:nth-child(11) {
    animation-delay: 0.55s;
}

.copyright-item:nth-child(12) {
    animation-delay: 0.6s;
}

.copyright-item:nth-child(13) {
    animation-delay: 0.65s;
}

@keyframes copyrightAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.copyright-frame {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.3s ease;
}

.copyright-frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.copyright-frame:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 40px rgba(1, 89, 189, 0.12);
}


/* ----------------------------------------
   Culture Section
   ---------------------------------------- */
.culture-section {
    background: #f8f9fc;
    padding: 80px 0 100px;
}

/* 图片容器 - 带覆盖层 */
.culture-image-wrapper {
    margin-top: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    animation: cultureAppear 0.8s ease-out 0.3s forwards;
    position: relative;
}

@keyframes cultureAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.culture-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.culture-image-wrapper:hover .culture-image {
    transform: scale(1.02);
}

/* 图片覆盖层文字 */
.culture-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.culture-overlay-title {
    font-size: 32px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.culture-overlay-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* 企业文化价值观网格 */
.culture-values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 80px;
    margin-top: 60px;
}

.culture-value-item {
    opacity: 0;
    transform: translateY(20px);
    animation: cultureValueAppear 0.6s ease-out forwards;
}

.culture-value-item[data-delay="100"] {
    animation-delay: 0.1s;
}

.culture-value-item[data-delay="200"] {
    animation-delay: 0.2s;
}

.culture-value-item[data-delay="300"] {
    animation-delay: 0.3s;
}

.culture-value-item[data-delay="400"] {
    animation-delay: 0.4s;
}

.culture-value-item[data-delay="500"] {
    animation-delay: 0.5s;
}

.culture-value-item[data-delay="600"] {
    animation-delay: 0.6s;
}

@keyframes cultureValueAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.culture-value-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.5;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.culture-value-item:hover .culture-value-title {
    color: #0077b6;
}

.culture-value-label {
    font-size: 13px;
    color: #888888;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* 响应式 - Culture Section */
@media (max-width: 992px) {
    .culture-overlay-title {
        font-size: 26px;
    }

    .culture-overlay-text {
        font-size: 16px;
    }

    .culture-values-grid {
        gap: 30px 50px;
    }
}

@media (max-width: 768px) {
    .culture-image-overlay {
        padding: 30px 15px;
    }

    .culture-overlay-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .culture-overlay-text {
        font-size: 14px;
    }

    .culture-values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }

    .culture-value-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .culture-overlay-title {
        font-size: 18px;
    }

    .culture-overlay-text {
        font-size: 13px;
    }
}


/* ----------------------------------------
   Image Modal / Lightbox
   ---------------------------------------- */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    animation: overlayFadeIn 0.3s ease-out;
}

@keyframes overlayFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-container {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalZoomIn 0.3s ease-out;
}

@keyframes modalZoomIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-image {
    width: auto;
    height: auto;
    min-height: 50vh;
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    opacity: 1;
    transform: scale(1.1);
}


/* ----------------------------------------
   Responsive Styles
   ---------------------------------------- */
@media (max-width: 1200px) {
    .copyrights-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .about-btd-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-btd-content {
        order: 2;
    }

    .about-btd-image {
        order: 1;
    }

    .copyrights-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .company-hero-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .company-hero {
        padding: 100px 0 60px;
        min-height: 300px;
    }

    .company-hero-title {
        font-size: 28px;
    }

    .company-hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .honors-grid,
    .patents-grid {
        gap: 20px;
    }

    .honor-frame img,
    .patent-frame img {
        width: 150px;
    }

    .copyrights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .section-title-dark {
        font-size: 26px;
    }

    .about-btd-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .copyrights-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .honor-frame img,
    .patent-frame img {
        width: 120px;
    }

    .company-hero-title {
        font-size: 24px;
    }
}