/* Apply for Franchise Specific Styles */

/* Fix for navbar overlap */
body {
    padding-top: 80px;
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fc;
    margin: 0;
    color: #1a1a2e;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.apply-header {
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 100%);
    color: white;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    margin-top: -80px;
}

.apply-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(119, 199, 181, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(244, 198, 50, 0.15) 0%, transparent 50%);
}

.apply-header .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.apply-header .header-content {
    flex: 1;
    max-width: 600px;
}

.apply-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.header-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.apply-header .header-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.apply-header .image-placeholder {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 8rem;
}

/* Main Content Section */
.main-content-section {
    padding: 80px 0;
    background: white;
    width: 100%;
}

.content-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.apply-process {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
}

/* Vertical line connecting steps */
.apply-process::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #77c7b5, #2b4e87);
    border-radius: 2px;
    z-index: 1;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(43, 78, 135, 0.3);
    position: relative;
}

.step-content {
    flex: 1;
    background: #f8f9fc;
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 4px solid #77c7b5;
    transition: transform 0.3s, box-shadow 0.3s;
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(43, 78, 135, 0.15);
}

.step-content h3 {
    font-size: 1.5rem;
    color: #1c749c;
    margin-bottom: 1rem;
    font-weight: 700;
}

.step-content p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* Email Box Styling */
.email-box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #e3f2fd;
    margin-top: 1rem;
    transition: all 0.3s;
}

.email-box:hover {
    border-color: #77c7b5;
    box-shadow: 0 5px 20px rgba(119, 199, 181, 0.1);
}

.email-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2b4e87 0%, #77c7b5 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.email-details p {
    font-size: 1.3rem;
    color: #2b4e87;
    margin: 0;
    font-weight: 600;
}

.highlight-text {
    background: linear-gradient(135deg, rgba(43, 78, 135, 0.1) 0%, rgba(119, 199, 181, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1rem;
    border-left: 4px solid #2b4e87;
    font-weight: 600;
    color: #2b4e87;
    font-size: 1.3rem;
}

/* Footer */
footer {
    background: #0d1321;
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h3 {
    color: #77c7b5;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-section p, 
.footer-section li a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a:hover {
    color: #77c7b5;
}

.footer-bottom {
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
    margin-top: 1rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 1rem;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-legal a:hover {
    color: #77c7b5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .apply-header h1 {
        font-size: 3rem;
    }
    
    .header-subtitle {
        font-size: 1.2rem;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
    }
    
    .step-content {
        padding: 2rem;
    }
    
    .step-content h3 {
        font-size: 1.4rem;
    }
    
    .step-content p {
        font-size: 1.1rem;
    }
    
    .email-details p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .apply-header {
        margin-top: -70px;
        padding: 50px 0 60px 0;
    }
    
    .apply-header .container {
        flex-direction: column;
        text-align: center;
        padding-top: 70px;
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .apply-header h1 {
        font-size: 2.5rem;
    }
    
    .header-subtitle {
        font-size: 1.2rem;
    }
    
    .apply-header .image-placeholder {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }
    
    .main-content-section {
        padding: 60px 0;
    }
    
    .apply-process::before {
        left: 35px;
    }
    
    .process-step {
        gap: 1.5rem;
    }
    
    .step-number {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .step-content {
        padding: 1.8rem;
    }
    
    .step-content h3 {
        font-size: 1.3rem;
    }
    
    .step-content p {
        font-size: 1.1rem;
    }
    
    .email-box {
        padding: 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .email-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .email-details p {
        font-size: 1.1rem;
    }
    
    .highlight-text {
        padding: 1.2rem;
        font-size: 1.1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 60px;
    }
    
    .apply-header {
        margin-top: -60px;
        padding: 40px 0 50px 0;
    }
    
    .apply-header .container {
        padding-top: 60px;
    }
    
    .apply-header h1 {
        font-size: 2rem;
    }
    
    .apply-header .image-placeholder {
        width: 180px;
        height: 180px;
        font-size: 4rem;
    }
    
    .main-content-section {
        padding: 50px 0;
    }
    
    .apply-process::before {
        left: 25px;
    }
    
    .process-step {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-left: 15px;
    }
    
    .step-content {
        width: 100%;
        padding: 1.5rem;
        margin-top: -30px;
        margin-left: 30px;
    }
    
    .step-content h3 {
        font-size: 1.2rem;
    }
    
    .step-content p {
        font-size: 1rem;
    }
    
    .email-box {
        padding: 1rem;
    }
    
    .email-icon {
        width: 45px;
        height: 45px;
        font-size: 1.8rem;
    }
    
    .email-details p {
        font-size: 1rem;
    }
    
    .highlight-text {
        padding: 1rem;
        font-size: 1rem;
    }
}


/* Apply Header Image Styles */
.header-image-wrapper {
    width: 380px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.header-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px;
    transition: transform 0.5s ease;
}

.header-img:hover {
    transform: scale(1.03);
}

/* Remove the old image-placeholder styles for apply header */
.apply-header .image-placeholder {
    display: none;
}

/* Responsive adjustments for the image */
@media (max-width: 1024px) {
    .header-image-wrapper {
        width: 340px;
        height: 340px;
    }
}

@media (max-width: 768px) {
    .apply-header .container {
        gap: 3rem;
    }
    
    .header-image-wrapper {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .header-image-wrapper {
        width: 280px;
        height: 280px;
    }
}