/* Variables & Reset */
:root {
    --primary-bg: #0a192f;
    --hero-gradient: linear-gradient(135deg, #2d0b1e 0%, #0a192f 60%, #000000 100%);
    --accent-color: #ffaa00;
    /* Gold/Orange */
    --text-light: #ffffff;
    --text-dark: #333333;
    --white: #ffffff;
    --glass-border: rgba(255, 255, 255, 0.2);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.text-accent {
    color: var(--accent-color);
}

.bg-light {
    background: #f8f9fa;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #0066cc;
    color: #ffffff !important;
}

.btn-primary:hover {
    background: #0052a3;
    color: #ffffff !important;
}

.btn-accent {
    background: var(--accent-color);
    color: #000;
}

.btn-accent:hover {
    background: #e69900;
}

.btn-outline-light {
    border: 1px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #000;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    display: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links>li {
    position: relative;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.nav-links a:hover {
    color: #0066cc;
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 1rem 0;
    z-index: 1001;
}

.nav-links li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: #333;
}

.dropdown li a:hover {
    background: #f8f9fa;
    color: #0066cc;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
}

/* Hero Section - Tech Nodes */
.hero-wrapper {
    position: relative;
    background: var(--hero-gradient);
    min-height: 100vh;
    padding-top: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-main {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.hero-text-content {
    flex: 1;
    padding: 4rem;
    color: var(--white);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-text-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Tech Nodes Animation */
.tech-nodes-container {
    flex: 1;
    position: relative;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-node {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.2);
    animation: floatNode 6s ease-in-out infinite;
    cursor: default;
    transition: var(--transition);
}

.tech-node:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    transform: scale(1.1);
    z-index: 10;
}

.tech-node span {
    display: block;
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 0.2rem;
    font-weight: 400;
}

/* Node Positions */
.node-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.node-2 {
    top: 50%;
    left: 40%;
    animation-delay: 1s;
}

.node-3 {
    top: 30%;
    right: 10%;
    animation-delay: 2s;
}

.node-4 {
    bottom: 20%;
    left: 20%;
    animation-delay: 3s;
}

.node-5 {
    bottom: 30%;
    right: 20%;
    animation-delay: 1.5s;
}

@keyframes floatNode {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Connecting Lines (Simulated with pseudo-elements or SVG in HTML - simplified here) */

/* Page Hero (For sub-pages) */
.page-hero {
    background: var(--hero-gradient);
    padding: 120px 0 60px;
    color: var(--white);
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Sections General */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
    text-align: center;
}

.section-subtitle {
    color: #666;
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Core Competencies Grid */
.competency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.competency-card {
    background: #fff;
    padding: 1.5rem;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: var(--transition);
}

.competency-card:hover {
    border-color: #0066cc;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.competency-card h4 {
    color: #0066cc;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.competency-card p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

/* Enterprise Software Journey */
.journey-section {
    background: #0a192f;
    /* Dark bg */
    color: #fff;
}

.journey-section .section-title {
    color: #fff;
}

.journey-section .section-subtitle {
    color: #ccc;
}

.journey-track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.journey-step {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.journey-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-color);
}

/* Enterprise Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-col {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.service-col h3 {
    border-bottom: 2px solid #0066cc;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.service-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
    font-size: 0.95rem;
    color: #444;
}

.service-list li::before {
    content: '•';
    color: #0066cc;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Enterprise Products */
.products-section {
    background: #fff;
}

.product-suite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.suite-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 2rem;
    transition: var(--transition);
}

.suite-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.suite-card h3 {
    color: #000;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.suite-list li {
    margin-bottom: 1rem;
    border-bottom: 1px dashed #eee;
    padding-bottom: 0.5rem;
}

.suite-list strong {
    color: #0066cc;
    display: block;
}

.suite-list span {
    font-size: 0.9rem;
    color: #666;
}

.know-more-link {
    display: inline-block;
    margin-top: 1rem;
    color: #0066cc;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Risk Automation */
.risk-section {
    background: #f0f4f8;
}

.risk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.risk-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.risk-card h4 {
    color: #d32f2f;
    /* Risk color */
    margin-bottom: 0.5rem;
}

.risk-partners {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.partner-badge {
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
}

/* Workforce Optimization */
.workforce-section {
    background: #0a192f;
    color: #fff;
    text-align: center;
}

.workforce-section .section-title {
    color: #fff;
}

.workforce-section .section-subtitle {
    color: #ccc;
}

.workforce-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.wf-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Ecommerce */
.ecommerce-section {
    background: #fff;
}

.ecom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ecom-list li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: #444;
}

/* Achievements Slider */
.achievements-section {
    background: #f8f9fa;
    padding: 4rem 0;
    border-top: 1px solid #eee;
    overflow: hidden;
}

.logos-slider {
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.logos-slider::before,
.logos-slider::after {
    background: linear-gradient(to right, rgba(248, 249, 250, 1) 0%, rgba(248, 249, 250, 0) 100%);
    content: "";
    height: 100px;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.logos-slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.logos-slider::before {
    left: 0;
    top: 0;
}

.logos-slide-track {
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(250px * 20);
    /* 250px width * 20 slides (10 original + 10 duplicate) */
}

.slide {
    height: 100px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.slide img {
    max-width: 100%;
    max-height: 80px;
    opacity: 0.9;
    transition: var(--transition);
}

.slide img:hover {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 10));
    }

    /* Scroll by half the total width */
}

/* Stay Connected */
.connect-section {
    background: #111;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    color: #fff;
}

.social-icon:hover {
    background: var(--accent-color);
    color: #000;
}

/* Mega Footer (Existing styles preserved/tweaked) */
.mega-footer {
    background: #000;
    color: #fff;
    padding: 5rem 0 2rem;
    border-top: 1px solid #333;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 0.95rem;
}

/* Products Page Redesign */

/* Product Hero Variant */
.product-hero {
    position: relative;
    background: var(--hero-gradient);
    padding: 140px 0 80px;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.product-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #bbb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 300;
}

/* Product Section - Alternating Layouts */
.product-section-wrapper {
    padding: 6rem 0;
    position: relative;
}

.product-section-dark {
    background: #0a192f;
    color: #fff;
}

.product-section-light {
    background: #fff;
    color: #333;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Product Visuals (Abstract Tech Nodes) */
.product-visual {
    position: relative;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-section-light .product-visual {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.visual-node {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0 0 30px rgba(255, 170, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
    z-index: 2;
}

.visual-node-main {
    width: 100px;
    height: 100px;
    font-size: 1.2rem;
}

.visual-orbit {
    position: absolute;
    border: 1px dashed rgba(255, 170, 0, 0.3);
    border-radius: 50%;
    animation: rotateOrbit 20s linear infinite;
}

.orbit-1 {
    width: 200px;
    height: 200px;
}

.orbit-2 {
    width: 300px;
    height: 300px;
    animation-direction: reverse;
    animation-duration: 25s;
}

.orbit-dot {
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    transform: translateX(-50%);
}

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

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

/* Product Content */
.product-content h2 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.product-tagline {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 600;
    display: block;
}

.product-desc {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.8;
}

/* Capabilities Grid */
.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cap-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
}

.product-section-light .cap-card {
    background: #f8f9fa;
    border-left: 3px solid #0066cc;
}

.cap-card h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.product-section-light .cap-card h5 {
    color: #000;
}

.cap-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Who Uses Pill */
.who-uses {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-section-light .who-uses {
    background: #f0f4f8;
    border: 1px solid #dceefb;
    color: #333;
}

.who-uses strong {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.product-section-light .who-uses strong {
    color: #0066cc;
}

/* Responsiveness for Products */
@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-visual {
        order: -1;
        /* Visual always on top on mobile */
        height: 300px;
    }

    .product-hero h1 {
        font-size: 2.5rem;
    }
}


/* About Page Specifics */

/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    position: relative;
    background: #f8f9fa;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Central Line */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 2px;
    background: #e0e0e0;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--white);
    border: 4px solid var(--accent-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition);
}

.timeline-item:hover::after {
    background-color: var(--accent-color);
    transform: scale(1.2);
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 28px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 28px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.timeline-date {
    font-weight: 800;
    color: #0066cc;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Leadership Grid */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.leader-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #eee;
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.1);
}

.leader-img-wrapper {
    height: 250px;
    background: #e0e0e0;
    overflow: hidden;
    position: relative;
}

.leader-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-img-wrapper img {
    transform: scale(1.1);
}

.leader-info {
    padding: 1.5rem;
}

.leader-name {
    font-size: 1.3rem;
    color: #000;
    margin-bottom: 0.2rem;
}

.leader-role {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.leader-desc {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: #0a192f;
    color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

/* Stats/Presence Box */
.presence-section {
    background: #0066cc;
    color: #fff;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.presence-section::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.stats-grid-premium {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.stat-item-premium {
    text-align: center;
}

.stat-num-premium {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    /* Ensure contrast */
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-text-premium {
    font-weight: 500;
    opacity: 0.9;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}



/* Mobile Timeline */
@media screen and (max-width: 768px) {
    .timeline-container::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    .left::after,
    .right::after {
        left: 21px;
    }

    .right {
        left: 0%;
    }
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

/* Industries Page Specifics */

.industry-hero {
    background: var(--hero-gradient);
    padding: 120px 0 80px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.industry-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 4rem 0;
}

.industry-card-premium {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.industry-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.ind-img-placeholder {
    height: 200px;
    background: #0a192f;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    position: relative;
}

.ind-img-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
}

.ind-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ind-content h3 {
    margin-bottom: 1rem;
    color: #000;
    font-size: 1.5rem;
}

.ind-content p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    /* Pushes features down */
}

.sector-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.sector-pill {
    background: #f0f4f8;
    color: #0066cc;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.industry-card-premium:hover .sector-pill {
    background: #e6f0ff;
}

/* Why Trisoft Section */
.why-trisoft-section {
    background: #f8f9fa;
    padding: 5rem 0;
    text-align: center;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.why-card h4 {
    color: #0066cc;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.why-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Solutions Page Specifics */
.solution-hero {
    background: var(--hero-gradient);
    padding: 140px 0 100px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Abstract background shapes for solution hero */
.solution-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.solution-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.solution-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: -50px;
    /* Overlap hero */
    position: relative;
    z-index: 10;
    padding-bottom: 4rem;
}

.solution-card-premium {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.solution-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.sol-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.sol-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.solution-card-premium:hover .sol-img-wrapper img {
    transform: scale(1.1);
}

/* Gradient overlay on image */
.sol-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.sol-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sol-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #000;
}

.sol-content p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.sol-features-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.sol-features-list li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #444;
    padding-left: 1.5rem;
    position: relative;
}

.sol-features-list li::before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.approach-section {
    padding: 6rem 0;
    background: #fff;
    text-align: center;
}

.approach-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.app-step {
    flex: 1;
    min-width: 250px;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    position: relative;
}

.app-step-num {
    font-size: 4rem;
    font-weight: 800;
    color: #e0e0e0;
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.app-step h4 {
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    color: #0066cc;
    position: relative;
    z-index: 1;
}

.app-step p {
    position: relative;
    z-index: 1;
    color: #666;
}

/* Detailed Solution Page Specifics (Fintech, HRTech, etc.) */

.detail-hero {
    background: var(--hero-gradient);
    padding: 140px 0 80px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.challenge-solution-section {
    padding: 6rem 0;
    background: #fff;
}

.cs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.cs-card {
    padding: 2.5rem;
    border-radius: 12px;
}

.cs-card-challenge {
    background: #fff0f0;
    border-left: 4px solid #e63946;
}

.cs-card-solution {
    background: #f0f9ff;
    border-left: 4px solid #0066cc;
}

.cs-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-stack-section {
    padding: 5rem 0;
    background: #f8f9fa;
    text-align: center;
}

.tech-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.tech-item {
    background: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-weight: 600;
    color: #333;
    border: 1px solid #eee;
    transition: transform 0.2s;
}

.tech-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.feature-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card-p {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-top: 3px solid var(--accent-color);
    transition: var(--transition);
}

.feature-card-p:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card-p h4 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    color: #000;
}

.feature-card-p p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cs-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Case Studies Page Specifics */

.cs-hero {
    background: var(--hero-gradient);
    padding: 140px 0 80px;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.featured-case-section {
    padding: 6rem 0 3rem;
    position: relative;
}

.featured-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #eee;
}

.fc-image {
    flex: 1;
    min-width: 300px;
    background: #0a192f;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.fc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.fc-content {
    flex: 1;
    min-width: 300px;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.client-badge {
    background: #e6f0ff;
    color: #0066cc;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    align-self: flex-start;
    margin-bottom: 1.5rem;
}

.fc-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #000;
    line-height: 1.2;
}

.fc-content p {
    color: #555;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.impact-row-large {
    display: flex;
    gap: 3rem;
    margin-top: 1rem;
}

.impact-metric-lg {
    display: flex;
    flex-direction: column;
}

.metric-val-lg {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0066cc;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label-lg {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cs-grid-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    padding-bottom: 6rem;
}

.cs-card-standard {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.cs-card-standard:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.csc-body {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.csc-client {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.csc-body h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #000;
}

.csc-body p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    flex: 1;
}

.csc-impact-box {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: auto;
}

.csc-impact-row {
    display: flex;
    justify-content: space-between;
}

.impact-mini h5 {
    font-size: 1.5rem;
    color: #0066cc;
    margin-bottom: 0.2rem;
}

.impact-mini span {
    font-size: 0.8rem;
    color: #666;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Legal & Policy Pages */

.legal-hero {
    background: var(--hero-gradient);
    padding: 100px 0 60px;
    color: var(--white);
    text-align: center;
}

.legal-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.legal-content h2 {
    font-size: 1.8rem;
    color: #000;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    font-size: 1.3rem;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content p,
.legal-content li {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.compliance-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.compliance-badge {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    width: 200px;
}

.cb-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.cb-title {
    font-weight: 700;
    color: #000;
    display: block;
    margin-bottom: 0.5rem;
}

.cb-desc {
    font-size: 0.85rem;
    color: #666;
}

/* Contact Page Form */
.contact-form-container {
    max-width: 800px;
    margin: -80px auto 0;
    position: relative;
    z-index: 10;
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.full-width {
    grid-column: 1 / -1;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-email-only {
    text-align: center;
    margin-top: 3rem;
    color: #666;
    font-size: 1.1rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Navigation */
    .mobile-menu-btn {
        display: block;
        z-index: 1002;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: 0.3s ease-in-out;
        z-index: 1001;
        background-color: var(--white);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    /* Hero Sections */
    .hero-wrapper {
        flex-direction: column;
        padding-top: 100px;
        height: auto;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-text-content {
        padding: 2rem 0;
        text-align: center;
        align-items: center;
    }

    .hero-text-content h1 {
        font-size: 2.5rem;
    }

    .tech-nodes-container {
        display: none;
        /* Hide complex animation on mobile for performance/space */
    }

    /* Common Grids */
    .services-grid,
    .ecom-grid,
    .cs-grid,
    .solution-grid-premium,
    .contact-form-container .form-grid,
    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .why-grid,
    .feature-grid-premium,
    .tech-grid,
    .cs-grid-masonry {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {

    /* Global Typography */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Specific Layouts */
    .journey-track {
        flex-direction: column;
        align-items: center;
    }

    .journey-step:not(:last-child)::after {
        content: '↓';
        right: 50%;
        top: 100%;
        transform: translateX(50%);
    }

    .contact-form-container {
        padding: 1.5rem;
        margin-top: -40px;
    }

    .legal-hero {
        padding: 80px 0 40px;
    }

    .solution-hero {
        padding: 100px 0 60px;
    }

    .detail-hero {
        padding: 100px 0 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .impact-row-large {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .fc-content {
        padding: 2rem;
        text-align: center;
    }

    .client-badge {
        align-self: center;
    }

    .featured-card {
        flex-direction: column;
    }

    .fc-image {
        min-height: 250px;
    }
}