/* CONTACT PAGE STYLES */

:root {
    --about-primary: #1e3a5f;
    --about-green: #4CAF50;
    --about-green-light: rgba(76, 175, 80, 0.1);
    --about-gradient: linear-gradient(135deg, #4CAF50, #022a2a);
    --about-bg-light: #f8fbfb;
    --about-white: #ffffff;
    --about-text-dark: #2c3e50;
    --about-text-muted: #6c757d;
}

.franchise-page-wrapper {
    background-color: var(--about-bg-light);
    color: var(--about-text-dark);
    font-family: 'Outfit', sans-serif;
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.franchise-hero {
    position: relative;
    padding: 160px 0 100px;
    background: radial-gradient(circle at 31% 49%, rgba(0, 168, 168, 0.1) 0%, rgb(61 203 114 / 12%) 28%, rgb(2 2 2 / 60%) 45%, rgba(0, 0, 0, 0.9) 100%), url('../images/becom-partner.jpeg') center / cover no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    margin: 10px;
}

.franchise-hero-content {
    position: relative;
    z-index: 2;
}

.franchise-hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
}

.franchise-hero-subtitle {
    font-size: 1.25rem;
    color: #fff;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.breadcrumb-pill a {
    color: var(--about-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-pill a:hover {
    color: var(--about-green);
}

.text-gradient-franchise {
    background: linear-gradient(135deg, #4CAF50, #009688);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.franchise-floating-icon {
    position: absolute;
    background: white;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    color: var(--caremed-bluish);
    font-size: 1.5rem;
    z-index: 3;
    animation: floatUpDown 4s linear-in-out infinite;
}

.cfi-1 {
    top: 20%;
    right: 15%;
    animation-delay: 0s;
    width: 50px;
    height: 50px;
    text-align: center;
}

.cfi-2 {
    bottom: 30%;
    left: 15%;
    animation-delay: 1.5s;
    width: 50px;
    height: 50px;
    text-align: center;
}

.cfi-3 {
    top: 50%;
    right: 5%;
    animation-delay: 0.7s;
    width: 50px;
    height: 50px;
    text-align: center;
}

@keyframes floatUpDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ==========================================================================
   2. CONTACT DETAILS & FORM
   ========================================================================== */
.section-padding {
    padding: 100px 0;
}

.contact-info-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 150, 136, 0.1) !important;
}

.contact-icon-wrapper {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--about-green), #009688);
    box-shadow: 0 10px 20px rgba(0, 150, 136, 0.2);
    transition: transform 0.3s ease;
}

.contact-info-card:hover .contact-icon-wrapper {
    transform: scale(1.1);
}

.form-wrapper {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.form-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 150, 136, 0.1) !important;
}

.form-control {
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 150, 136, 0.15) !important;
    border: 1px solid rgba(0, 150, 136, 0.5) !important;
    background-color: white !important;
}

.btn-submit {
    /* background: linear-gradient(135deg, #1e3a5f, #2a5298); */
    background: linear-gradient(135deg, var(--caremed-bluish), var(--caremed-green)) !important;
    border: none;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    box-shadow: 0 10px 20px rgba(30, 58, 95, 0.3);
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--caremed-bluish), var(--caremed-green)) !important;
}


.feature-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 150, 136, 0.1) !important;
}

/* FRANCHISE PAGE EXTRA STYLES */

.franchise-feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.franchise-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.icon-circle-large {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.franchise-model-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent !important;
}

.franchise-model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border-top-color: var(--about-green) !important;
}

.process-step-number {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.process-timeline>div:hover .process-step-number {
    background-color: var(--about-green) !important;
    color: white !important;
}

.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    padding: 12px 25px;
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.4) !important;
    transition: transform 0.3s ease;
}

.sticky-cta:hover {
    transform: translateY(-3px) scale(1.05);
}

@media (max-width: 768px) {
    .sticky-cta {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Vertical Timeline (CareMed Rings) */
.cm-timeline {
    position: relative;
    padding: 40px 0;
}

.cm-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, rgb(0 150 136 / 23%), var(--caremed-bluish), rgb(0 150 136 / 25%));
    transform: translateX(-50%);
}

.cm-timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    padding-right: 50px;
    text-align: right;
}

.cm-timeline-item:nth-child(even) {
    margin-left: auto;
    padding-right: 0;
    padding-left: 50px;
    text-align: left;
}

.cm-timeline-ring {
    position: absolute;
    top: 0;
    right: -25px;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 4px solid var(--caremed-bluish);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--caremed-bluish);
    box-shadow: 0 0 0 5px rgba(107, 203, 61, 0.1);
    z-index: 2;
}

.cm-timeline-item:nth-child(even) .cm-timeline-ring {
    right: auto;
    left: -25px;
}

@media (max-width: 768px) {
    .cm-timeline::before {
        left: 30px;
    }

    .cm-timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 0;
        text-align: left;
    }

    .cm-timeline-item:nth-child(even) {
        padding-left: 80px;
    }

    .cm-timeline-ring,
    .cm-timeline-item:nth-child(even) .cm-timeline-ring {
        left: 5px;
        right: auto;
    }
}