:root {
    --primary-color: #0096e8;
    --primary-dark: #0077b3;
    --primary-rgb: 0, 150, 232;
    --text-dark: #1c1c1d;
    --text-light: #4a4a4a;
    --text-muted: #6c757d;
    --border-color: #eaeaea;
    --background-light: #ffffff;
    --background-off: #f8f9fa;
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --border-radius: 20px;
    --border-radius-sm: 12px;
}
.bread-inner h2 {
    color: white;
    font-weight: 700;
}

.bread-list li a {
    color: rgba(255, 255, 255, 0.9);
}

.bread-list li.active a {
    color: white;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 30px;
    background: linear-gradient(
        to bottom,
        var(--background-light),
        var(--background-off)
    );
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    background: rgba(var(--primary-rgb), 0.1);
    padding: 5px 15px;
    border-radius: 30px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-content .highlight::after {
    content: "";
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(var(--primary-rgb), 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Values Showcase - Flip Cards */
.values-showcase {
    padding: 50px 0 70px;
    background: var(--background-light);
}

.value-card {
    perspective: 1500px;
    height: 350px;
    margin-bottom: 30px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.value-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--border-radius);
    padding: 35px 25px;
    background: var(--background-light);
    border: 1px solid var(--border-color);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--border-color);
}

.card-front::-webkit-scrollbar,
.card-back::-webkit-scrollbar {
    width: 5px;
}

.card-front::-webkit-scrollbar-track,
.card-back::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 10px;
}

.card-front::-webkit-scrollbar-thumb,
.card-back::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.card-back {
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--primary-dark)
    );
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: none;
}

.value-symbol {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.value-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 32px;
    transition: var(--transition);
}

.value-card:hover .value-icon-circle {
    background: rgba(var(--primary-rgb), 0.2);
    transform: scale(1.05) rotate(5deg);
}

.card-front h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.underline {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.5;
    transition: width 0.3s ease;
}

.value-card:hover .underline {
    width: 70px;
    opacity: 0.8;
}

.preview {
    color: var(--text-muted);
    font-style: italic;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.card-back p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
    opacity: 0.95;
}

.back-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.back-details span {
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    backdrop-filter: blur(5px);
    transition: var(--transition);
}

.back-details span:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Mission Banner */
.mission-banner {
    padding: 80px 0;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--primary-dark)
    );
    color: white;
    position: relative;
    overflow: hidden;
}

.mission-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(
            circle at 20% 50%,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%
        ),
        repeating-linear-gradient(
            45deg,
            rgba(255, 255, 255, 0.05) 0px,
            rgba(255, 255, 255, 0.05) 2px,
            transparent 2px,
            transparent 10px
        );
}

.mission-content {
    position: relative;
    text-align: center;
    padding: 0 40px;
    z-index: 1;
}

.quote-mark {
    font-size: 120px;
    position: absolute;
    top: -60px;
    left: 0;
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.mission-content p {
    font-size: 24px;
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.mission-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.mission-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.8;
    font-weight: 400;
}

.company {
    font-size: 16px;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.company::before {
    content: "•";
    position: absolute;
    left: 0;
    opacity: 0.6;
}

/* Animation Keyframes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

.value-card {
    animation: float 6s ease-in-out infinite;
    animation-delay: calc(var(--card-index, 0) * 0.2s);
}

/* Responsive Design */
@media (max-width: 991px) {
    .value-card {
        height: 330px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0 20px;
    }

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

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

    .value-card {
        height: 320px;
        animation: none;
    }

    .value-icon-circle {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .card-front h3 {
        font-size: 22px;
    }

    .mission-banner {
        padding: 60px 0;
    }

    .mission-content p {
        font-size: 20px;
    }

    .mission-footer {
        flex-direction: column;
        gap: 15px;
    }

    .company::before {
        display: none;
    }
}

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

    .section-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .value-card {
        height: 300px;
    }

    .card-front,
    .card-back {
        padding: 25px 20px;
    }

    .back-details span {
        font-size: 11px;
        padding: 4px 12px;
    }

    .mission-content {
        padding: 0 20px;
    }

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

    .quote-mark {
        font-size: 80px;
        top: -40px;
    }
}

/* Animation for hover effects on non-touch devices */
@media (hover: hover) {
    .value-card:hover .card-front {
        box-shadow: var(--shadow-lg);
    }
}

/* Ensure cards work on touch devices */
@media (hover: none) {
    .value-card .card-inner {
        transform: none;
    }

    .value-card.active .card-inner {
        transform: rotateY(180deg);
    }

    .value-card {
        animation: none;
    }
}

/* Print Styles */
@media print {
    .hero-section,
    .values-showcase,
    .mission-banner {
        padding: 20px 0;
        break-inside: avoid;
    }

    .value-card {
        break-inside: avoid;
        height: auto;
    }

    .card-inner {
        transform: none !important;
        box-shadow: none;
    }

    .card-back {
        display: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .value-card,
    .card-inner,
    .value-icon-circle,
    .underline,
    .back-details span {
        animation: none;
        transition: none;
    }
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    background: #0096e8 !important;
    color: white !important;
    border: none !important;
}

.nav-tabs > li > a:hover {
    background: rgba(44, 62, 80, 0.05) !important;
    color: #0096e8 !important;
    border: none !important;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(44, 62, 80, 0.1) !important;
}

.solution-card a:hover {
    background: #0096e8 !important;
    color: white !important;
}

@media (max-width: 768px) {
    .nav-tabs > li {
        width: 100%;
        margin: 2px 0 !important;
    }

    .nav-tabs > li > a {
        border-radius: 5px !important;
    }
}

select.form-control {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-main {
    padding-right: 15px;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
