* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    border: none; 
    outline: none;    
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

img {
    display: block;
    max-width: 100%;
}
/* Banner start */

.about-section {
    background: linear-gradient(rgba(0, 35, 102, 0.7), rgba(0, 35, 102, 0.7)), url('../img/about99.jpeg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-title {
    color: #ffffff;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -1px; 
}

/* Banner end */

/* md msg start */


.safe-group-section {
    padding: 50px 5%;
    background-color: #ffffff;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

.safe-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 420px 1fr; 
    gap: 80px;
    align-items: start;
}


.leadership-side {
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
}

.experience-tag-top {
    font-size: 0.85rem;
    font-weight: 700;
    color: #011740; 
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.experience-tag-top::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #ff4d4d; 
    margin: 8px auto 0;
}

.leadership-image-stack {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(1, 23, 64, 0.15);
    transition: 0.3s ease;
    margin-bottom: 25px;
    border-bottom: 5px solid #ff4d4d; 
}

.director-main-img {
    width: 100%;
    height: auto;
    display: block;
}

.director-info-left {
    padding: 10px 0;
}

.director-name {
    font-size: 1.6rem;
    color: #011740; 
    margin: 0;
    font-weight: 800;
}

.director-title {
    font-size: 0.95rem;
    color: #ff4d4d; 
    font-weight: 600;
    display: block;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-side {
    display: flex;
    flex-direction: column;
}

.safe-tag {
    color: #ff4d4d; 
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 2.0rem;
}

.section-heading {
    font-size: 2.5rem;
    color: #011740;
    font-weight: normal;
    margin: 15px 0 20px;
    line-height: 1.1;
}

.section-heading span {
    color: #ff4d4d; 
}

.group-intro {
    font-size: 1.15rem;
    color: #475569; 
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 650px;
}

.toggle-container {
    display: flex;
    margin-bottom: 25px;
}

.safe-tab {
    padding: 14px 40px;
    border: 1px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    color: #011740;
    transition: 0.3s ease;
}

.safe-tab.active {
    background: #011740; 
    color: #ffffff;
    border-color: #011740;
}

.safe-tab:not(.active):hover {
    color: #ff4d4d; 
    background: #f8fafc;
}

.tab-content-area {
    min-height: 100px;
    padding-bottom: 40px;
}

.safe-content {
    display: none;
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.7;
    animation: fadeIn 0.5s ease forwards;
}

.safe-content.active {
    display: block;
}

.director-quote-right {
    margin-top: 20px;
    border-top: 1px solid #f1f5f9;
    padding-top: 40px;
}

.quote-box {
    padding: 30px;
    background: #fff5f5; 
    border-left: 6px solid #ff4d4d; 
    border-radius: 0 15px 15px 0;
}

.quote-box p {
    font-style: italic;
    font-size: 1.1rem;
    color: #011740; 
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}


@keyframes fadeIn {
    from { opacity: 0; 
        transform: translateY(10px); 
    }

    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@media (max-width: 1024px) {
    .safe-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .leadership-side {
        max-width: 450px;
        margin: 0 auto;
    }

    .section-heading {
        font-size: 2.6rem;
        text-align: center;
    }
    
    .content-header, .group-intro {
        text-align: center;
    }
    
    .toggle-container {
        justify-content: center;
    }
}

/* md msg end */


/* Chairmans msg start */

.leadership-section {
    padding: 80px 10%; 
    background-color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.leadership-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row; 
    align-items: center; 
    justify-content: space-between;
    gap: 60px;
}


.leadership-text-content {
    flex: 1;
}

.section-tag {
    color: #e82c33;
    font-weight: normal;
    letter-spacing: 1.5px;
    font-size: 2.0rem;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    color: #011740; 
    margin-bottom: 20px;
    font-weight: normal;
    line-height: 1.2;
}

.main-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: #444;
    line-height: 1.5;
    margin-bottom: 25px;
    position: relative;
    padding-left: 25px;
    border-left: 5px solid #e82c33; 
}

.message-body p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
}


.leadership-image-wrapper {
    flex: 0 0 380px; 
    position: relative;
    background: #e82c33; 
    padding-bottom: 12px; 
    border-radius: 40px; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.leadership-img {
    width: 380px; 
    height: 480px; 
    object-fit: cover;
    display: block;

    border-radius: 40px 40px 30px 30px; 
}


.name-badge {
    position: absolute;
    bottom: 30px; 
    left: 50%;
    transform: translate(-50%, 20px); 
    background: #e82c33; 
    color: #ffffff;
    padding: 15px 25px;
    z-index: 10;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    min-width: 240px;
    text-align: center;
    

    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


.leadership-image-wrapper:hover {
    transform: translateY(-8px);
}

.leadership-image-wrapper:hover .name-badge {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.name-badge h4 { 
    margin: 0; 
    font-size: 1.15rem; 
    font-weight: 700;
}

.name-badge span { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    display: block;
    margin-top: 4px;
    letter-spacing: 0.5px;
    opacity: 0.9;
}


@media (max-width: 1024px) {
    .leadership-container {
        gap: 40px;
    }
    .leadership-image-wrapper, .leadership-img {
        width: 320px;
        height: 400px;
        flex: 0 0 320px;
    }
    .section-title { font-size: 2.2rem; }
}

@media (max-width: 768px) {
    .leadership-container { 
        flex-direction: column-reverse;
        text-align: center; 
    }
    .leadership-image-wrapper { margin-bottom: 40px; }
    .name-badge { 
        opacity: 1; 
        visibility: visible; 
        bottom: -15px;
    }
    .main-quote { border-left: none; border-top: 4px solid #e82c33; padding: 15px 0 0 0; }
}
/* Chairmans msg end */

/* Our company start */

.simple-heading-section {
    width: 100%;
    padding: 60px 10% 10px 10%; 
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.main-heading {
    color: #333333;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -1.5px;
}

.content-container {
    width: 100%;
    margin: 0 auto;
    padding: 20px 10% 100px 10%; 
    text-align: center;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr 2fr;  
    gap: 20px;
    text-align: left;
    align-items: stretch; 
}

.image-stack, 
.image-main {
    height: 380px; 
    overflow: hidden;
}

.image-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.img-small {
    width: 100%;
    height: calc(50% - 10px); 
    object-fit: cover;
    background-color: #f0f0f0;
    border-radius: 4px;
}

.img-large {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    background-color: #f0f0f0;
    border-radius: 4px;
}

.text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.description-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 15px;
    line-height: 1.5;
}

.description-body {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

@media (max-width: 1024px) {
    .simple-heading-section,
    .content-container {
        padding-left: 5%; 
        padding-right: 5%;
    }

    .image-stack, 
    .image-main {
        height: 350px; 
    }

    .grid-layout {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .text-content {
        grid-column: span 2;
        margin-top: 20px;
        text-align: left; 
    }
}


@media (max-width: 768px) {
    

    .simple-heading-section {
        padding: 40px 20px 0px; 
        background-color: #ffffff;
    }

    .main-heading {
        margin: 0; 
        font-size: 2.2rem;
        color: #011740; 
        text-align: left;
    }

    .content-container {
        padding: 10px 20px 40px; 
        background-color: #ffffff;
    }

    .grid-layout {
        display: flex;
        flex-direction: column;
        gap: 15px; 
    }

    .image-main {
        order: 1; 
        width: 100%;
        margin: 0;
    }

    .img-large {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 12px;
        display: block;
    }


    .image-stack {
    order: 2;
    display: flex;
    flex-direction: row; 
    gap: 12px; 
    width: 100%;
}

    .img-small {
    height: 180px;
    flex: 1;    
    min-width: 0;      
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

    .text-content {
        order: 3;
        text-align: left;
    }

    .text-content h3 {
        font-size: 1.8rem;
        color: #011740;
        margin: 0 0 10px 0;
        line-height: 1.2;
    }

    .description-heading {
        font-size: 1.1rem;
        color: #475569;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .description-body {
        font-size: 1rem;
        color: #64748b;
        line-height: 1.7;
    }
}
/* OUr comapny end */



/* our team start */

/* 1. Base Section Styling */
.team-section {
    padding: 80px 5%;
    background-color: #f9fbff;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.team-header {
    margin-bottom: 50px;
}

.section-tag {
    color: #e82c33;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.section-title {
    font-size: 2.5rem;
    color: #011740;
    margin-top: 10px;
    font-weight: 800;
}

/* 2. Slider Layout */
.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* The "Window" - hides the extra 4 images */
.slider-viewport {
    overflow: hidden;
    width: 100%;
    padding: 20px 5px; /* Extra space so shadows aren't clipped */
}

/* The "Train" - long row of cards */
.team-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* 3. Card Styling (4 cards in a row) */
.team-card {
    /* 25% width minus the share of the gaps */
    flex: 0 0 calc(25% - 15px); 
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* 4. Hover Effects */
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(1, 23, 64, 0.1);
}

.image-box {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #edf2f7;
}

.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .image-box img {
    transform: scale(1.1);
}

.info-box {
    padding: 25px 15px;
    border-bottom: 5px solid #e82c33;
    text-align: center;
}

.info-box h4 {
    margin: 0;
    color: #011740;
    font-size: 1.15rem;
    font-weight: 700;
}

.info-box p {
    margin: 8px 0 0;
    color: #e82c33;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* 5. Navigation Buttons */
.nav-btn {
    background: #011740;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
}

.nav-btn:hover:not(:disabled) {
    background: #e82c33;
    transform: scale(1.1);
}

.nav-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.5;
}

/* 6. Responsive Design */
@media (max-width: 1024px) {
    .team-card {
        flex: 0 0 calc(50% - 10px); /* 2 images per row */
    }
}

@media (max-width: 600px) {
    .team-card {
        flex: 0 0 100%; /* 1 image per row */
    }
    .slider-container {
        gap: 10px;
    }
}
/* our team end */