/* General styles */
#social_cards.social_cards {
    background-size: 100%;
    padding: 150px 0;
}
#social_cards.social_cards_black{
    background: #29232a url('/wp-content/themes/modular-performance-theme-main/assets/images/block-social-cards/section-social-bg.jpg') top center no-repeat;
}
#social_cards.social_cards_white{
    background: #f5f5f5 url('/wp-content/themes/modular-performance-theme-main/assets/images/block-social-cards/section-social-bg-white.png') top center no-repeat;
}
#social_cards .text-center { text-align: center; }
#social_cards .text-white { color: white; }
#social_cards .custom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
#social_cards .flex { display: flex; }
#social_cards .flex-wrap { flex-wrap: wrap; }
#social_cards .justify-center { justify-content: center; }
#social_cards .gap-12 { gap: 20px; }

/* Header styles */
#social_cards .header-section{
    background: transparent !important;
}
#social_cards .header-section h2 {
    font-size: 48px;
    line-height: 1;
    font-weight: 800;
    margin-bottom: 24px;
}
#social_cards .header-section p {
    font-size: 18px;
    margin: 0 auto 48px;
    max-width: 768px;
}

/* Card styles */
#social_cards .custom-card {
    width: 320px;
    height: 200px;
    background-color: #29232a;
    position: relative;
    border: 2px solid #FFFFFF;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}
#social_cards .custom-card:hover { transform: scale(1.05); }
#social_cards .card-image {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
}
#social_cards .card-image-overlay {
    background: url('/wp-content/themes/modular-performance-theme-main/assets/images/block-social-cards/social-card-overlay.png') bottom center no-repeat;
    background-size: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#social_cards .card-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 16px;
    border-radius: 9999px;
    width: fit-content;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    font-weight: 600;
    position: absolute;
    bottom: 1.5rem;
    left: 0;
	right:0;
	margin:auto;
    text-decoration: none;
}

/* CTA Section */
#social_cards .cta-section {
    padding: 64px 16px;
    color: white;
    text-align: center;
    margin-top: 40px;
}
#social_cards.social_cards_white .cta-section{
    color: rgba(41, 35, 42, 1);
}
#social_cards .cta-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}
#social_cards .cta-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2em;
    margin-bottom: 16px;
}
#social_cards .cta-description {
    max-width: 700px;
    margin: 0 auto 32px;
    font-size: 18px;
    line-height: 28px;
}
#social_cards .cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
}
#social_cards .cta-separator {
    color: white;
    font-size: 18px;
    font-weight: 700;
}
#social_cards.social_cards_white .cta-separator{
    color: rgba(41, 35, 42, 1);
}
#social_cards .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
#social_cards .call-button {
    background-color: var(--main_colour);
    color: white;
    border: 2px solid transparent;
}
#social_cards .call-button:hover {
    background-color: #F97316;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
#social_cards .book-button {
    background-color: transparent;
    color: white;
    border: none;
    box-shadow: none;
}
#social_cards.social_cards_white .book-button{
    color: rgba(41, 35, 42, 1);
}
#social_cards .book-button:hover {
    color: #FB923C;
    border-color: #FB923C;
    transform: translateY(-2px);
    box-shadow: none;
}

/* Button styles */
#social_cards .bg-blue-600 { background-color: #0865FE; }
#social_cards .bg-blue-600:hover { background-color: #1E40AF; }
#social_cards .bg-gradient-purple-pink { background: linear-gradient(90deg, #F97D4B 0%, #F01F46 49.5%, #993297 100%);
}
#social_cards .bg-red-600 { background-color: #F00; }
#social_cards .bg-red-600:hover { background-color: #B91C1C; }
#social_cards .bg-blue-700 { background-color: #0072B1; }
#social_cards .bg-blue-700:hover { background-color: #1D4ED8; }
#social_cards .bg-teal-500 { background: linear-gradient(90deg, #01F2EB 0%, #FE0050 100%); }
#social_cards .bg-teal-500:hover { background-color: #0D9488; }

/* Map Container */
#social_cards .map-container iframe {
    width: 100%;
    max-width: 100%;
    height: 550px;
    margin: 0 auto;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
#social_cards .cta-highlight {
    color: var(--main_colour);
}
/* Responsive Styles */
@media (max-width: 1024px) {
    #social_cards .header-section h2 { font-size: 48px; }
    #social_cards .header-section p { font-size: 18px; }
    #social_cards .cta-description { font-size: 18px; }
    #social_cards.social_cards_black {
        background: #29232a url('/wp-content/uploads/static/background_socials.png') top center no-repeat;
        background-size: contain;
    }
    #social_cards.social_cards_white {
        background: #fff url('/wp-content/uploads/static/section-social-bg-white_mobile.png') top center no-repeat;
        background-size: contain;
    }
	#social_cards .map_section{
		margin-bottom: -8rem;
	}
}
@media (max-width: 768px) {
    #social_cards .custom-card { width: 280px;}
    #social_cards .gap-12 { gap: 16px; }
    #social_cards .cta-buttons { flex-direction: column; gap: 16px;font-size: 1.3rem; }
	#social_cards.social_cards{padding: 80px 0;}
	#social_cards .card-button{bottom: 2rem;} 
}
@media (max-width: 480px) {
    #social_cards .custom-card { width: 100%;}
    #social_cards .cta-description { font-size: 16px; }
    #social_cards .map-container iframe { width: 100%; max-width: 100%; height: 250px; }
}