/* =============================================================
   it-services.css — IT Services Page Styles
   Place at: assets/front/css/it-services.css
   Mirrors the reference design exactly. No inline styles needed.
   ============================================================= */


/* ─────────────────────────────────────────
   1. SHARED UTILITIES / BUTTONS / GLASS
───────────────────────────────────────── */

.gradient-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    border-radius: 50px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    background: linear-gradient(135deg, #0d47a1 0%, #0b3d91 60%, #4F9FFF 100%);
    transition: box-shadow 0.3s ease;
}

.gradient-btn:hover {
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.45);
    color: #fff;
}

.gradient-btn:active {
    box-shadow: 0 3px 10px rgba(13, 71, 161, 0.3);
}

.gradient-btn.small {
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
}

.gradient-btn.small:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(79, 159, 255, 0.4);
}

.outline-btn {
    border: 2px solid #4F9FFF;
    color: #4F9FFF;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 14px;
    font-weight: 600;
}

.outline-btn:hover {
    background: #4F9FFF;
    color: #fff;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px;
    max-width: 450px;
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.glass-card:hover {
    border-color: #4F9FFF;
    transform: translateY(-6px);
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #0d47a1, #4F9FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Accent blue text (used inside <span> in headings) */
.accent-blue {
    color: #4F9FFF;
}


/* ─────────────────────────────────────────
   2. HEADING SYSTEM (it-header / track-title)
───────────────────────────────────────── */

/* Dark-blue base heading — overrides any global gradient clip */
.it-header {
    color: #0d47a1;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    display: inline-block;
    width: 100%;
    font-size: 32px;
    font-weight: 700;
}

.it-header span {
    display: inline;
    color: #0d47a1;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    font-style: normal;
}

/* The highlighted/italic word inside it-header */
.it-header .highlight-word,
.highlight-word {
    color: #4F9FFF;
    font-style: italic;
    display: inline;
}

/* White heading used in dark sections */
.track-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
}

.track-title i {
    font-style: italic;
}


/* ─────────────────────────────────────────
   3. ICON GRADIENTS (shared across sections)
───────────────────────────────────────── */

/* Service card gradients */
.grad-1 { background: linear-gradient(135deg, #0d47a1, #1e88e5); }
.grad-2 { background: linear-gradient(135deg, #00acc1, #4dd0e1); }
.grad-3 { background: linear-gradient(135deg, #5e35b1, #9575cd); }
.grad-4 { background: linear-gradient(135deg, #0288d1, #29b6f6); }
.grad-5 { background: linear-gradient(135deg, #00897b, #4db6ac); }
.grad-6 { background: linear-gradient(135deg, #d81b60, #f06292); }
.grad-7 { background: linear-gradient(135deg, #3949ab, #7986cb); }
.grad-8 { background: linear-gradient(135deg, #fb8c00, #ffb74d); }

/* Pillar card gradients */
.p-grad-1 { background: linear-gradient(135deg, #0d47a1, #1e88e5); }
.p-grad-2 { background: linear-gradient(135deg, #00acc1, #4dd0e1); }
.p-grad-3 { background: linear-gradient(135deg, #5e35b1, #9575cd); }
.p-grad-4 { background: linear-gradient(135deg, #0288d1, #29b6f6); }
.p-grad-5 { background: linear-gradient(135deg, #d81b60, #f06292); }
.p-grad-6 { background: linear-gradient(135deg, #3949ab, #7986cb); }


/* ─────────────────────────────────────────
   4. HERO SECTION
───────────────────────────────────────── */

.it-hero {
    background: linear-gradient(145deg, #0a0a1a, #14143d);
    padding: 60px 0;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-left {
    width: 50%;
    flex-shrink: 0;
}

.hero-left h1 {
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.hero-left p {
    color: #cfd8ff;
    font-size: 16px;
    line-height: 1.6;
    margin-top: 16px;
}

.hero-buttons {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-right {
    width: 50%;
    flex-shrink: 0;
    margin-left: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-right img {
    width: 100%;
    max-width: 300px;
}


/* ─────────────────────────────────────────
   5. SERVICES MATRIX SECTION
───────────────────────────────────────── */

.services-matrix-section {
    padding: 70px 0;
    background: #ffffff;
}

/* Premium service card */
.service-premium-card {
    background: #ffffff;
    border: 1px solid #f2f2f2;
    border-radius: 24px;
    padding: 55px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 340px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04), 0 2px 4px rgba(0, 0, 0, 0.01);
}

.service-premium-card:hover {
    transform: translateY(-12px);
    border-color: #4F9FFF;
    box-shadow: 0 25px 60px rgba(13, 71, 161, 0.12);
}

.svc-icon-shape {
    width: 50px;
    height: 50px;
    margin-bottom: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
    transition: 0.5s ease;
    flex-shrink: 0;
}

.service-premium-card:hover .svc-icon-shape {
    transform: rotateY(180deg) scale(1.1);
}

.service-premium-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 18px;
}

.service-premium-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}


/* ─────────────────────────────────────────
   6. GLOBAL MAP SECTION
───────────────────────────────────────── */

.global-map-section {
    padding: 100px 0;
    background: #050510;
    position: relative;
    overflow: hidden;
}

.map-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Stats */
.map-stats-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.map-stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
}

.m-stat-num {
    font-size: 36px;
    font-weight: 800;
    color: #4F9FFF;
    display: block;
}

.m-stat-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Map SVG wrapper */
.map-wrapper {
    position: relative;
    width: 100%;
}

.world-inline-svg {
    width: 100%;
    height: auto;
    display: block;
}

.map-svg-image {
    filter: invert(1);
    opacity: 0.1;
}

/* Map dots */
.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.dot::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: mapPulse 2s infinite;
}

.hub-white {
    background: #ffffff;
    box-shadow: 0 0 15px #ffffff;
}

.hub-white::after {
    border: 1px solid #ffffff;
}

.pulse-blue {
    background: #4F9FFF;
}

.pulse-blue::after {
    border: 1px solid #4F9FFF;
}

/* Dot positions */
.p-india       { top: 52%; left: 68%; width: 10px; height: 10px; }
.p-usa         { top: 38%; left: 18%; }
.p-mexico      { top: 50%; left: 20%; }
.p-uk          { top: 28%; left: 46%; }
.p-france      { top: 35%; left: 48%; }
.p-sweden      { top: 18%; left: 52%; }
.p-poland      { top: 28%; left: 54%; }
.p-china       { top: 40%; left: 78%; }
.p-vietnam     { top: 58%; left: 78%; }
.p-thailand    { top: 58%; left: 75%; }
.p-philippines { top: 58%; left: 83%; }
.p-indonesia   { top: 72%; left: 78%; }
.p-malaysia    { top: 68%; left: 75%; }
.p-singapore   { top: 70%; left: 76%; }

@keyframes mapPulse {
    0%   { width: 100%; height: 100%; opacity: 0.8; }
    100% { width: 400%; height: 400%; opacity: 0; }
}


/* ─────────────────────────────────────────
   7. WHY CHOOSE US — PILLAR REVEAL CARDS
───────────────────────────────────────── */

.why-choose-section {
    padding: 100px 0;
    background: #ffffff;
}

/* Reveal card */
.pillar-reveal-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    position: relative;
}

.pillar-reveal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(13, 71, 161, 0.08);
    border-color: #4F9FFF;
}

/* Icon box */
.pillar-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    margin-bottom: 20px;
    transition: 0.4s;
}

/* Card heading */
.pillar-reveal-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: #0d47a1;
    margin-bottom: 0;
    transition: 0.4s;
}

.pillar-reveal-card:hover h4 {
    margin-bottom: 15px;
}

/* Reveal animation */
.reveal-content {
    max-height: 0;
    opacity: 0;
    transition: all 0.5s ease;
    overflow: hidden;
}

.pillar-reveal-card:hover .reveal-content {
    max-height: 200px;
    opacity: 1;
}

.reveal-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}


/* ─────────────────────────────────────────
   8. ENGAGEMENT MODEL
───────────────────────────────────────── */

.engagement-model {
    background: linear-gradient(180deg, #07071c, #0d0d26);
    padding: 80px 0;
    text-align: center;
}

/* Title */
.engagement-title {
    color: #ffffff;
    margin-bottom: 40px;
}

/* Tabs row */
.engagement-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.eng-tab {
    padding: 16px 40px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid #4F9FFF;
    color: #4F9FFF;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.eng-tab.active {
    background: linear-gradient(135deg, #0d47a1, #4F9FFF);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 30px rgba(79, 159, 255, 0.3);
}

.eng-tab:hover {
    background: rgba(79, 159, 255, 0.1);
}

/* Panels */
.engagement-panel {
    display: none;
    max-width: 900px;
    margin: auto;
    padding: 70px 60px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
}

.engagement-panel.active {
    display: block;
}

.engagement-panel h3 {
    font-size: 38px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #fff;
}

.eng-desc {
    font-size: 18px;
    color: #c7d0ff;
    margin-bottom: 8px;
    line-height: 1.6;
}

.engagement-panel ul {
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

.engagement-panel ul li {
    font-size: 18px;
    margin-bottom: 18px;
    position: relative;
    padding-left: 24px;
    color: #e2e6ff;
}

.engagement-panel ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4F9FFF;
    font-size: 20px;
}


/* ─────────────────────────────────────────
   9. FINAL CTA
───────────────────────────────────────── */

.final-ctaa {
    background: #ffffff;
    padding: 20px 0;
}

.ctaa-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.ctaa-text {
    width: 50%;
}

.ctaa-heading {
    color: #0d47a1;
    font-size: 28px;
    font-weight: 700;
}

.ctaa-btn {
    margin-top: 20px;
}

.ctaa-image {
    width: 50%;
    text-align: right;
}

.ctaa-image img {
    max-width: 100%;
    height: auto;
    filter: contrast(1.5);
}


/* ─────────────────────────────────────────
   10. CONTENT WRAPPER (shared layout helper)
───────────────────────────────────────── */

.content-wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}


/* ─────────────────────────────────────────
   11. RESPONSIVE
───────────────────────────────────────── */

@media (max-width: 991px) {
    .hero-inner {
        flex-direction: column;
        gap: 40px;
    }

    .hero-left,
    .hero-right {
        width: 100%;
        margin-left: 0;
    }

    .hero-right {
        align-items: center;
    }

    .ctaa-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .ctaa-text,
    .ctaa-image {
        width: 100%;
        text-align: center;
    }

    .track-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .it-hero {
        padding: 60px 0;
    }

    .hero-left h1 {
        font-size: 36px;
    }

    .service-premium-card {
        padding: 40px 25px;
        min-height: auto;
        margin-bottom: 10px;
    }

    .pillar-reveal-card {
        padding: 30px 20px;
    }

    .engagement-panel {
        padding: 40px 25px;
    }

    .engagement-panel h3 {
        font-size: 28px;
    }

    .engagement-panel ul li {
        font-size: 16px;
    }

    .engagement-tabs {
        gap: 12px;
    }

    .eng-tab {
        padding: 12px 24px;
        font-size: 14px;
    }

    .it-header {
        font-size: 24px;
    }

    .global-map-section,
    .why-choose-section {
        padding: 60px 0;
    }

    .content-wrapper {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .outline-btn {
        padding: 10px 24px;
    }
}