/* OneClick Vakil Franchise Module CSS */

/* Import Noto Sans Gujarati font to match reference */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Gujarati:wght@300;400;500;600;700&display=swap');

/* Purple gradient theme consistent with other ovakil modules - Updated to match reference */
:root {
    --primary-purple: hsl(250, 60%, 60%); /* Softer Purple from reference */
    --secondary-purple: hsl(250, 65%, 75%); /* Lighter purple variant */
    --accent-purple: hsl(250, 70%, 65%); /* Ring color from reference */
    --light-purple: hsl(240, 10%, 96%); /* Muted background */
    --gradient-purple: linear-gradient(135deg, hsl(250, 60%, 60%) 0%, hsl(250, 65%, 75%) 100%);
    --gradient-accent: linear-gradient(135deg, hsl(250, 70%, 65%) 0%, hsl(250, 60%, 60%) 100%);
    --text-dark: hsl(224, 12%, 20%); /* Dark Slate Gray */
    --text-light: hsl(220, 10%, 45%); /* Muted foreground */
    --border-light: hsl(240, 10%, 90%); /* Border color */
    --background-soft: hsl(240, 10%, 99%); /* Softer white */
    --success-green: #10B981;
    --warning-orange: #F59E0B;
    --error-red: #EF4444;

    /* Animated gradient colors - Updated to match reference palette */
    --gradient-bg-start: hsl(250, 60%, 60%);
    --gradient-bg-end: hsl(250, 65%, 75%);
    --first-color: 153, 102, 255; /* hsl(250, 60%, 60%) in RGB */
    --second-color: 178, 153, 255; /* hsl(250, 65%, 75%) in RGB */
    --third-color: 165, 127, 255; /* hsl(250, 70%, 65%) in RGB */
    --fourth-color: 191, 165, 255; /* hsl(240, 60%, 70%) in RGB */
    --fifth-color: 159, 127, 255; /* hsl(260, 60%, 65%) in RGB */
    --pointer-color: 172, 140, 255; /* hsl(245, 65%, 70%) in RGB */
    --size: 80%;
    --blending-value: hard-light;
}

/* Base font family and styling to match reference */
.franchise-page,
.franchise-page * {
    font-family: 'Noto Sans Gujarati', sans-serif !important;
}

/* Ensure proper text colors and backgrounds */
.franchise-page {
    background-color: var(--background-soft);
    color: var(--text-dark);
}

.franchise-page .text-gray-600 {
    color: var(--text-light) !important;
}

.franchise-page .text-purple-600 {
    color: var(--primary-purple) !important;
}

.franchise-page .bg-purple-100 {
    background-color: hsl(250, 60%, 95%) !important;
}

.franchise-page .bg-white {
    background-color: var(--background-soft) !important;
}

/* Global font family for all franchise elements */
.franchise-hero-title,
.franchise-hero-subtitle,
.gradient-text,
.card-title,
.card-text,
.lead,
.btn,
h1, h2, h3, h4, h5, h6,
p, span, div {
    font-family: 'Noto Sans Gujarati', sans-serif !important;
}

/* Fix text colors globally */
.text-muted {
    color: var(--text-light) !important;
}

.text-primary {
    color: var(--primary-purple) !important;
}

/* Fix background colors */
.bg-light {
    background-color: var(--background-soft) !important;
}

/* Animated Background Gradient */
.franchise-hero-section {
    min-height: 100vh;
    background: linear-gradient(40deg, var(--gradient-bg-start), var(--gradient-bg-end));
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.franchise-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(40px);
    z-index: 1;
}

.franchise-animated-bg::before,
.franchise-animated-bg::after,
.franchise-animated-bg .gradient-1,
.franchise-animated-bg .gradient-2,
.franchise-animated-bg .gradient-3,
.franchise-animated-bg .gradient-4,
.franchise-animated-bg .gradient-5 {
    content: '';
    position: absolute;
    width: var(--size);
    height: var(--size);
    mix-blend-mode: var(--blending-value);
    border-radius: 50%;
    top: calc(50% - var(--size) / 2);
    left: calc(50% - var(--size) / 2);
}

.franchise-animated-bg::before {
    background: radial-gradient(circle at center, rgba(var(--first-color), 1) 0%, rgba(var(--first-color), 0) 50%);
    animation: moveVertical 30s ease infinite;
    opacity: 1;
}

.franchise-animated-bg::after {
    background: radial-gradient(circle at center, rgba(var(--second-color), 0.8) 0%, rgba(var(--second-color), 0) 50%);
    animation: moveInCircle 20s reverse infinite;
    transform-origin: calc(50% - 400px);
    opacity: 1;
}

/* Additional gradient elements */
.franchise-animated-bg {
    background-image:
        radial-gradient(circle at 20% 80%, rgba(var(--third-color), 0.8) 0%, rgba(var(--third-color), 0) 50%),
        radial-gradient(circle at 80% 20%, rgba(var(--fourth-color), 0.8) 0%, rgba(var(--fourth-color), 0) 50%),
        radial-gradient(circle at 40% 40%, rgba(var(--fifth-color), 0.8) 0%, rgba(var(--fifth-color), 0) 50%);
    background-size: var(--size) var(--size);
    background-position:
        calc(50% + 400px) calc(50% - var(--size) / 2),
        calc(50% - 200px) calc(50% - var(--size) / 2),
        calc(50% - 800px) calc(50% + 800px);
    animation:
        moveInCircle 40s linear infinite,
        moveHorizontal 40s ease infinite,
        moveInCircle 20s ease infinite;
}

/* Keyframe animations */
@keyframes moveHorizontal {
    0% { transform: translateX(-50%) translateY(-10%); }
    50% { transform: translateX(50%) translateY(10%); }
    100% { transform: translateX(-50%) translateY(-10%); }
}

@keyframes moveInCircle {
    0% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

@keyframes moveVertical {
    0% { transform: translateY(-50%); }
    50% { transform: translateY(50%); }
    100% { transform: translateY(-50%); }
}

/* Hero Content Styling */
.franchise-hero-title {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.franchise-hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.franchise-cta-btn {
    background: white !important;
    color: var(--primary-purple) !important;
    border: none;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.franchise-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--primary-purple) !important;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Feature Cards */
.franchise-feature-card {
    transition: all 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
    background-color: var(--background-soft) !important;
    font-family: 'Noto Sans Gujarati', sans-serif !important;
}

.franchise-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(107, 70, 193, 0.15);
}

.franchise-feature-card .card-title {
    color: var(--text-dark) !important;
    font-family: 'Noto Sans Gujarati', sans-serif !important;
}

.franchise-feature-card .card-text {
    color: var(--text-light) !important;
    font-family: 'Noto Sans Gujarati', sans-serif !important;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-purple), var(--secondary-purple), var(--primary-purple));
    border-radius: 50%;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* CTA Section */
.franchise-cta-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--secondary-purple) 100%);
    position: relative;
    overflow: hidden;
}

.franchise-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.franchise-signup-btn {
    background: white !important;
    color: var(--primary-purple) !important;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.franchise-signup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: var(--primary-purple) !important;
}

/* New Service Cards - Matching Reference Design */
.franchise-service-card-new {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 4px solid var(--primary-purple) !important;
    overflow: hidden;
    background-color: var(--background-soft) !important;
    font-family: 'Noto Sans Gujarati', sans-serif !important;
}

.franchise-service-card-new:hover {
    box-shadow: 0 20px 40px rgba(107, 70, 193, 0.2) !important;
    transform: none; /* Prevent card movement on hover */
}

.franchise-service-card-new .card-title {
    color: var(--text-dark) !important;
    font-family: 'Noto Sans Gujarati', sans-serif !important;
}

.franchise-service-card-new .card-text {
    color: var(--text-light) !important;
    font-family: 'Noto Sans Gujarati', sans-serif !important;
}

.franchise-service-card-new .text-muted {
    color: var(--text-light) !important;
}

.service-icon-new {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-new i {
    font-size: 1.5rem;
}

/* Legacy Service Cards */
.franchise-service-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.franchise-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-purple);
}

.franchise-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(107, 70, 193, 0.2);
}

.service-card-header {
    padding: 2rem 2rem 1rem;
    flex-grow: 1;
}

.service-card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    position: relative;
}

.service-card-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-purple), var(--secondary-purple), var(--primary-purple));
    border-radius: 50%;
    z-index: -1;
    animation: rotate 3s linear infinite;
}

.service-card-title {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

.service-card-footer {
    padding: 1rem 2rem 2rem;
    background: rgba(107, 70, 193, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-card-category {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-purple);
}

.service-card-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-card-link:hover {
    color: var(--secondary-purple);
    transform: translateX(5px);
}

.service-card-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-card-link:hover i {
    transform: translateX(3px);
}

/* Center Cards */
.center-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.center-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.center-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(107, 70, 193, 0.15);
}

.center-card .card-header {
    background: var(--gradient-purple);
    color: white;
    padding: 1.5rem;
    position: relative;
}

.center-card .card-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.center-card .card-header .location {
    opacity: 0.9;
    margin-top: 0.5rem;
}

.center-card .card-body {
    padding: 1.5rem;
}

.center-card .contact-info {
    margin-bottom: 1rem;
}

.center-card .contact-info .item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.center-card .contact-info .item i {
    width: 20px;
    margin-right: 10px;
    color: var(--primary-purple);
}

.center-card .manager-info {
    background: var(--light-purple);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.center-card .manager-info h5 {
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Search and Filter */
.search-filter-section {
    background: #F9FAFB;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-light);
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.search-box input {
    width: 100%;
    padding: 12px 20px 12px 50px;
    border: 2px solid var(--border-light);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
    outline: none;
}

.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--border-light);
    background: white;
    color: var(--text-dark);
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

/* Appointment Form */
.appointment-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.appointment-form .form-group {
    margin-bottom: 1.5rem;
}

.appointment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
    outline: none;
}

.appointment-form .btn-submit {
    background: var(--gradient-purple);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.appointment-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(107, 70, 193, 0.3);
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.time-slot {
    padding: 10px;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.time-slot:hover {
    border-color: var(--primary-purple);
    background: var(--light-purple);
}

.time-slot.selected {
    background: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

.time-slot.disabled {
    background: #F3F4F6;
    color: #9CA3AF;
    cursor: not-allowed;
}

/* Accordion */
.accordion-item {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    background: #F9FAFB;
    padding: 1rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: var(--light-purple);
}

.accordion-header.active {
    background: var(--primary-purple);
    color: white;
}

.accordion-header h5 {
    margin: 0;
    font-weight: 600;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 1.5rem;
    display: none;
    background: white;
}

.accordion-content.active {
    display: block;
}

.accordion-content ul {
    list-style: none;
    padding: 0;
}

.accordion-content li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    padding-left: 1.5rem;
}

.accordion-content li:before {
    content: '•';
    color: var(--primary-purple);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.accordion-content li:last-child {
    border-bottom: none;
}

/* Status Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.draft {
    background: #E5E7EB;
    color: #374151;
}

.status-badge.submitted {
    background: #FEF3C7;
    color: #92400E;
}

.status-badge.in-progress {
    background: #DBEAFE;
    color: #1E40AF;
}

.status-badge.completed {
    background: #D1FAE5;
    color: #065F46;
}

.status-badge.cancelled {
    background: #FEE2E2;
    color: #991B1B;
}

/* Responsive Design */
@media (max-width: 768px) {
    .franchise-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-grid,
    .center-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }
    
    .filter-btn {
        white-space: nowrap;
    }
    
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 3px solid var(--border-light);
    border-top: 3px solid var(--primary-purple);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Additional Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Franchise Centers Page Styles */
.franchise-centers-hero {
    background: var(--gradient-purple);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.franchise-centers-hero h1,
.franchise-centers-hero p {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.franchise-centers-hero h1 {
    font-weight: 700;
}

.franchise-centers-hero p {
    opacity: 0.95;
}

/* New Center Card Styles - Redesigned */
.franchise-center-card-new {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent !important;
    border-radius: 12px !important;
    overflow: hidden;
    background-color: var(--background-soft) !important;
    font-family: 'Noto Sans Gujarati', sans-serif !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.franchise-center-card-new:hover {
    border-color: var(--primary-purple) !important;
    box-shadow: 0 8px 25px rgba(107, 70, 193, 0.15) !important;
    /* No transform - position stays same */
}

.franchise-center-card-new .card-title {
    color: var(--text-dark) !important;
    font-family: 'Noto Sans Gujarati', sans-serif !important;
    font-weight: 600 !important;
}

.franchise-center-card-new .card-text,
.franchise-center-card-new .small {
    color: var(--text-light) !important;
    font-family: 'Noto Sans Gujarati', sans-serif !important;
}

.franchise-center-card-new .btn {
    font-family: 'Noto Sans Gujarati', sans-serif !important;
    background: var(--gradient-purple) !important;
    border: none !important;
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
}

.franchise-center-card-new .btn:hover {
    background: linear-gradient(135deg, var(--secondary-purple), var(--primary-purple)) !important;
    /* No transform - button stays in place */
}

/* Icon styling for franchise cards */
.franchise-center-card-new .fas,
.franchise-center-card-new .fa {
    color: var(--primary-purple) !important;
    font-size: 1.1rem !important;
}

.franchise-center-card-new .icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.center-card-image-new {
    height: 192px; /* h-48 equivalent */
    background: #E5E7EB; /* gray-200 equivalent */
    position: relative;
    overflow: hidden;
}

.center-card-image-new .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.center-card-placeholder-new {
    height: 100%;
    background: var(--gradient-purple);
}

.icon-wrapper {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-wrapper i {
    font-size: 1rem;
}

.card-footer-new {
    margin: 0 -1rem -1rem -1rem;
    border: none !important;
}

.card-footer-new .btn {
    background: linear-gradient(to right, #2563EB, #7C3AED) !important;
    border: none;
    transition: all 0.3s ease;
}

.card-footer-new .btn:hover {
    background: linear-gradient(to right, #1D4ED8, #6D28D9) !important;
    transform: none; /* Prevent button movement on hover */
}

/* Legacy center card styles for backward compatibility */
.franchise-center-card {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: relative;
}

.franchise-center-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-purple);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.franchise-center-card:hover::before {
    transform: scaleX(1);
}

.center-card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.center-card-placeholder {
    height: 100%;
    background: var(--gradient-purple);
}

.center-card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.center-card-title {
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 700;
}

.center-card-info {
    flex-grow: 1;
}

.center-card-btn {
    background: var(--gradient-purple) !important;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.center-card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.center-card-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

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

.center-card-btn:active {
    transform: translateY(-1px);
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
    .franchise-hero-title {
        font-size: 2.5rem;
    }

    .franchise-hero-subtitle {
        font-size: 1.2rem;
    }

    .franchise-hero-section,
    .franchise-centers-hero {
        min-height: 80vh;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }

    .service-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .service-card-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .service-card-footer {
        padding: 1rem 1.5rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .center-card-image {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .franchise-hero-title {
        font-size: 2rem;
    }

    .franchise-hero-subtitle {
        font-size: 1rem;
    }

    .franchise-cta-btn,
    .franchise-signup-btn {
        padding: 0.75rem 2rem !important;
        font-size: 0.9rem;
    }
}
