/* ==========================================================================
   CARE-HOSPITAL - INVESTORS PAGE STYLES (investors.css)
   Contains: Layout sizing, responsive styling, and LCP/CLS optimizations
   ========================================================================== */

/* 1. INVESTOR HERO BANNER SECTION */
.banner-section.investor-banner {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #0f172a;
    /* Dark navy fallback matches the overlay start to prevent visual flash */
}

/* Responsive picture container to occupy absolute space and prevent CLS */
.banner-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Overlay for text readability with modern trust teal and corporate navy colors */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;

}

/* Content wrapper & overlay hierarchy */
.banner-content-container {
    position: relative;
    z-index: 3;
    width: 100%;
    margin-top: 40px;
    /* Offset to push title down below absolute breadcrumbs */
}

.banner-content {
    max-width: 680px;
    color: #ffffff;
}

.banner-content .pre-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    /* Sky Blue accent color from common.css */
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.banner-content .pre-text span {
    display: inline-block;
    width: 12px;
    height: 2px;
    background-color: var(--color-primary);
}

.banner-headline {
    color: #ffffff;
    font-size: 42px;
    font-weight: 500;
    line-height: 48px;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.banner-paragraph {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    max-width: 550px;
}

/* ==========================================================================
   [RESPONSIVE] HERO BANNER SECTION
   ========================================================================== */
@media (max-width: 1024px) {
    .banner-section.investor-banner {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .banner-section.investor-banner {
        height: 350px;
    }

    .banner-content-container {
        margin-top: 30px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .banner-headline {
        font-size: 32px;
        line-height: 36px;
        margin-bottom: 13px;
    }

    .banner-paragraph {
        font-size: 15px;
        line-height: 20px;
        max-width: 100%;
    }



    .banner-top-wrapper {
        top: 20px;
    }

    .site-breadcrumb {
        font-size: 12px;
    }
}

@media (max-width: 479px) {
    .banner-section.investor-banner {
        height: 320px;
    }

    .banner-headline {
        font-size: 28px;
        line-height: 32px;
    }
}

/* ==========================================================================
   3. INVESTOR INFORMATION CARDS SECTION
   ========================================================================== */
.investor-cards-section {
    background-color: #ffffff;
    padding-top: 30px;
    padding-bottom: 30px;
}

.investor-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.investor-card {
    background-color: #F9F9F9;
    border-radius: 16px;
    padding: 30px;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.investor-card-number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 14px;
    font-weight: 300;
    color: #828282;
    line-height: 1;
    font-family: 'Manrope', sans-serif;
}

.investor-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 34px;
    padding-right: 30px;
    /* Leave space for number */
}

.investor-card-icon {
    flex-shrink: 0;
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.investor-card-icon svg {
    width: 39px;
    height: 39px;
    display: block;
}

.investor-card-title {
    font-size: 18px;
    font-weight: 500;
    color: #1E1E1E;
    line-height: 1.3;
    margin: 0;
    font-family: 'Manrope', sans-serif;
}

.investor-card-body {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    /* Space for the bottom arrow */
}

.investor-card-row {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

/* Fading borders: Left to right fade, end to end (no horizontal padding inset) */
.investor-card-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #E0E0E0 0%, rgba(224, 224, 224, 0.4) 60%, rgba(224, 224, 224, 0) 100%);
}

.investor-card-row.row-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #E0E0E0 0%, rgba(224, 224, 224, 0.4) 60%, rgba(224, 224, 224, 0) 100%);
}

.investor-card-link {
    font-size: 14px;
    font-weight: 400;
    color: #757575;
    opacity: 0.9;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease, opacity 0.2s ease;
    font-family: 'Manrope', sans-serif;
    text-transform: capitalize;
}

.investor-card-link:hover {
    color: #164D92;
    /* Sky Blue accent color from common.css */
    opacity: 1;
}

.investor-card-dot {
    width: 6px;
    height: 6px;
    /* background-color: #E0E0E0; */
    border-radius: 50%;
    margin-left: 15px;
    margin-right: 15px;
    flex-shrink: 0;
    justify-self: center;
}

.investor-card-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.investor-card-arrow svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR CARDS
   ========================================================================== */
@media (min-width: 1900px) {
.investor-card-link{font-size: 16px;}
.investor-card-title{font-size: 20px;}
}
@media (min-width: 1440px) {
    .investor-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .investor-card {
        width: 100%;
        height: initial;
    }
}

@media (max-width: 1280px) {
    .investor-cards-grid {
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .investor-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .investor-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .investor-card-number {
        top: 20px;
        right: 20px;
    }

    .investor-card-header {
        margin-bottom: 26px;
        padding-right: 20px;
    }

    .investor-card-row {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .investor-card-arrow {
        bottom: 20px;
        right: 20px;
    }

    .investor-card-body {
        margin-bottom: 0;
    }

    .investor-cards-section {
        padding-top: 30px;
        padding-bottom: 30px
    }

    .investor-card-arrow {
        width: 21px;
        height: 21px;
    }
    .investor-card {
        padding: 20px 20px 40px;
    }
}

@media (max-width: 479px) {


    .investor-card-title {
        font-size: 14px;
    }

    .investor-card-link {
        font-size: 12px;
    }


}

/* ==========================================================================
   4. INVESTOR CONTACT & QUERY FORM SECTION
   ========================================================================== */
.investor-contact-section {
    background-color: #ffffff;
    padding-top: 30px;
    padding-bottom: 30px;
}

.investor-contact-wrapper {
    background: var(--common-gredient);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
    border-radius: 20px;
    padding: 80px 40px 60px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    box-sizing: border-box;
}

/* Address styling */
.contact-addresses-container {
    flex: 1.1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.contact-address-col {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.address-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-address-col .address-block:first-child {
    min-height: 190px;
}

.contact-address-col .address-block:last-child {
    min-height: 170px;
}

.address-heading {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
    min-height: 40px;
}

.address-text {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #FFFFFFCC;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
    height: 130px;
    overflow: hidden;
    overflow-y: auto;
}



.address-text::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 10px;
	background-color: transparent;
}

.address-text::-webkit-scrollbar
{
	width: 4px;
	background-color: transparent;
}

.address-text::-webkit-scrollbar-thumb
{
	border-radius: 10px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #ffffff; 
   
}

/* Middle Divider styling */
.contact-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 20px;
    flex-shrink: 0;
}

.contact-divider img {
    height: 100%;
}

/* Form container styling */
.contact-form-container {
    flex: 1.2;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 36px;
    row-gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-label {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-input,
.form-select {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    padding: 10px 0px 18px 0px;
    width: 100%;
    box-sizing: border-box;
    transition: border-bottom-color 0.2s ease;
}

.form-select{font-size: 14px;}

.form-textarea {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-size: 12px;
    font-family: 'Manrope', sans-serif;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    resize: none;
    margin-top: 15px;
    height: 74px;
}

.form-input:focus,
.form-select:focus {
    border-bottom-color: #ffffff;
    outline: none;
}

.form-textarea:focus {
    border-color: #ffffff;
    outline: none;
}

/* Autofill overrides to preserve transparent background and white text */
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus,
.form-input:-webkit-autofill:active,
.form-select:-webkit-autofill,
.form-select:-webkit-autofill:hover,
.form-select:-webkit-autofill:focus,
.form-select:-webkit-autofill:active,
.form-textarea:-webkit-autofill,
.form-textarea:-webkit-autofill:hover,
.form-textarea:-webkit-autofill:focus,
.form-textarea:-webkit-autofill:active {
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s !important;
    caret-color: #ffffff !important;
}

/* Placeholders & Select Validation styling */
.form-input::placeholder,
.form-textarea::placeholder {
    color: #ffffff;
    opacity: 0.75;
    font-size: 12px;
}

.form-select:invalid {
    color: rgba(255, 255, 255, 0.75);
}

/* Custom Select Dropdown */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-arrow-svg {
    position: absolute;
    right: 5px;
    top: 20px;
    transform: translateY(-50%);
    pointer-events: none;
    width: 10px;
    height: 6px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.select-wrapper:hover .select-arrow-svg {
    opacity: 1;
}

.form-select {
    padding-right: 20px;
    padding-left: 10px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    text-transform: uppercase;

}

.form-select::-ms-expand {
    display: none;
}

.form-select option {
    background: #1DA491;
    color: #ffffff;
}

.form-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: 1px;
}

/* SUBMIT Button styling with bottom-right cut shape */
.contact-submit-btn {
    background-color: #ffffff;
    color: #164D92;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 38px;
    border: none;
    border-radius: 5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    letter-spacing: 0.05em;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.contact-divider.desktop-only {
    display: block;
}

.contact-divider.mobile-only {
    display: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR CONTACT SECTION
   ========================================================================== */
@media (min-width: 1900px) {
    .address-heading {
        font-size: 18px;
        min-height: 70px;
    }

    .address-text {
        font-size: 16px;
    }

    .contact-address-col .address-block:first-child {
        min-height: 270px;
    }

    .contact-address-col .address-block:last-child {
        min-height: 240px;
    }

    .form-input::placeholder,
    .form-textarea::placeholder {
        font-size: 16px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        font-size: 14px;
    }

    .form-textarea {
        height: 150px;
    }

}

@media (max-width: 1440px) {
.address-text{height: 120px;}
}

@media (max-width: 1200px) {
    .investor-contact-wrapper {
        padding: 60px 30px;
        gap: 30px;
    }

    .contact-addresses-container {
        gap: 20px;
    }
}

@media (max-width: 1024px) {
    .investor-contact-wrapper {
        flex-direction: column;
        gap: 40px;
        padding: 50px 30px;
    }

    /* Horizontal Divider for Tablet/Mobile */
    .contact-divider {
        flex-direction: row;
        width: 100%;
        height: 20px;
    }

    .divider-line {
        width: auto;
        height: 1px;
        flex: 1;
    }

    .divider-notch {
        margin: 0 15px;
    }

    .notch-icon-desktop {
        display: none;
    }

    .notch-icon-mobile {
        display: block;
    }

    .contact-form-container {
        width: 100%;
    }

    .contact-divider.desktop-only {
        display: none;
    }

    .contact-divider.mobile-only {
        display: block;
    }

    .contact-divider img {
        width: 100%;
    }

    .contact-address-col {
        gap: 0;
    }
}

@media (max-width: 768px) {
    .investor-contact-section {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .investor-contact-wrapper {
        padding: 30px 30px;
        gap: 30px;
    }

    .contact-addresses-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-address-col {
        gap: 20px;
    }

    .address-heading {
        min-height: auto;
        font-size: 16px;
    }

    .address-text {
        font-size: 14px
    }

    .contact-address-col .address-block:first-child,
    .contact-address-col .address-block:last-child {
        min-height: auto;
    }

    .form-grid {
        grid-template-columns: 1fr;
        row-gap: 16px;
    }

    .form-group.full-width {
        grid-column: auto;
    }

    /* Reduce spacing and adjust arrow position on mobile */
    .form-input,
    .form-select {
        padding-bottom: 12px;
    }

    .select-arrow-svg {
        top: 20px;
    }

    .form-textarea {
        margin-top: 10px;
        height: 60px;
    }

    .contact-submit-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    .devider-mobile{background-color: #ffffff !important;}
    .devider-mobile img{width: 100%;}   
    
    .address-text{height: auto;}
}

@media (max-width: 479px) {
    .investor-contact-wrapper {
        padding: 20px;
        border-radius: 16px;
    }
}