/* COMPANY SECTION - THE "TECH LAB" CONTRAST ZONE */
.company-section {
    padding: 150px 0 120px;
    /* Extra padding top for the angle */
    position: relative;
    background-color: #f4f7f9;
    /* Bright, clean tech white */
    overflow: hidden;
    /* Spectacular Angled Separator */
    clip-path: polygon(0 100px, 100% 0, 100% 100%, 0 100%);
    margin-top: -100px;
    /* Pull up to overlap slightly */
    z-index: 5;
    /* Sit above hero particle residue if any */
}

/* New Light Theme Palette Overrides for this section */
.company-section {
    --text-color-dark: #0a0a20;
    --card-bg-light: #ffffff;
    --active-shadow: rgba(0, 0, 0, 0.15);
}

/* New Light Theme Palette Overrides for this section */
.company-section {
    --text-color-dark: #0a0a20;
    --card-bg-light: #ffffff;
    --active-shadow: rgba(0, 0, 0, 0.15);
}

/* Specific User Palette */
:root {
    --cp-cyan: #56BAE7;
    --cp-magenta: #C43ABC;
    --cp-navy: #0F1E5C;
    --cp-gold: #CABA3D;
    --cp-black: #000000;
    --cp-pale: #D0EAEE;
}

/* Background detail - subtle texture */
/* Subtle Grid Mesh for Light Mode */
.company-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(86, 186, 231, 0.05) 0%, transparent 40%),
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    z-index: 0;
    opacity: 1;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 80px;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    color: #0a0a20;
    /* Dark Navy for Contrast */
    letter-spacing: -2px;
    text-shadow: none;
    /* Clean look for light mode */
}

.highlight-text {
    color: var(--cp-cyan);
    position: relative;
    display: inline-block;
    padding: 0 10px;
    /* Stylish underline marker */
    background: linear-gradient(120deg, transparent 60%, rgba(86, 186, 231, 0.2) 60%);
    background-size: 100% 40%;
    background-repeat: no-repeat;
    background-position: bottom;
}

/* THE BENTO GRID */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* Base Card Styling - Modern Clean Canvas (Light Mode) */
.bento-card {
    background: #ffffff;
    /* Clean White */
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft daylight shadow */
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* Common Typography Updates for Light Bg */
.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0a0a20;
    /* Dark heading */
    position: relative;
    z-index: 2;
}

.bento-card p,
.bento-card li {
    font-family: var(--font-body);
    font-size: 1rem;
    color: #4a4a5a;
    /* Readable dark grey */
    line-height: 1.7;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}

.icon-box {
    margin-bottom: 25px;
    font-size: 2rem;
    position: relative;
    z-index: 2;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.4s ease;
}

/* --- INDEPENDENT COLOR THEMES --- */

/* 1. MISION - Cyan (#56BAE7) */
.mission-card {
    border: 1px solid rgba(86, 186, 231, 0.2);
    grid-column: span 1;
    background: linear-gradient(145deg, #ffffff, #f0fbff);
}

.mission-card .icon-box {
    background: rgba(86, 186, 231, 0.1);
    color: var(--cp-cyan);
    box-shadow: 0 0 0 5px rgba(86, 186, 231, 0.05);
}

.mission-card:hover {
    background: linear-gradient(135deg, var(--cp-cyan), #0F1E5C);
    border-color: transparent;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(86, 186, 231, 0.3);
}

.mission-card:hover .icon-box {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.mission-card:hover p {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mission-card h3 {
    color: var(--cp-cyan);
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.mission-card:hover h3 {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}


/* 2. VISION - Magenta (#C43ABC) */
.vision-card {
    border: 1px solid rgba(196, 58, 188, 0.2);
    grid-column: span 1;
    background: linear-gradient(145deg, #ffffff, #fff0fb);
}

.vision-card .icon-box {
    background: rgba(196, 58, 188, 0.1);
    color: var(--cp-magenta);
    box-shadow: 0 0 0 5px rgba(196, 58, 188, 0.05);
}

.vision-card:hover {
    background: linear-gradient(135deg, var(--cp-magenta), #4a0e46);
    border-color: transparent;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(196, 58, 188, 0.3);
}

.vision-card:hover .icon-box {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.vision-card:hover p {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.vision-card h3 {
    color: var(--cp-magenta);
    font-size: 1.8rem;
    letter-spacing: -0.5px;
}

.vision-card:hover h3 {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}


/* 3. VALUES - Gold (#CABA3D) */
.values-card {
    border-top: 5px solid var(--cp-gold);
    grid-column: span 1;
    grid-row: span 2;
}

.values-card .icon-box i {
    color: var(--cp-gold);
}

.values-card:hover {
    background: #fffdf5;
    /* Very subtle warm tint */
    border-color: var(--cp-gold);
}

.values-card h3 {
    color: #b8a218;
    /* Darker gold for text */
}

.values-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.03);
    /* Light grey for items */
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #4a4a5a;
}

.values-list li i {
    color: var(--cp-gold);
    font-size: 0.9em;
}

.values-list li:hover {
    background: var(--cp-gold);
    color: #000;
}

.values-list li:hover i {
    color: #000;
}


/* 4. QUALITY - Deep Navy (#0F1E5C) - Dark Card in Light Section */
.quality-card {
    background: var(--cp-navy);
    /* Keep Deep Solid Color */
    grid-column: span 2;
    border: none;
    box-shadow: 0 15px 40px rgba(15, 30, 92, 0.3);
}

.quality-card .icon-box i {
    color: var(--cp-pale);
}

.quality-card h3 {
    color: var(--cp-pale) !important;
}

.quality-card p {
    color: rgba(208, 234, 238, 0.8) !important;
}

.quality-card strong {
    color: #fff;
}

.quality-card:hover {
    background: #15256e;
    box-shadow: 0 20px 50px rgba(15, 30, 92, 0.5);
}

/* 5. COMMITMENT - Black (#000000) - Strong Anchor */
.commitment-card {
    background: var(--cp-black);
    grid-column: span 3;
    border: none;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.commitment-card .icon-box {
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.1);
}

.commitment-card .icon-box i {
    color: #fff;
    text-shadow: 0 0 10px #fff;
}

.commitment-card h3 {
    color: #fff !important;
    margin-bottom: 10px;
}

.commitment-card p {
    color: #aaa !important;
    margin: 0;
}

.commitment-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}


/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-card {
        grid-column: span 2;
        grid-row: auto;
    }

    .quality-card {
        grid-column: span 2;
    }

    .commitment-card {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card {
        grid-column: span 1 !important;
        padding: 30px;
    }

    .commitment-card {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

/* SMART TAGLINE - THE "EXTRAORDINARY" ELEMENT */
.smart-tagline-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.5s;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* The Tech Lines */
.line-decorator {
    height: 1px;
    flex: 1;
    background: linear-gradient(90deg, transparent, rgba(15, 30, 92, 0.2), transparent);
    position: relative;
    overflow: visible;
}

.line-decorator::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--cp-cyan);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px var(--cp-cyan);
}

.line-decorator.left::after {
    right: 0;
}

.line-decorator.right::after {
    left: 0;
}

/* The Badge Itself */
.smart-badge {
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 40px;
    border-radius: 50px;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(86, 186, 231, 0.15);
    /* Tech border */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* Shimmer Effect */
.smart-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
    transform: skewX(-20deg);
    animation: shimmerBadge 4s infinite;
}

@keyframes shimmerBadge {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.smart-badge:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(86, 186, 231, 0.25);
    border-color: rgba(86, 186, 231, 0.5);
}

/* Icon */
.badge-icon {
    font-size: 1.3rem;
    color: var(--cp-gold);
    /* Electric gold/yellow for energy */
    filter: drop-shadow(0 0 5px rgba(202, 186, 61, 0.5));
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Text */
.badge-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #4a4a5a;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.badge-text strong {
    font-weight: 800;
    color: var(--cp-navy);
    position: relative;
    display: inline-block;
}

/* Mobile adjust */
@media (max-width: 768px) {
    .smart-tagline-wrapper {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 40px;
    }

    .line-decorator {
        display: none;
    }

    .smart-badge {
        width: 90%;
        justify-content: center;
        padding: 12px 20px;
    }

    .badge-text {
        font-size: 0.9rem;
    }
}