:root {

    --head-color: #45517f;

    --row-alt: #efefef;

    --table-min-width: 760px;

}



@media only screen and (max-width: 991px) {

    .management-section .row {

        gap: 40px;

    }

}



.table-title {

    background: var(--head-color);

    color: #fff;

    text-align: center;

    padding: 12px 16px;

    font-weight: 600;

    font-family: "Montserrat", sans-serif;

    border-top-left-radius: 4px;

    border-top-right-radius: 4px;

    box-sizing: border-box;

}



.table-wrapper {

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;

    background: transparent;

    border-radius: 4px;

    margin-top: 8px;

}



table.management {

    width: 100%;

    border-collapse: collapse;

    min-width: var(--table-min-width);

    table-layout: fixed;

    background: transparent;

}





table.management thead th {

    text-align: center;

    padding: 14px 18px;

    background: #f0efee;

    color: var(--head-color);

    font-weight: 700;

    font-family: "Montserrat", sans-serif;

    box-sizing: border-box;

}



/* cells */

table.management tbody td {

    padding: 16px 20px;

    color: #555;

    font-family: "Montserrat", sans-serif;

    vertical-align: middle;

    word-wrap: break-word;

    box-sizing: border-box;

}





table.management tbody tr:nth-child(even) td {

    background: var(--row-alt);

}





.name-col {
    text-align: left;
    padding-left: 36px;
}

.designation-col {
    text-align: left;
    padding-right: 36px;
}





table.management tbody tr:last-child td {

    border-bottom: none;

}





table.management tbody tr td {

    border-bottom: 0px solid rgba(0, 0, 0, 0.02);

}



@media (max-width: 420px) {

    :root {
        --table-min-width: 620px;
    }

}



@media (max-width: 640px) {

    table.management thead th {
        padding: 12px 14px;
        font-size: 14px;
    }

    table.management tbody td {
        padding: 12px 14px;
        font-size: 14px;
    }

    .table-title {
        padding: 10px 12px;
        font-size: 15px;
    }

}



.investor-sidebar {

    background: #ffffff;

    border: 1px solid var(--head-color);

    padding: 25px 30px;

}



.investor-sidebar h3 {

    font-size: 24px;

    font-family: "Montserrat", sans-serif;

    margin-bottom: 20px;

    color: var(--head-color);

}



.investor-menu {

    list-style: none;

    padding: 0;

    margin: 0;

}



.investor-menu li {

    border-bottom: 1px solid #e6e6e6;

    padding: 10px 0;

}



.investor-menu li:last-child {

    border-bottom: none;

}



.investor-menu li a {

    text-decoration: none;

    color: #444;

    font-size: 16px;

    font-family: "Montserrat", sans-serif;

    display: flex;

    align-items: center;

    gap: 10px;

    transition: 0.2s;

}



.investor-menu li a i {

    font-size: 12px;

    color: var(--head-color);

}



.investor-menu li a:hover {

    color: var(--head-color);

}



.investor-menu li a.active {

    color: var(--head-color);

    font-weight: 600;

}



.investor-info-block {

    padding: 25px 0;

    border-bottom: 1px dotted #cccccc;

}



.investor-info-block.first {

    padding-top: 0;

}



.investor-info-block:last-child {

    border-bottom: none;

}



.investor-info-block h3 {

    margin-bottom: 15px;

    font-size: 20px;

    font-family: "Montserrat", sans-serif;

    color: var(--head-color);

}



.investor-info-block p {

    margin: 8px 0;

    line-height: 1.6;

    color: #444;

    font-family: "Montserrat", sans-serif;

}



.investor-info-block strong {

    color: #333;

    font-family: "Montserrat", sans-serif;

}





/*********************************/

#financial-results-section #NSE_BOX{
    display: flex;
    text-align: center;
    justify-content: start;
}

#financial-results-section .price-box, #NSE_BOX {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

#financial-results-section .price-row {
    border-bottom: 1px solid #ddd;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#financial-results-section .tag {
    padding: 4px 8px;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

#financial-results-section .nse {
    background: var(--head-color);;
}

#financial-results-section .bse {
    background: #3b8adb;
}

#financial-results-section .financial-card {
    background: var(--head-color);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
}

#financial-results-section .result-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

#financial-results-section .result-box button {
    border: 1px solid #fff;
    color: #fff;
}

#financial-results-section .result-box button:hover {
    color: #000;
}

#financial-results-section h4, #financial-results-section p{
    color: #fff;
}


/* New styles for NSE Price Section */

.nse-price-section .container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    width: 100%;
}

.nse-price-section .left-section {
    background: linear-gradient(135deg, #4a5f8f 0%, #3d4e7a 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nse-price-section .left-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.nse-price-section .stock-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    color: white;
    font-size: 16px;
    letter-spacing: 1px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.nse-price-section .price-container {
    margin-bottom: 20px;
}

.nse-price-section .current-price {
    font-size: 56px;
    font-weight: 800;
    color: white;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.nse-price-section .currency {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.nse-price-section .change-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: rgba(231, 76, 60, 0.2);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 15px;
    border: 2px solid rgba(231, 76, 60, 0.3);
}

.nse-price-section .change-arrow {
    font-size: 28px;
    color: #e74c3c;
}

.nse-price-section .change-value {
    font-size: 28px;
    font-weight: 700;
    color: #e74c3c;
}

.nse-price-section .change-percentage {
    font-size: 22px;
    color: #e74c3c;
    font-weight: 600;
}

.nse-price-section .right-section {
    background: linear-gradient(135deg, #4a5f8f 0%, #3d4e7a 100%);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.nse-price-section .section-title {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 40px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nse-price-section .results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.nse-price-section .result-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 35px;
    transition: all 0.3s ease;
}

.nse-price-section .result-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.nse-price-section .card-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nse-price-section .card-title {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
}

.nse-price-section .download-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nse-price-section .download-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1024px) {
    .nse-price-section .container {
        grid-template-columns: 1fr;
    }

    .nse-price-section .results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nse-price-section .current-price {
        font-size: 42px;
    }

    .nse-price-section .section-title {
        font-size: 32px;
    }

    .nse-price-section .left-section, .right-section {
        padding: 30px;
    }
}
#fin_result_index .inverstor-media-box-item .custom-btn::before {
    background-color: #33cec8 !important;
}

#fin_result_index .inverstor-media-box-item .custom-btn:hover {
    color: #fff !important;
    border: 1px solid #33cec8 !important;
}

@font-face {
    font-family: 'GothamBold';
    src: url('assets/fonts/Gotham-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

.heading-gotham {
    font-family: 'GothamBold', sans-serif;
}


/********************************/

#old_age_home .section-space {
    padding: 60px 0;
}

#old_age_home .plane-desc {
    padding-right: 20px;
}

#old_age_home .section-title {
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 20px;
}

#old_age_home .feature-list {
    list-style: none;
    padding-left: 0;
}

#old_age_home .feature-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 15px;
    line-height: 1.6;
}

#old_age_home .feature-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 2px;
    color: #33cec8;
    font-weight: bold;
}

#old_age_home .plane-img {
    max-width: 90%;
}

.market-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 6px;
}

.market-dot.closed {
    background-color: #dc3545; 
}


.market-dot.open {
    background-color: #28a745; 
    animation: pulse 1.4s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(40, 167, 69, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
        transform: scale(1);
    }
}