/**
 * Tri-Dot Solution - Centralized Custom Stylesheet
 * Contains all internal styles previously embedded in PHP templates.
 */

/* ============================================================
   1. SERVICES & SPM PRODUCTS PAGES (COMMON STYLES)
   ============================================================ */
.service-hero {
    background: #152b3d;
    padding: 4rem 0 3.5rem;
}
.service-hero h1 {
    font-weight: 700;
    font-size: 3.2rem;
    letter-spacing: -0.02em;
}
.service-section-title .sub-title-2 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.spm-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.8rem 1.8rem 2rem;
    border: 1px solid #edf2f7;
    transition: all 0.25s ease;
    height: 100%;
    box-shadow: 0 4px 18px rgba(0,0,0,0.02);
}
.spm-card:hover {
    transform: translateY(-6px);
    border-color: #f05400;
    box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}
.spm-card .card-icon {
    font-size: 2.2rem;
    color: #f05400;
    background: #fef2ec;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 1.2rem;
}
.spm-card h4 {
    font-weight: 700;
    color: #152b3d;
    margin-bottom: 0.5rem;
}
.spm-card p {
    color: #3d4f5e;
    font-size: 0.95rem;
    line-height: 1.6;
}
.spm-card ul {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0;
}
.spm-card ul li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 0.92rem;
    color: #1f2a36;
    padding: 0.3rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.spm-card ul li:last-child {
    border-bottom: 0;
}
.spm-card ul li i {
    color: #f05400;
    font-size: 0.7rem;
    width: 16px;
    text-align: center;
}
.process-step {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.8rem 1.5rem;
    border: 1px solid #eef3f8;
    text-align: center;
    height: 100%;
    transition: 0.2s;
}
.process-step:hover {
    border-color: #f05400;
}
.process-step .step-num {
    font-size: 2.8rem;
    font-weight: 800;
    color: #f05400;
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 0.2rem;
}
.process-step h5 {
    font-weight: 700;
    color: #152b3d;
}
.process-step p {
    font-size: 0.92rem;
    color: #3d4f5e;
    margin-bottom: 0;
}
.benefit-grid .benefit-item {
    background: #f9fcff;
    border-radius: 18px;
    padding: 1.2rem 1.5rem;
    border: 1px solid #eef3f8;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.benefit-grid .benefit-item i {
    color: #f05400;
    font-size: 1.4rem;
    width: 2rem;
}
.benefit-grid .benefit-item span {
    font-weight: 500;
    color: #152b3d;
}
.industry-tag {
    background: #ffffff;
    border-radius: 40px;
    padding: 0.5rem 1.6rem;
    border: 1px solid #e2e8f0;
    font-weight: 500;
    color: #1f2a36;
    display: inline-block;
    margin: 0.2rem;
}
.feature-tag {
    background: #f9fcff;
    border-radius: 30px;
    padding: 0.4rem 1.2rem;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #1f2a36;
    display: inline-block;
    margin: 0.2rem;
}
.app-tag {
    background: #fef2ec;
    border-radius: 30px;
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
    color: #152b3d;
    display: inline-block;
    margin: 0.2rem;
    border: 1px solid #fce4d8;
}
.component-tag {
    background: #f1f5f9;
    border-radius: 30px;
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
    color: #152b3d;
    display: inline-block;
    margin: 0.2rem;
    border: 1px solid #e2e8f0;
}
.purpose-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid #eef3f8;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.02);
}
.purpose-box i {
    color: #f05400;
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}
.purpose-box h5 {
    font-weight: 700;
    color: #152b3d;
    margin-bottom: 0.4rem;
}
.purpose-box p {
    font-size: 0.92rem;
    color: #3d4f5e;
    margin-bottom: 0;
}
@media (max-width: 767px) {
    .service-hero h1 {
        font-size: 2.4rem;
    }
}

/* ============================================================
   2. HOME PAGE (INDEX)
   ============================================================ */
.segment-section {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 32px;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-header .sub-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f05400;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    background: #fff0e8;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    margin-bottom: 1rem;
}
.section-header .sub-title i {
    font-size: 0.8rem;
}
.section-header h2 {
    font-size: 34px;
    font-weight: 700;
    color: #152b3d;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    font-family: var(--title-font);
}
.section-header p {
    font-size: 1.15rem;
    color: #3d4f5e;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}
.segments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}
.segment-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.8rem 1.8rem 2rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    border: 1px solid #edf2f7;
    transition: all 0.25s ease;
}
.segment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    border-color: #f05400;
}
.segment-card .card-icon {
    font-size: 2.2rem;
    color: #f05400;
    background: #fef2ec;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 1.2rem;
}
.segment-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #152b3d;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}
.segment-card .card-desc {
    color: #3d4f5e;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 0.75rem;
}
.segment-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.segment-card .feature-list li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 0.95rem;
    color: #1f2a36;
    padding: 0.35rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.segment-card .feature-list li:last-child {
    border-bottom: 0;
}
.segment-card .feature-list li i {
    color: #f05400;
    font-size: 0.7rem;
    width: 16px;
    text-align: center;
    margin-top: 3px;
}
.segment-footer-note {
    margin-top: 3.5rem;
    padding: 1.8rem 2rem;
    background: #f9fcff;
    border-radius: 24px;
    border: 1px solid #eef3f8;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.segment-footer-note i {
    font-size: 2.2rem;
    color: #f05400;
}
.segment-footer-note p {
    font-size: 1.1rem;
    color: #1f2a36;
    font-weight: 500;
    margin: 0;
    flex: 1;
}
.segment-footer-note span {
    color: #3d4f5e;
    font-weight: 400;
}
@media (max-width: 700px) {
    .segment-section {
        padding: 2rem 1.2rem;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .section-header p {
        font-size: 1rem;
    }
    .segments-grid {
        grid-template-columns: 1fr;
    }
    .segment-footer-note {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}
@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.7rem;
    }
    .segment-card {
        padding: 1.5rem;
    }
}

/* Home Page Tray Slider */
.tray-slider-wrapper .swiper-slide a {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.tray-slider-wrapper .swiper-slide a:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.tray-slider-wrapper .swiper-slide img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}
.tray-slider-wrapper .swiper-button-next,
.tray-slider-wrapper .swiper-button-prev {
    color: #f05400;
    background: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
}
.tray-slider-wrapper .swiper-button-next:hover,
.tray-slider-wrapper .swiper-button-prev:hover {
    background: #f05400;
    color: #ffffff;
}
.tray-slider-wrapper .swiper-button-next::after,
.tray-slider-wrapper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}
.tray-slider-wrapper .swiper-pagination-bullet {
    background: #cbd5e1;
    opacity: 1;
}
.tray-slider-wrapper .swiper-pagination-bullet-active {
    background: #f05400;
}
@media (max-width: 767px) {
    .tray-slider-wrapper .swiper-slide img {
        height: 180px;
    }
}

/* ============================================================
   3. ABOUT US PAGE
   ============================================================ */
.about-page .tv-about-section.style-6 .about-content-wrap p {
    color: #2d3f4e;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}
.about-page .tv-choose-section .tv-choose-boxs .tv-choose-single-box {
    background: #ffffff;
}
.about-mission-card {
    border: 1px solid #edf2f7;
    border-radius: 24px;
    padding: 2rem 1.8rem;
    background: #ffffff;
    transition: all 0.2s;
    height: 100%;
}
.about-mission-card:hover {
    border-color: #f05400;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.04);
}
.about-mission-card .icon-large {
    font-size: 2.6rem;
    color: #f05400;
    margin-bottom: 1rem;
}
.about-mission-card h4 {
    font-weight: 700;
    color: #152b3d;
    margin-bottom: 0.5rem;
}
.about-mission-card p {
    color: #3d4f5e;
    font-size: 0.98rem;
    line-height: 1.6;
}
.about-values-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f1f5f9;
}
.about-values-list li:last-child {
    border-bottom: 0;
}
.about-values-list i {
    color: #f05400;
    font-size: 1.1rem;
    margin-top: 0.2rem;
}
.about-team-glimpse {
    background: #f9fcff;
    border-radius: 28px;
    padding: 2.5rem 2rem;
    border: 1px solid #eef3f8;
}
@media (max-width: 767px) {
    .about-team-glimpse {
        padding: 1.8rem 1.2rem;
    }
}

/* About Clients Logo Slider */
.about-logos-slider-wrap {
    padding: 10px 48px;
    position: relative;
}
.about-client-swiper {
    padding: 10px 4px 18px;
    overflow: hidden;
}
.about-logo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    height: 96px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}
.about-logo-card:hover {
    transform: translateY(-4px);
    border-color: #f05400;
    box-shadow: 0 12px 28px rgba(240, 84, 0, 0.12);
}
.about-logo-card img {
    max-height: 54px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(10%);
}
.about-logo-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}
.about-swiper-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #152b3d;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    outline: none;
}
.about-swiper-btn:hover {
    background: #f05400;
    color: #ffffff;
    border-color: #f05400;
    box-shadow: 0 6px 20px rgba(240, 84, 0, 0.3);
}
.about-swiper-btn.prev {
    left: 0;
}
.about-swiper-btn.next {
    right: 0;
}
.about-swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}
.about-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #cbd5e1;
    opacity: 1;
    border-radius: 10px;
    transition: all 0.3s ease;
    margin: 0;
    cursor: pointer;
}
.about-swiper-pagination .swiper-pagination-bullet-active {
    background: #f05400;
    width: 24px;
}
@media (max-width: 767px) {
    .about-logos-slider-wrap {
        padding: 10px 0;
    }
    .about-swiper-btn {
        display: none;
    }
    .about-logo-card {
        height: 80px;
        padding: 10px 14px;
    }
    .about-logo-card img {
        max-height: 44px;
    }
}

/* ============================================================
   4. CONTACT US PAGE
   ============================================================ */
.contact-hero {
    background: #152b3d;
    padding: 4rem 0 3.5rem;
}
.contact-hero h1 {
    font-weight: 700;
    font-size: 3.2rem;
    letter-spacing: -0.02em;
}
.contact-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2rem 1.8rem;
    border: 1px solid #edf2f7;
    transition: all 0.25s ease;
    height: 100%;
    text-align: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.02);
}
.contact-card:hover {
    transform: translateY(-6px);
    border-color: #f05400;
    box-shadow: 0 12px 32px rgba(0,0,0,0.05);
}
.contact-card .card-icon {
    font-size: 2.4rem;
    color: #f05400;
    background: #fef2ec;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}
.contact-card h5 {
    font-weight: 700;
    color: #152b3d;
    margin-bottom: 0.3rem;
}
.contact-card p {
    color: #3d4f5e;
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.6;
}
.contact-card a {
    color: #3d4f5e;
    text-decoration: none;
    transition: color 0.2s;
}
.contact-card a:hover {
    color: #f05400;
}
.contact-form-wrapper {
    background: #ffffff;
    border-radius: 28px;
    padding: 2.5rem 2.5rem;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 18px rgba(0,0,0,0.02);
}
.contact-form-wrapper .form-control {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.contact-form-wrapper .form-control:focus {
    border-color: #f05400;
    box-shadow: 0 0 0 3px rgba(240,84,0,0.1);
}
.contact-form-wrapper .form-label {
    font-weight: 600;
    color: #152b3d;
    font-size: 0.9rem;
}
.map-wrapper {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    height: 100%;
    min-height: 320px;
}
.map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}
.social-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fef2ec;
    color: #f05400;
    font-size: 1.2rem;
    transition: all 0.2s;
    margin-right: 0.5rem;
}
.social-contact-icon:hover {
    background: #f05400;
    color: #fff;
    transform: translateY(-2px);
}
@media (max-width: 767px) {
    .contact-hero h1 {
        font-size: 2.4rem;
    }
    .contact-form-wrapper {
        padding: 1.8rem 1.2rem;
    }
}

/* Contact Page Form Fields */
.form-container {
    width: 100%;
    max-width: 48rem;
    background-color: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
@media (min-width: 768px) {
    .form-container {
        padding: 3rem;
    }
}
.form-heading {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    color: #1f2937;
    margin-bottom: 2rem;
}
.input-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .input-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.form-input, .form-textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    color: #1f2937;
    transition: all 0.2s ease-in-out;
}
.form-input::placeholder, .form-textarea::placeholder {
    color: #6b7280;
}
.form-input:focus, .form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px #3b82f6;
}
.form-textarea {
    height: 8rem;
    resize: none;
}
.file-upload-section {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .file-upload-section {
        flex-direction: row;
        align-items: center;
    }
}
.file-label {
    font-size: 1.125rem;
    font-weight: 500;
    color: #4b5563;
    margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
    .file-label {
        width: 33.333333%;
        margin-bottom: 0;
    }
}
.captcha-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 2rem;
    justify-content: space-between;
}
@media (min-width: 768px) {
    .captcha-section {
        flex-direction: row;
        align-items: center;
    }
}
.captcha-input-group {
    display: flex;
    flex-grow: 1;
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .captcha-input-group {
        margin-bottom: 0;
    }
}
.captcha-label {
    display: block;
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.captcha-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
}
.captcha-refresh {
    color: #3b82f6;
    cursor: pointer;
    font-size: 1.125rem;
    transition: color 0.2s ease-in-out;
}
.captcha-refresh:hover {
    color: #1d4ed8;
}
.captcha-input {
    width: 4rem;
    padding: 0.5rem;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    text-align: center;
}
.submit-button {
    width: 100%;
    padding: 0.75rem 2rem;
    background-color: #2563eb;
    color: white;
    font-weight: 700;
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}
.submit-button:hover {
    background-color: #1d4ed8;
}
.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.25rem;
}
.hidden {
    display: none;
}
.unvalid {
    border-color: #ef4444;
}
.valid {
    border-color: #10b981;
}

/* ============================================================
   5. PAGE HERO SECTION (BASE & SCOPED VARIANTS)
   ============================================================ */
.page-hero-section {
    background: #152b3d;
    padding: 4rem 0 3.5rem;
}
.page-hero-section h1 {
    font-weight: 700;
    font-size: 3.2rem;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.clients-page .page-hero-section,
.gallery-page .page-hero-section {
    padding: 3.5rem 0 3rem;
}
.clients-page .page-hero-section h1,
.gallery-page .page-hero-section h1 {
    font-size: 2.8rem;
}
@media (max-width: 767px) {
    .page-hero-section h1 {
        font-size: 2.3rem;
    }
    .clients-page .page-hero-section h1,
    .gallery-page .page-hero-section h1 {
        font-size: 2.2rem;
    }
}

/* ============================================================
   6. OUR CLIENTS PAGE
   ============================================================ */
.clients-section {
    padding: 80px 0 100px;
    background-color: #f8fafc;
}
.client-logo-card {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}
.client-logo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(240, 84, 0, 0.12);
    border-color: #f05400;
}
.client-logo-card img {
    max-height: 95px;
    max-width: 85%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.client-logo-card:hover img {
    transform: scale(1.08);
}
.client-zoom-hint {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(240, 84, 0, 0.1);
    color: #f05400;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.3s ease;
}
.client-logo-card:hover .client-zoom-hint {
    opacity: 1;
    transform: scale(1);
    background: #f05400;
    color: #ffffff;
}
@media (max-width: 767px) {
    .clients-section {
        padding: 45px 0 65px;
    }
    .client-logo-card {
        height: 160px;
        padding: 25px 20px;
    }
    .client-logo-card img {
        max-height: 75px;
    }
}

/* ============================================================
   7. GALLERY PAGE
   ============================================================ */
.gallery-section {
    padding: 60px 0 90px;
    background-color: #f8fafc;
}
.gallery-item {
    margin-bottom: 30px;
}
.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    border: 1px solid #edf2f7;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
    cursor: pointer;
    text-decoration: none;
}
.gallery-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 36px rgba(240, 84, 0, 0.16);
    border-color: #f05400;
}
.gallery-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.gallery-card:hover .gallery-img-wrap img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(21, 43, 61, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(2px);
}
.gallery-card:hover .gallery-overlay {
    opacity: 1;
}
.gallery-zoom-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f05400;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 6px 18px rgba(240, 84, 0, 0.45);
    transform: scale(0.7);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.gallery-card:hover .gallery-zoom-icon {
    transform: scale(1);
}
@media (max-width: 767px) {
    .gallery-section {
        padding: 40px 0 60px;
    }
    .gallery-item {
        margin-bottom: 20px;
    }
}

/* ============================================================
   8. CONVENTIONAL MACHINES PAGE
   ============================================================ */
.machine-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    box-shadow: 0 6px 24px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.machine-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.1);
    border-color: #f05400;
}
.machine-img-wrap {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    aspect-ratio: 4 / 3;
}
.machine-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.machine-card:hover .machine-img-wrap img {
    transform: scale(1.05);
}
.machine-number-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #f05400;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(240, 84, 0, 0.35);
    z-index: 2;
}
.machine-zoom-btn {
    position: absolute;
    right: 18px;
    bottom: 18px;
    background: rgba(21, 43, 61, 0.85);
    color: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    backdrop-filter: blur(4px);
    transition: all 0.25s ease;
    z-index: 2;
}
.machine-card:hover .machine-zoom-btn {
    background: #f05400;
    color: #ffffff;
    transform: scale(1.1);
}
.machine-title-bar {
    padding: 1.5rem 1.8rem;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}
.machine-title-bar h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #152b3d;
    margin: 0;
    letter-spacing: -0.01em;
}
@media (max-width: 767px) {
    .machine-title-bar h3 {
        font-size: 1.25rem;
    }
}
