:root {
        --bridge-blue: #2563eb;
        --bridge-blue-dark: #1e40af;
        --bridge-cyan: #06b6d4;
        --bridge-teal: #14b8a6;
        --bridge-purple: #8b5cf6;
        --primary: #1a5490;
        --secondary: #2980b9;
    }

    /* Bridge Designs Section Background */
    #typical-bridge-designs {
        background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
        position: relative;
        overflow: hidden;
    }

    #typical-bridge-designs::before {
        content: '';
        position: absolute;
        width: 700px;
        height: 700px;
        background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent);
        border-radius: 50%;
        top: -350px;
        left: 50%;
        transform: translateX(-50%);
        animation: float-bridge 25s ease-in-out infinite;
    }

    #typical-bridge-designs::after {
        content: '';
        position: absolute;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(6, 182, 212, 0.08), transparent);
        border-radius: 50%;
        bottom: -250px;
        right: -250px;
        animation: float-bridge 20s ease-in-out infinite reverse;
    }

    @keyframes float-bridge {
        0%, 100% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-50%) translateY(-50px); }
    }

    /* Section Title */
    .bridge-title {
        background: linear-gradient(135deg, var(--bridge-blue) 0%, var(--bridge-cyan) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: shine-bridge 3s ease-in-out infinite;
    }

    @keyframes shine-bridge {
        0%, 100% { filter: brightness(1); }
        50% { filter: brightness(1.3); }
    }

    /* Title Underline */
    .bridge-underline {
        width: 140px;
        height: 4px;
        background: linear-gradient(90deg, var(--bridge-blue), var(--bridge-cyan), var(--bridge-teal));
        position: relative;
        overflow: hidden;
    }

    .bridge-underline::before {
        content: '';
        position: absolute;
        width: 50%;
        height: 100%;
        background: rgba(255, 255, 255, 0.7);
        animation: slide-bridge 2.5s ease-in-out infinite;
    }

    @keyframes slide-bridge {
        0% { left: -50%; }
        100% { left: 150%; }
    }

    /* Bridge Cards */
    .bridge-card {
        background: white;
        transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
        border: none;
    }

    .bridge-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
        transition: left 0.7s;
    }

    .bridge-card:hover::before {
        left: 100%;
    }

    .bridge-card:hover {
        transform: translateY(-20px) scale(1.03);
        box-shadow: 0 30px 70px rgba(37, 99, 235, 0.25) !important;
    }

    /* Span Badge */
    .span-badge {
        position: absolute;
        top: 20px;
        right: 20px;
        padding: 12px 30px;
        font-size: 1.3rem;
        font-weight: 800;
        border-radius: 50px;
        z-index: 10;
        animation: pulse-badge 2.5s ease-in-out infinite;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

    .badge-100m {
        background: linear-gradient(135deg, var(--bridge-blue), var(--bridge-blue-dark));
        color: white;
    }

    .badge-60m {
        background: linear-gradient(135deg, var(--bridge-cyan), var(--bridge-teal));
        color: white;
    }

    @keyframes pulse-badge {
        0%, 100% { transform: scale(1); }
        50% { transform: scale(1.08); }
    }

    /* Bridge Icon Container */
    .bridge-icon-container {
        width: 100px;
        height: 100px;
        background: linear-gradient(135deg, var(--bridge-blue), var(--bridge-cyan));
        margin: 0 auto 25px;
        animation: rotate-bridge-icon 8s linear infinite;
        position: relative;
    }

    .bridge-icon-container::after {
        content: '';
        position: absolute;
        width: 110%;
        height: 110%;
        border: 3px solid var(--bridge-cyan);
        border-radius: 50%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        animation: ping-circle 2s ease-in-out infinite;
    }

    @keyframes rotate-bridge-icon {
        0%, 100% { transform: rotate(0deg); }
        50% { transform: rotate(5deg); }
    }

    @keyframes ping-circle {
        0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
        100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); }
    }

    .bridge-icon-container i {
        animation: float-icon 3s ease-in-out infinite;
    }

    @keyframes float-icon {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }

    /* Technical Specs */
    .tech-specs {
        background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
        border-left: 5px solid var(--bridge-blue);
        position: relative;
    }

    .tech-specs::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(to bottom, var(--bridge-blue), var(--bridge-cyan));
        animation: glow-spec 2s ease-in-out infinite;
    }

    @keyframes glow-spec {
        0%, 100% { box-shadow: 0 0 15px var(--bridge-blue); }
        50% { box-shadow: 0 0 30px var(--bridge-cyan); }
    }

    .spec-item {
        transition: all 0.3s ease;
        padding: 8px 15px;
        border-radius: 8px;
    }

    .spec-item:hover {
        background: rgba(37, 99, 235, 0.08);
        transform: translateX(10px);
    }

    /* Action Buttons */
    .bridge-action-btn {
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        font-weight: 600;
    }

    .bridge-action-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
        z-index: 0;
    }

    .bridge-action-btn:hover::before {
        width: 400px;
        height: 400px;
    }

    .bridge-action-btn:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    }

    .bridge-action-btn i {
        transition: all 0.3s ease;
        position: relative;
        z-index: 1;
    }

    .bridge-action-btn:hover i {
        transform: scale(1.2);
    }

    .bridge-action-btn span {
        position: relative;
        z-index: 1;
    }

    /* Drawing Button */
    .drawing-btn {
        background: linear-gradient(135deg, var(--bridge-purple), #7c3aed);
        border: none;
    }

    .drawing-btn:hover {
        background: linear-gradient(135deg, #7c3aed, var(--bridge-purple));
    }

    /* Details Button */
    .details-btn {
        background: linear-gradient(135deg, var(--bridge-cyan), var(--bridge-teal));
        border: none;
    }

    .details-btn:hover {
        background: linear-gradient(135deg, var(--bridge-teal), var(--bridge-cyan));
    }

    /* Number Decoration */
    .bridge-number {
        position: absolute;
        top: -30px;
        left: -30px;
        width: 100px;
        height: 100px;
        background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.1));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        font-weight: 900;
        color: rgba(37, 99, 235, 0.15);
        z-index: 1;
    }

    /* Card Glow Effect */
    .bridge-card::after {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(45deg, var(--bridge-blue), var(--bridge-cyan), var(--bridge-teal), var(--bridge-purple));
        border-radius: inherit;
        opacity: 0;
        z-index: -1;
        transition: opacity 0.5s;
        filter: blur(20px);
    }

    .bridge-card:hover::after {
        opacity: 0.7;
    }

    /* Icon Animations */
    .icon-blueprint {
        animation: bounce-blueprint 4s ease-in-out infinite;
    }

    @keyframes bounce-blueprint {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        25% { transform: translateY(-10px) rotate(-5deg); }
        75% { transform: translateY(-10px) rotate(5deg); }
    }

    /* Responsive */
    @media (max-width: 768px) {
        .span-badge {
            font-size: 1rem;
            padding: 8px 20px;
            top: 15px;
            right: 15px;
        }

        .bridge-icon-container {
            width: 80px;
            height: 80px;
        }

        .bridge-number {
            width: 70px;
            height: 70px;
            font-size: 2rem;
            top: -20px;
            left: -20px;
        }
    }

    /* Smooth Scroll */
    html {
        scroll-behavior: smooth;
    }