/* -----------------------------------------------------Cyber Security --------------------------------------------- */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    color: #fff;
}

/* ================= HERO ================= */
.hero {
    position: relative;
    padding: 60px 100px 40px;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    margin-top: 40px;
}


.hero-content {
    max-width: 650px;
    z-index: 2;
}

.hero-tag {
    color: #6f4cff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.3;
    color: #f5f5f5;
}

.dot-pattern {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: repeat(6, 14px);
    grid-gap: 18px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #2a2a2a;
    border-radius: 50%;
}

.dot.orange {
    background-color: #ff5722;
}

/* ================= SERVICES ================= */
.services {
    background-color: #000;
    padding: 80px 100px;
}

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

.service-column h3 {
    color: #0b50a9;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}

.service-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-column ul li {
    color: #cfcfcf;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.mt {
    margin-top: 40px;
}

/* ================= RISK SECTION ================= */
.risk-section {
    background: radial-gradient(circle at left, #120a1f, #000);
    padding: 100px;
}

.risk-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.risk-visual {
    position: relative;
    width: 420px;
    height: 420px;
}

.circle-ring {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(138, 43, 226, 0.4);
    animation: rotate 20s linear infinite;
}

.lock-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 90px;
    color: #7b4cff;
    filter: drop-shadow(0 0 20px rgba(123, 76, 255, 0.8));
}

.risk-content {
    max-width: 600px;
}

.risk-icon {
    font-size: 28px;
    color: #7b4cff;
    margin-bottom: 20px;
}

.risk-content h2 {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    color: #f5f5f5;
    margin-bottom: 20px;
}

.risk-content p {
    color: #bdbdbd;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.read-more {
    color: #7b4cff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 14px;
    color: #a78bfa;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/*         ----------------------------------------- data-engineering  ---------------------------------------------------------*/
/* Banner */
.page-banner {
    position: relative;
    min-height: 100vh;
    background-image: url("https://www.c5i.ai/wp-content/uploads/Data-Engineering.jpg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    background-color: #000;
    display: flex;
    align-items: center;
}

.Strategic-page-banner {
    position: relative;
    min-height: 100vh;
    background-image: url("../services/assets/operational.webp");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    background-color: #000;
    display: flex;
    align-items: center;
}


.ai-page-banner {
    position: relative;
    min-height: 100vh;
    background-image: url("https://tdtl.world/static/media/Banner-min.2add6cb3ae7761756cae.jpg");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    background-color: #000;
    display: flex;
    align-items: center;
}


/* Content */
.banner-content {
    position: relative;
    max-width: 680px;
    padding: 20px 64px;
    z-index: 1;
}

.banner-content h1 {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    margin-bottom: 18px;
}

.banner-content p {
    font-size: clamp(15px, 2.5vw, 18px);
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 28px;
}

.ai-banner-content {
    position: relative;
    max-width: 680px;
    padding: 20px 64px;
    z-index: 1;
}

.ai-banner-content h1 {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 18px;
}

.ai-banner-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 28px;
}

/* Button */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    background: #6c2bd9;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #5a22b5;
    transform: translateX(4px);
    text-decoration: none
}



/* 📱 Mobile */
@media (max-width: 576px) {
    .page-banner {
        min-height: 90vh;
    }

    .ai-page-banner {
        min-height: 90vh;
    }

    .banner-content {
        padding: 20px 20px;
        text-align: left;
    }

    .ai-banner-content {
        padding: 20px 20px;
        text-align: left;
    }

    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .breadcrumb {
        font-size: 13px;
    }
}

/* 📱 Tablets */
@media (max-width: 768px) {
    .banner-content {
        padding: 20px 32px;
    }

    .ai-banner-content {
        padding: 20px 32px;
    }
}

/* 💻 Large Screens */
@media (min-width: 1200px) {
    .banner-content {
        padding-left: 100px;
    }

    .ai-banner-content {
        padding-left: 100px;
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 60px 30px;
    }

    .hero-title {
        font-size: 32px;
    }

    .dot-pattern {
        display: none;
    }

    .risk-container {
        flex-direction: column;
        text-align: center;
    }

    .risk-visual {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 0px;
    }

    .services {
        padding: 60px 30px;
    }

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

/* Section on black background */
.data-services-section {
    padding: 80px 20px;
    background-color: #000;
}

/* Card container */
.data-services-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #0f0f0f;
    padding: 50px 40px;
    border-radius: 14px;
    border: 1px solid #1e1e1e;
}

/* Center heading */
.data-services-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 40px;
    color: #ffffff;
}

/* Grid with 4 rows per column */
.data-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, auto);
    gap: 16px 24px;
}

/* Service item */
.data-services-list li {
    background: #111827;
    color: #e5e7eb;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
    border: 1px solid #1f2933;
    transition: all 0.3s ease;
}

/* Hover effect */
.data-services-list li:hover {
    background: #1f2937;
    transform: translateY(-2px);
}


.de-solutions-section {
    padding: 80px 20px;
    background: #000;
}

.de-container {
    max-width: 1200px;
    margin: 0 auto;
}

.de-heading {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 70px;
    color: white;
}

/* Grid layout */
.de-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
}

/* Item layout */
.de-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

/* Icon cube */
.de-icon {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    border-radius: 3px;
    transform: rotate(0deg);
    position: relative;
    flex-shrink: 0;
}

.de-icon::before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    border: 1px solid #000;
    left: -6px;
    top: 6px;
    background: #fff;
    z-index: -1;
}

/* Text */
.de-item p {
    font-size: 16px;
    line-height: 1.7;
    color: white;
    margin: 0;
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 1024px) {
    .de-heading {
        font-size: 36px;
    }

    .de-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .de-heading {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .de-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .de-item p {
        font-size: 15px;
    }
}

.bfsi-ai-section {
    padding: 80px 20px;
    background-color: #1b1b1b;
    font-family: "Segoe UI", Arial, sans-serif;
}

.bfsi-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.bfsi-header {
    max-width: 900px;
    margin-bottom: 70px;
}

.bfsi-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.bfsi-title-underline {
    display: inline-block;
    width: 90px;
    height: 4px;
    background-color: #7c3aed;
    margin: 12px 0 20px;
}

.bfsi-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: white;
}

/* Grid */
.bfsi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 50px;
}

/* Card */
.bfsi-card {
    max-width: 340px;
}

.bfsi-icon {
    width: 64px;
    height: 64px;
    background: #7c3aed;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.bfsi-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.bfsi-card p {
    font-size: 15.5px;
    line-height: 1.7;
    color: whitesmoke;
    margin: 0;
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 1024px) {
    .bfsi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px 40px;
    }

    .bfsi-title {
        font-size: 34px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .bfsi-header {
        text-align: center;
    }

    .bfsi-title-underline {
        margin-left: auto;
        margin-right: auto;
    }

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

    .bfsi-card {
        max-width: 100%;
        text-align: center;
    }

    .bfsi-icon {
        margin-left: auto;
        margin-right: auto;
    }
}

.services-showcase {
    background-color: #000;
    padding: 80px 20px;
    font-family: "Segoe UI", Arial, sans-serif;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Row layout */
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
}

.service-row.reverse {
    direction: rtl;
}

.service-row.reverse>* {
    direction: ltr;
}

/* Image block */
.service-image {
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Overlay button */
.overlay-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 22px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

/* Content */
.service-content h3 {
    font-size: 34px;
    color: #1e90ff;
    margin-bottom: 16px;
}

.service-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #ccc;
    max-width: 480px;
}

.read-more {
    display: inline-block;
    margin-top: 14px;
    color: #ff7a18;
    text-decoration: none;
    font-size: 15px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .service-row {
        grid-template-columns: 1fr;
    }

    .service-row.reverse {
        direction: ltr;
    }

    .service-content h3 {
        font-size: 28px;
    }

    .service-row {
        margin-bottom: 60px;
    }
}

@media (max-width: 480px) {
    .service-content h3 {
        font-size: 24px;
    }

    .service-content p {
        font-size: 15px;
    }

    .overlay-btn {
        font-size: 14px;
        padding: 10px 18px;
    }
}