.invalid-feedback {
    position: absolute;
} 

#form-section
{
    display: none;
}       
#msg-alert
{
    display: none;
}

:root {

    --brand-primary: #199fb1;

    --brand-light: #f0fbfc;

    --text-main: #1f2937;

    --text-muted: #6b7280;

    --bg-body: #ffffff;

    --card-border: #f3f4f6;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    --brand-gradient: linear-gradient(135deg, #199fb1 0%, #0d5c75 100%);

    --svg-icon-dark: #0e8388;
    
    --svg-icon-light: #fff;

}


/* Fixed Header Integration */

/* #header {

    background: #ffffff;
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 1000;

} */

/* Hero Section */

.hero-section {

    background: var(--brand-gradient);

    padding: 120px 0 60px;

    text-align: center;

    color: white;

    clip-path: ellipse(150% 100% at 50% 0%);

}


.header-container {

    display: flex;
    align-items: center;
    justify-content: space-between;

}


.cta-btn {

    background: var(--brand-primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;

}



/* Specialty Selection Section */

.specialty-selection {

    padding: 100px 0;
    /* background: #ffffff; */

}



.section-header {

    max-width: 700px;
    margin: 0 auto 70px;
    text-align: center;

}



.section-header h2 {

    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: var(--text-main);

}



.section-header p {

    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}



/* Redesigned Minimalist Cards */

.specialty-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;

}



.specialty-item {

    background: #ffffff;
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}



.specialty-item:hover {

    border-color: var(--brand-primary);

    background: var(--brand-light);

    transform: translateY(-8px);

    box-shadow: 0 20px 40px rgba(25, 159, 177, 0.08);

}



.icon-box {

    width: 72px;

    height: 72px;

    background: var(--brand-light);

    color: var(--brand-primary);

    border-radius: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 1.75rem;

    font-size: 1.8rem;

    transition: var(--transition);

}



.specialty-item:hover .icon-box {

    background: var(--brand-primary);

    color: #ffffff;

    transform: scale(1.1);

}
.specialty-item:hover .icon-box svg {

    transform: translate(3px, -1px);

}
.specialty-item:hover .svg-icon-dark {

    fill: var(--svg-icon-light);    
    transform: scale(1.1);

}
.specialty-item:hover .svg-icon-light {

    fill: var(--svg-icon-dark);    
    transform: scale(1.1);

}
.specialty-item:hover .svg-icon-stroke {

    stroke: var(--svg-icon-light);    
    transform: scale(1.1);

}



.specialty-item h3 {

    font-size: 1.3rem;

    font-weight: 700;

    color: #61666b;

    margin: 0;

    transition: var(--transition);

}



.specialty-item:hover h3 {

    color: var(--brand-primary);

}



/* Selection Indicator */

.specialty-item.selected {

    background: var(--brand-light);

    border-color: var(--brand-primary);

    box-shadow: 0 0 0 2px var(--brand-primary);

}



/* Form Overlay Section */

/* #application-form-wrapper {

    display: none;

    padding: 80px 0;

    background: #fcfdfe;

    border-top: 1px solid var(--card-border);

}



.form-card {

    background: white;

    padding: 3rem;

    border-radius: 24px;

    box-shadow: 0 30px 60px rgba(0,0,0,0.05);

    max-width: 600px;

    margin: 0 auto;

}



.back-link {

    color: var(--brand-primary);

    text-decoration: none;

    font-weight: 600;

    display: inline-flex;

    align-items: center;

    gap: 0.5rem;

    margin-bottom: 2rem;

    font-size: 0.9rem;

}



.form-control {

    border: 1px solid var(--card-border);

    padding: 0.8rem 1.2rem;

    border-radius: 12px;

    margin-bottom: 1.25rem;

    font-size: 1rem;

}



.form-control:focus {

    border-color: var(--brand-primary);

    box-shadow: 0 0 0 4px rgba(25, 159, 177, 0.1);

} */

/* Form Overlay Section V2 */

#application-form-wrapper {
    display: none;
    /* padding: 80px 0; */
    margin-top: -50px;
    /* background: #fcfdfe; */
    /* border-top: 1px solid var(--card-border); */
}

/* Form Card Container */
.form-card {
    max-width: 900px;
    width: 100%;
    background: #ffffff;
    border-radius: 20px;
    /* border: 1px solid #e2e8f0; */
    display: grid;
    grid-template-columns: 380px 1fr;
    /* grid-template-columns: 300px 1fr; */
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.08);
}

.back-link {
    color: #ffff;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5 rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.back-link-black {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5 rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.back-link-responsive {
    display: none;
}

.back-link:hover {
    color: #bef6fd;
}


/* Sidebar Branding Section */
.form-sidebar {
    background: var(--brand-primary);
    color: white;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.form-sidebar::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -20px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.sidebar-footer {
    font-size: 0.8rem;
    opacity: 0.7;
    letter-spacing: 0.05em;
}

/* Main Form Area */
.form-body {
    padding: 4.5rem 4rem;
    background: #ffffff;
    position: relative;
}

/* .form-header h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
} */

/* Custom Input Styling */
.form-group-custom {
    position: relative;
    /* margin-bottom: 2.5rem; */
    margin-bottom: 3.3rem;
}

.form-control-custom {
    width: 100%;
    border: none;
    border-bottom: 2px solid #f1f5f9;
    /* padding: 10px 0; */
    padding: 10px 5px 2px 0px;
    font-size: 1rem;
    background: transparent;
    outline: none;
    transition: border-color 0.3s;
    /* color: var(--text-main); */
    color: #363636;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.extra-marigin {
    margin-bottom: 3rem !important;
}

.form-control-custom:focus {
    border-color: var(--brand-primary);
}

.form-control-custom::placeholder {
    color: #b3b1b1;
}

.label-custom {
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-primary);
}

/* Submit Button */
.submit-btn-large {
    width: 100%;
    background: var(--brand-primary);
    color: white;
    padding: 1.2rem;
    border-radius: 16px;
    border: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
    cursor: pointer;
    margin-top: 1rem;
}

.submit-btn-large:hover {
    background: var(--primaryColor);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(25, 159, 177, 0.2);
}

.submit-btn-large:disabled {
    background: gray;
}
.submit-btn-large:disabled:hover {
    background: gray;
    transform: none;
    box-shadow: none;
    cursor: default;
}

/* Footer */
#footer {
    /* background: var(--brand-secondary); */
    color: white;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: 0.3s;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #bef6fd !important;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-right: 10px;
    transition: 0.3s;
}



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



/* Responsive */

@media (max-width: 991px) {

    .specialty-grid { grid-template-columns: repeat(2, 1fr); }
    
    .section-header h2 { font-size: 2.2rem; }
    
    .form-card{
       grid-template-columns: 300px 1fr;
    }
}



@media (max-width: 768px) {


    .specialty-selection { padding: 60px 0; }

    .specialty-grid { gap: 1rem; }

    .specialty-item { padding: 2.5rem 1rem; }

    .form-sidebar {
        display: none;
    }

    .back-link-responsive {
        display: block;
    }

    .form-card {
        grid-template-columns: auto;
    }

}



@media (max-width: 576px) {

    .specialty-grid { grid-template-columns: 1fr; }

}



.faq-container {

    max-width: 900px;
    width:85%;
    margin: -50px auto 80px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;

}

