/* ============================================
   INDEX PAGE – Home Page Specific Styles
   ============================================ */

/* ─── KEYWORD HIGHLIGHT CARDS ─── */
.keyword-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.keyword-highlight-vertical {
    grid-template-columns: repeat(3, 1fr);
}

.keyword-highlight-compact {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.keyword-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px 24px;
    transition: all 0.3s ease;
}

.keyword-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.1);
    transform: translateY(-3px);
}

.keyword-card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 16px;
}

.keyword-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.keyword-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.keyword-card ul li {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    padding-left: 14px;
    position: relative;
}

.keyword-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #3b82f6;
}

.keyword-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.keyword-card-sm {
    padding: 20px 16px;
    text-align: center;
}

.keyword-card-sm h3 {
    margin-bottom: 0;
    font-size: 16px;
}

.keyword-highlight-equipment {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.equipment-cta-wrap {
    text-align: center;
    margin-top: 40px;
}

/* ─── HERO ─── */
.hero {
    padding: 80px 0 100px;
    background: #ffffff;
    color: #111827;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #111827;
}

.hero-content p {
    font-size: 20px;
    line-height: 1.6;
    color: #6b7280;
    margin-bottom: 32px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #374151;
}

.feature-item svg {
    flex-shrink: 0;
    color: #1e40af;
}

/* Hero button override */
.hero-btn {
    padding: 16px 36px;
    font-size: 16px;
    border-radius: 50px;
    border: 2px solid #1e40af;
    color: #1e40af;
    font-weight: 600;
}

.hero-btn:hover {
    background: #1e40af;
    color: white;
}

/* Hero image cards */
.hero-images {
    position: relative;
    min-height: 420px;
}

.image-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    background: white;
}

.image-card svg {
    display: block;
}

.image-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    z-index: 2;
    border-radius: 16px;
}

.image-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    z-index: 3;
    border-radius: 16px;
    border: 4px solid white;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.dot-pattern {
    position: absolute;
    top: -10px;
    right: 20%;
    width: 140px;
    height: 140px;
    background-image: radial-gradient(circle, rgba(30, 64, 175, 0.15) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    z-index: 1;
}

/* ─── TRUSTED BY ─── */
.trusted-section {
    padding: 32px 0;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trusted-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    color: #1e3a5f;
    letter-spacing: 0.3px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.trusted-logo:hover {
    opacity: 1;
}

.trusted-logo svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .trusted-logos {
        gap: 24px;
    }

    .trusted-logo {
        font-size: 14px;
    }
}

/* ─── SERVICES ─── */
.services-section {
    padding: 100px 0;
    background: #ffffff;
}

.section-header {
    margin-bottom: 48px;
}

.section-header.centered {
    text-align: center;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    line-height: 1.6;
}

.section-header.centered p {
    margin: 0 auto;
}

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

.service-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 36px 32px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(30, 64, 175, 0.12);
    border-color: #3b82f6;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.service-card p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.learn-more {
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    transition: gap 0.3s ease, color 0.3s ease;
}

.learn-more:hover {
    gap: 10px;
    color: #3b82f6;
}

.learn-more svg {
    transition: transform 0.3s ease;
}

.learn-more:hover svg {
    transform: translateX(2px);
}

/* ─── TRAINING ─── */
.training-section {
    padding: 100px 0;
    background: #f8fafc;
}

.training-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.training-images {
    position: relative;
}

.training-image-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.training-image-main svg {
    display: block;
}

.training-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 16px;
}

.training-content > p {
    font-size: 17px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 28px;
}

.checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #374151;
}

.checklist-item svg {
    color: #1e40af;
    flex-shrink: 0;
}

/* ─── EQUIPMENT ─── */
.equipment-section {
    padding: 100px 0;
    background: #ffffff;
}

.equipment-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.tab-btn:hover {
    border-color: #3b82f6;
    color: #1e40af;
}

.tab-btn.active {
    background: #1e40af;
    color: white;
    border-color: #1e40af;
}

.equipment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.equipment-text h3 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.equipment-text p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
}

.equipment-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.equipment-image svg {
    display: block;
}

/* ─── CTA ─── */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f2a6b 0%, #1e40af 100%);
    color: white;
}

.cta-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
}

.cta-text p {
    font-size: 18px;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 28px;
}

.cta-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-block h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-bottom: 8px;
    font-weight: 600;
}

.info-block p {
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.6;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-images {
        min-height: 300px;
    }

    .keyword-highlight-grid {
        grid-template-columns: 1fr;
    }

    .keyword-highlight-compact {
        grid-template-columns: repeat(2, 1fr);
    }

    .keyword-highlight-equipment {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .training-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .equipment-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 80px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .hero-images {
        min-height: auto;
    }

    .image-2 {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: 16px;
        border: none;
    }

    .dot-pattern {
        display: none;
    }

    .section-header h2,
    .training-content h2 {
        font-size: 28px;
    }

    .cta-text h2 {
        font-size: 32px;
    }

    .equipment-tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .equipment-text h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .services-section,
    .training-section,
    .equipment-section,
    .cta-section {
        padding: 60px 0;
    }
}
