/**
 * Technology Pages CSS
 * Unified styling for all technology-related pages
 */

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.technology-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.tech-breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    padding: 10px 0;
}

.tech-breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

.tech-breadcrumb a:hover {
    text-decoration: underline;
}

.tech-breadcrumb span {
    color: #333;
    font-weight: 500;
}

/* ============================================
   HEADER SECTIONS
   ============================================ */
.tech-header,
.tech-detail-header {
    text-align: center;
    margin-bottom:60px;
    margin-top:40px;
}

.tech-header h1,
.tech-detail-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.2;
}

.tech-intro,
.tech-subtitle {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}
.tech-subtitle {
    text-align:center;
}
.tech-intro p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.tech-intro p:last-child {
    margin-bottom: 30px;
    font-weight: 500;
}

/* Introduction Lead Text */
.tech-intro-lead {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.tech-intro-lead p {
    font-size: 20px;
    line-height: 1.7;
    color: #333;
}

/* Introduction Boxes */
.tech-intro-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto 40px;
}

.tech-intro-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 35px;
    text-align: left;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.tech-intro-box:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.tech-intro-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.tech-intro-box h3 {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.3;
}

.tech-intro-box p {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin: 0;
    text-align: justify;
}

/* Introduction CTA */
.tech-intro-cta {
    text-align: center;
    margin-bottom: 50px;
}

.tech-intro-cta p {
    font-size: 22px;
    font-weight: 600;
    color: #0066cc;
    margin: 0;
}

/* ============================================
   HERO IMAGE
   ============================================ */
.tech-detail-hero {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tech-detail-hero img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

/* ============================================
   TECHNOLOGY CARDS GRID
   ============================================ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.tech-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tech-card-image {
    height: 250px;
    overflow: hidden;
    background: #f5f5f5;
}

.tech-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tech-card:hover .tech-card-image img {
    transform: scale(1.05);
}

.tech-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tech-card-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.tech-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.tech-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.tech-features li {
    font-size: 14px;
    color: #555;
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
}



/* ============================================
   BUTTONS
   ============================================ */
.tech-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #13a4c2;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.tech-btn:hover {
    background: #23b4d2;
    transform: translateY(-2px);
}

.tech-btn-primary {
    background: #28a745;
}

.tech-btn-primary:hover {
    background: #218838;
}

.tech-btn-secondary {
    background: #6c757d;
}

.tech-btn-secondary:hover {
    background: #5a6268;
}

.tech-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ============================================
   DETAIL PAGE SECTIONS
   ============================================ */
.tech-detail-content {
    margin-top: 40px;
}

.tech-section {
    margin-bottom: 60px;
}

.tech-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #0066cc;
}

.tech-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.tech-section-gray {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
}

/* Image floating in tech sections */
.tech-section-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tech-float-right {
    float: right;
    margin: 0 0 25px 35px;
}

/* Clear float after section */
.tech-section::after {
    content: "";
    display: table;
    clear: both;
}

/* ============================================
   ADVANTAGES GRID
   ============================================ */
.tech-advantages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.advantage-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.advantage-icon {
    font-size: 42px;
    margin-bottom: 15px;
    display: block;
}

.advantage-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.advantage-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   SPECIFICATIONS
   ============================================ */
.tech-specs {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.spec-row {
    display: flex;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-row:nth-child(even) {
    background: #f8f9fa;
}

.spec-label {
    font-weight: 700;
    color: #333;
    flex: 0 0 200px;
    font-size: 15px;
}

.spec-value {
    color: #555;
    flex: 1;
    font-size: 15px;
}

/* ============================================
   USE CASES
   ============================================ */
.tech-use-cases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.use-case {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.use-case h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.use-case p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   PROCESS TIMELINE
   ============================================ */
.tech-process {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 20px;
}

.process-step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.process-step p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.process-arrow {
    font-size: 28px;
    color: #0066cc;
    flex: 0 0 auto;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.tech-faq {
    margin-top: 30px;
}

.faq-item {
    background: #fff;
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #28a745;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.faq-item p,
.faq-item ul {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.faq-item ul {
    padding-left: 20px;
    margin-top: 10px;
}

.faq-item li {
    margin-bottom: 5px;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.tech-comparison {
    margin: 60px 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 30px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: #fff;
}

.comparison-table th {
    padding: 15px;
    text-align: left;
    font-weight: 700;
    font-size: 15px;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    color: #555;
}

.comparison-table tbody tr:hover {
    background: #f8f9fa;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================
   COMPARISON GRID
   ============================================ */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.comparison-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.comparison-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #28a745;
}

.comparison-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 8px 0;
}

.comparison-item p strong {
    color: #28a745;
    font-weight: 700;
}

/* ============================================
   MATERIAL GRID
   ============================================ */
.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.material-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.material-item:hover {
    transform: translateY(-3px);
}

.material-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.material-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.material-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.material-item ul li {
    font-size: 14px;
    color: #555;
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
}


/* ============================================
   CTA SECTION
   ============================================ */
.tech-cta {
    background: linear-gradient(135deg, #0066cc, #0052a3);
    color: #fff;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
}

.tech-cta h2 {
    color: #fff;
    border-bottom: 3px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.tech-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.tech-cta .tech-btn {
    background: #fff;
    color: #0066cc;
}

.tech-cta .tech-btn:hover {
    background: #f0f0f0;
}

.tech-cta .tech-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.tech-cta .tech-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   HELP SECTION
   ============================================ */
.tech-help,
.tech-help-section {
    background: #f8f9fa;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    margin-top: 60px;
}

.tech-help h2,
.tech-help-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.tech-help p,
.tech-help-section p {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .tech-header h1,
    .tech-detail-header h1 {
        font-size: 28px;
    }

    .tech-intro,
    .tech-subtitle {
        font-size: 16px;
        text-align:center;
    }

    .tech-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tech-section h2 {
        font-size: 26px;
    }

    .tech-advantages,
    .tech-use-cases,
    .material-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
    }

    .tech-process {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    /* Floating images on mobile */
    .tech-float-right {
        float: none;
        margin: 0 auto 25px;
        display: block;
    }

    .tech-section-image {
        max-width: 100%;
    }

    .spec-row {
        flex-direction: column;
    }

    .spec-label {
        flex: 1;
        margin-bottom: 5px;
    }

    .comparison-table {
        font-size: 12px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
    }

    .tech-cta,
    .tech-help,
    .tech-help-section {
        padding: 30px 20px;
    }

    .tech-cta-buttons {
        flex-direction: column;
    }

    .tech-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .technology-container {
        padding: 15px;
    }

    .tech-card-content {
        padding: 20px;
    }

    .tech-section-gray {
        padding: 25px 20px;
    }
}
