.fs-13 {
    font-size: 13px !important;
}
.fs-12 {
    font-size: 12px !important;
}

/* General styles for all flip cards */
.flip-card, .flip-card-large, .flip-card-360 {
    perspective: 1500px;
}

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

.flip-card:hover .flip-card-inner,
.flip-card-large:hover .flip-card-inner,
.flip-card-360:hover .flip-card-inner {
    transform: rotateX(-180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 0.50rem;
    overflow: hidden;
}

.flip-card-front img,
.flip-card-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flip-card-front .overlay,
.flip-card-back .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    padding: 1rem;
}

.flip-card-front .overlay h5,
.flip-card-back .overlay h5 {
    color: #fff;
    font-size: 1.3rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.7);
    transform: translateZ(30px);
    transition: transform 0.5s ease;
}

.flip-card:hover .flip-card-front .overlay h5,
.flip-card-large:hover .flip-card-front .overlay h5,
.flip-card-360:hover .flip-card-front .overlay h5 {
    transform: translate3d(0, 160px, 30px);
}

/* Initial position for back overlay title and button */
.flip-card-back .overlay h5,
.flip-card-back .overlay .btn-3d {
    transform: translateY(-100px) translateZ(30px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

/* When the card is flipped, bring them into place */
.flip-card:hover .flip-card-back .overlay h5,
.flip-card-large:hover .flip-card-back .overlay h5,
.flip-card-360:hover .flip-card-back .overlay h5,
.flip-card:hover .flip-card-back .overlay .btn-3d,
.flip-card-large:hover .flip-card-back .overlay .btn-3d,
.flip-card-360:hover .flip-card-back .overlay .btn-3d {
    transform: translateY(0) translateZ(30px);
    opacity: 1;
}

.flip-card-back {
    transform: rotateX(180deg);
}

/* Button Styles */
.btn-3d {
    border: 1px solid #fff;
    border-radius: 3px;
    background: transparent;
    color: #fff;
    padding: 0.5rem 1.2rem;
    font-weight: normal;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    transform: translateZ(30px);
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* More specific selector for button hover - this will override the card flip transform */
.flip-card:hover .flip-card-back .overlay .btn-3d:hover,
.flip-card-large:hover .flip-card-back .overlay .btn-3d:hover,
.flip-card-360:hover .flip-card-back .overlay .btn-3d:hover {
    background: transparent;
    color: #fff;
    transform: translateY(0) translateZ(60px) scale(1.1);
    box-shadow: 0 8px 15px rgba(255,255,255,0.3);
}

/* Card sizes */
.flip-card {
    width: 262px;
    height: 200px;
    margin-bottom: 30px;
}

.flip-card-large {
    width: 363px;
    height: 200px;
    margin-bottom: 30px;
}

.flip-card-360 {
    width: 360px;
    height: 240px;
    margin-bottom: 30px;
}

/* Other styles (existing) */
.bg-sponsors {
    background-color: #313230;
}

.custom-font-size {
    font-size: 30px;
}

.social-icon {
    font-size: 20px; /* Adjust as needed */
}

.modal-header {
    background-color: #4CAF50;
    color: white; /* Optional: Ensures text is readable against green */
}

.modal-content {
    border-radius: 10px;
}

.responsive-table {
    font-size: 14px;
}

/* Mobile-first approach */
@media (max-width: 767px) {
    .table-responsive {
        border: none;
    }

    .mobile-card {
        border: 1px solid #28a745;
        border-radius: 8px;
        margin-bottom: 20px;
        overflow: hidden;
    }

    .mobile-card-header {
        background-color: #28a745;
        color: white;
        padding: 15px;
        font-weight: bold;
        text-align: center;
        font-size: 16px;
    }

    .mobile-card-body {
        padding: 0;
    }

    .mobile-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        border-bottom: 1px solid #e9ecef;
    }

    .mobile-row:last-child {
        border-bottom: none;
    }

    .mobile-label {
        font-weight: 600;
        color: #495057;
        font-size: 12px;
    }

    .mobile-value {
        font-weight: 500;
        color: #212529;
    }

    .equipment-section {
        background-color: #f8f9fa;
        padding: 15px;
        margin-top: 10px;
    }

    .equipment-title {
        background-color: #28a745;
        color: white;
        padding: 10px;
        margin: -15px -15px 10px -15px;
        font-weight: bold;
        text-align: center;
    }

    .workshop-section {
        background-color: #f8f9fa;
        padding: 15px;
        margin-top: 10px;
    }

    .workshop-title {
        background-color: #28a745;
        color: white;
        padding: 10px;
        margin: -15px -15px 10px -15px;
        font-weight: bold;
        text-align: center;
    }

    .workshop-item {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid #dee2e6;
    }

    .workshop-item:last-child {
        border-bottom: none;
    }
}

/* Desktop view improvements */
@media (min-width: 768px) {
    .mobile-view {
        display: none;
    }

    .table th {
        background-color: #28a745 !important;
        color: white !important;
        font-size: 12px;
        padding: 12px 8px;
        vertical-align: middle;
    }

    .table td {
        padding: 12px 8px;
        vertical-align: middle;
        font-size: 13px;
    }

    .table-success td {
        background-color: #d4edda !important;
    }

    .bg-success {
        background-color: #28a745 !important;
    }
}

/* Hide desktop table on mobile */
@media (max-width: 767px) {
    .desktop-view {
        display: none;
    }
}
.contact-button{
    color: #fff;
    padding: 10px 25px;
    display: inline-block;
    font-size: 20px;
    outline: none;
    cursor: pointer;
    outline: none;
    border-width: 0;
    border-style: solid;
    border-color: transparent;
    line-height: 1.42857;
    background-color: #26aa5d;
}

.contact-button:hover{
    background-color: #3c763d;
}