/* Franchise Page Styles */

:root {
    --primary-color: #0056b3;
    --secondary-color: #ff6b35;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-muted: #6c757d;
    --white: #ffffff;
    --border-color: #e9ecef;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
}


/* Base Styles */

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 12px 30px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #004494;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.2);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #e05a24;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.2);
}

.btn-light {
    background: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
}

.required {
    color: #dc3545;
    font-weight: 700;
}


/* Hero Section */

.franchise-hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/franchise/hero-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 180px 0 120px;
    text-align: center;
    overflow: hidden;
}

.franchise-hero .container {
    position: relative;
    z-index: 2;
}

.franchise-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease;
}

.franchise-hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.3s both;
}

.franchise-hero .btn {
    animation: fadeInUp 1s ease 0.6s both;
}


/* Why Partner Section */

.section-why-partner {
    background-color: var(--light-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    transition: var(--transition);
}

.benefit-card:hover .benefit-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: rotateY(180deg);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.benefit-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 0;
}


/* Process Section */

.section-process {
    background: var(--white);
    padding: 80px 0;
}

.process-steps {
    position: relative;
    padding-top: 40px;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.process-steps:before {
    content: '';
    position: absolute;
    top: 120px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    z-index: 1;
    opacity: 0.2;
}

.process-step {
    position: relative;
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 2;
    width: calc(33.333% - 20px);
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border: 5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
}

.step-number .number {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.step-number i {
    font-size: 24px;
}

.process-step:hover .step-number {
    transform: rotateY(180deg);
}

.step-content {
    flex: 1;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.step-features span {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(0, 86, 179, 0.05);
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.step-features i {
    color: var(--secondary-color);
    font-size: 0.8rem;
}


/* Process Section Responsive */

@media (max-width: 1199px) {
    .process-step {
        width: calc(50% - 20px);
    }
}

@media (max-width: 767px) {
    .process-step {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    .process-steps:before {
        display: none;
    }
    .step-number {
        width: 80px;
        height: 80px;
    }
    .step-number .number {
        font-size: 20px;
    }
    .step-number i {
        font-size: 20px;
    }
}


/* Investment Section */

.section-investment {
    background-color: var(--light-color);
}

.investment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.investment-content h2,
.investment-content .section-subtitle {
    text-align: left;
    margin-left: 0;
}

.investment-content h2:after {
    left: 0;
    transform: none;
}

.investment-details h3 {
    font-size: 1.5rem;
    margin: 30px 0 20px;
    color: var(--dark-color);
}

.support-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.support-features li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.6;
}

.support-features li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.investment-cta {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.investment-cta p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.investment-cta p strong {
    color: var(--primary-color);
}

.investment-visual {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.visual-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    height: 100%;
}

.visual-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.visual-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.visual-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: var(--transition);
}

.visual-item h4 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--dark-color);
}


/* Form Section */

.section-form {
    background: var(--white);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.form-header h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.form-header p {
    margin: 0;
    opacity: 0.9;
}

.franchise-form {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
    background-color: var(--white);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-submit {
    margin-top: 30px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* Testimonials Section */

.section-testimonials {
    background-color: var(--light-color);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    padding: 30px;
}

.testimonial-text {
    position: relative;
    padding: 20px 0;
    margin-bottom: 20px;
}

.testimonial-text:before {
    content: '\201C';
    position: absolute;
    top: 0;
    left: 0;
    font-size: 4rem;
    color: rgba(0, 86, 179, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text p {
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid var(--primary-color);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0 0 5px;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.author-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}


/* CTA Section */

.section-cta {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/franchise/cta-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* Footer */

.footer {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-logo p {
    margin: 15px 0 0;
    line-height: 1.8;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after,
.footer-contact h4:after,
.footer-social h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}


/* Back to Top Button */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-5px);
}


/* Animations */

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive Styles */

@media (max-width: 1199px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .investment-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .investment-visual {
        min-height: 400px;
    }
    .section-header h2 {
        font-size: 2.2rem;
    }
    .franchise-hero h1 {
        font-size: 3rem;
    }
    .franchise-hero .subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 60px 0;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .process-steps:before {
        display: none;
    }
    .process-step {
        margin-bottom: 40px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .franchise-form {
        padding: 30px;
    }
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    .cta-content h2 {
        font-size: 2.2rem;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .cta-buttons .btn {
        width: 100%;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-logo,
    .footer-links,
    .footer-contact,
    .footer-social {
        margin-bottom: 30px;
    }
}

@media (max-width: 575px) {
    .franchise-hero {
        padding: 120px 0 80px;
    }
    .franchise-hero h1 {
        font-size: 2.2rem;
    }
    .franchise-hero .subtitle {
        font-size: 1.1rem;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .benefit-card {
        padding: 30px 20px;
    }
    .testimonial-content {
        padding: 20px;
    }
    .cta-content h2 {
        font-size: 1.8rem;
    }
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }
}


/* Print Styles */

@media print {
    .back-to-top,
    .btn {
        display: none !important;
    }
    .section {
        padding: 40px 0 !important;
    }
    .franchise-hero {
        padding: 60px 0 !important;
        background: #f8f9fa !important;
        color: #333 !important;
    }
    .franchise-hero h1 {
        color: #333 !important;
        text-shadow: none !important;
    }
    .benefit-card,
    .testimonial,
    .form-container {
        box-shadow: none !important;
        border: 1px solid #eee;
    }
    .footer {
        background: #f8f9fa !important;
        color: #333 !important;
        padding: 40px 0 !important;
    }
    .footer h4,
    .footer a,
    .footer p {
        color: #333 !important;
    }
    .social-links {
        display: none;
    }
}