/* Main Layout */
.main-wrapper {
    /* max-width: 1440px; */
    margin: 0 auto;
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

.three-column-layout {
    display: flex;
    gap: 20px;
}


.about-column {
    /* width: 40%;   */
}

.updates-column {
    width: 30%;
}

.leaders-column {
    width: 30%;
}
/* About Section Styles */
.about-content-wrapper {
    padding: 25px;
    background-color: #ffe19f;
}

.about-heading {
    margin-bottom: 20px;
    font-size: 24px;
    color: #000000;
}

.about-text {
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    font-family: Inter, sans-serif;
}

.bg-navy {
    background-color: #0D4C81 !important;
    border-top: 1px solid #d6d4d4;
}

.about-service-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 1rem;
}

    .about-service-list li {
        margin-bottom: 0.5rem;
        padding-left: 1.5rem;
        position: relative;
    }

        .about-service-list li:before {
            content: "•";
            position: absolute;
            left: 0;
            color: #000000;
        }

/* Updates Section Styles */
.updates-wrapper {
    background-color: #ffe19f;
    height: 100%;
}

.updates-tabs {
    display: flex;
    border-bottom: 1px solid #EBEBEB;
}

.updates-tab {
    flex: 1;
    padding: 14px;
    text-align: center;
    background-color: #EBEBEB;
    cursor: pointer;
    font-size: 14px;
}

    .updates-tab.active {
        background-color: #007bff;
        color: #ffffff;
    }

.updates-content {
    padding: 20px;
    background-color: #f9f1f1;
}

.updates-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .updates-links li {
        margin-bottom: 15px;
    }

    .updates-links a {
        color: #000000;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s;
    }

        .updates-links a:hover {
            color: #666666;
        }

/* Leaders Section Styles */
.leaders-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.leader-profile-card {
    background: #f8f8f8;
    border-radius: 4px;
    padding: 10px;
    width: 250px;
    height: 340px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .leader-profile-card:hover {
        transform: scale(1.05); /* Slight zoom effect */
        filter: brightness(1.1); /* Brighten card */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 10px rgba(0, 123, 255, 0.4);
        cursor: pointer;
    }


.leader-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
    margin-top: 20px;
}

.leader-photo-wrapper {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 50%;
}

.leader-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-details {
    text-align: center;
}

.leader-title {
    font-size: 14px;
    color: #595353;
    margin: 0;
    line-height: 1.4;
    font-weight: bold;
}


.leader-social-links {
    display: flex;
    gap: 15px;
}

.social-media-icon {
    width: 25px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .social-media-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .three-column-layout {
        flex-direction: column;
    }

    .about-column,
    .updates-column,
    .leaders-column {
        width: 100%;
    }
}

.service-section {
    background-image: url('/BPAMSClient/seConfigFiles/images/HomePage/jammu-170.jpeg');
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    min-height: 460px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.icon-wrapper {
    margin-left: 40px; /* adjust to push the group to the left over the blank space */
    width: 600px; /* fixed width to keep group tight */
}

.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}



.service-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}



.service-circle {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Optional for text contrast */
    font-weight: bold;
}

/* Specific color variations */
.circle-red {
    background-color: #e74c3c;
}

.circle-blue {
    background-color: #3498db;
}

.circle-green {
    background-color: #2ecc71;
}

.circle-yellow {
    background-color: #f1c40f;
}

.circle-purple {
    background-color: #9b59b6;
}

.circle-orange {
    background-color: #e67e22;
}

.circle-teal {
    background-color: #1abc9c;
}


    .service-circle img {
        max-width: 60%;
        max-height: 60%;
    }

    .service-circle:hover {
        transform: scale(1.1);
        cursor: pointer;
    }

.service-icon {
    max-width: 60%;
    max-height: 60%;
}

.service-title {
    font-size: 14px;
    margin-top: 10px;
    color: #000;
    text-align: center;
    background: rgba(255, 255, 255, 0.6); /* light backdrop */
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.background-section {
    position: relative;
}

    .background-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.2); /* light gray/black overlay */
    }

    .background-section .service-title {
        position: relative;
        color: #000;
    }

.service-subtitle {
    color: #fff;
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-align: center;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .service-circle {
        width: 100px;
        height: 100px;
    }

    .service-icon {
        width: 55px;
        height: 55px;
    }

    .service-title, .service-subtitle {
        font-size: 10px;
    }
}

.service-section {
    padding: 10px 0;
}

.stats-section {
    padding: 0px 0;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.stats-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex: 1 1 250px;
    max-width: 300px;
    height: 120px;
    padding: 12px 16px;
    border-radius: 12px;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.stats-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stats-number {
    font-size: 1.5rem;
    margin: 0;
    font-weight: bold;
}

.stats-text {
    font-size: 0.9rem;
    margin: 0;
    font-weight:bold;
}


/* Individual card colors */
.green-card {
    background-color: #10784b;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .green-card:hover {
        transform: scale(1.05);
        filter: brightness(1.1);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 8px rgba(89, 221, 164, 0.3);
        cursor: pointer;
    }

.orange-card {
    background-color: #dc3545;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .orange-card:hover {
        transform: scale(1.05);
        filter: brightness(1.1);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 8px rgba(89, 221, 164, 0.3);
        cursor: pointer;
    }

.purple-card {
    background-color: #c99702;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .purple-card:hover {
        transform: scale(1.05);
        filter: brightness(1.1);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 8px rgba(89, 221, 164, 0.3);
        cursor: pointer;
    }

.blue-card {
    background-color: #267bcb;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .blue-card:hover {
        transform: scale(1.05);
        filter: brightness(1.1);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2), 0 0 8px rgba(89, 221, 164, 0.3);
        cursor: pointer;
    }

@media (max-width: 768px) {
    .stats-card {
        flex-direction: row;
        height: auto;
        padding: 10px;
    }

    .stats-number {
        font-size: 1.2rem;
    }

    .stats-text {
        font-size: 0.85rem;
    }

    .stats-icon {
        width: 36px;
        height: 36px;
    }
}



.top-bar {
    background-color: #d9d9d9;
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
    padding: 2px 36px
}

.accessibility-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;    
}


.gov-info {
    display: flex;
    align-items: center;
    margin-right: auto; /* Pushes it to the left */
}

    .gov-info a {
        text-decoration: none;
        color: #000;
        font-weight: 600;
        margin-right: 10px;
        text-transform: uppercase;
        font-size: 70%;
    }

.separator {
    margin: 0 10px;
    font-weight: 600;
    color: #000;
}


.skip-content {
    width: auto;
    height: auto;
    font-weight: 600;
    text-transform: uppercase;
    color: #000;
    font-size: 70%;
}

.icon-group {
    display: flex;
    align-items: center;    
}

.icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.language-select {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    margin-left: 15px;
}

@media (max-width: 768px) {
    .skip-content {
        font-size: 14px;
    }

    .icon {
        width: 20px;
        height: 20px;
    }

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

/* photo section */



.gallery-section {
    padding: 40px 0;
    background-color: #08080838;
    padding: 20px 10px;
}

.gallery-title {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 20px;
    text-align: center;
    margin-bottom: 30px;
    color: #000000;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* icons and footer */

.icon-section {
    padding: 30px 0;
    background-image: url('/BPAMSClient/seConfigFiles/images/HomePage/carousel-bg.png');
    background-repeat: repeat; /* This is the default but good to specify */
    background-position: top left; /* Optional */
    background-size: auto; /* Optional: or 'contain' / 'cover' */
}


.icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 0 50px;
}

.service-flex {
    display: flex;
    justify-content: flex-start;
}

/* Individual icon sizes as per Figma */
.icon-item:nth-child(1) img {
    width: 117.37px;
    height: 97px;
}

.icon-item:nth-child(2) img {
    width: 206.32px;
    height: 103px;
}

.icon-item:nth-child(3) img {
    width: 172px;
    height: 86px;
}

.icon-item:nth-child(4) img {
    width: 221.42px;
    height: 73px;
}

.icon-item:nth-child(5) img {
    width: 225.49px;
    height: 127px;
}

.icon-item:nth-child(6) img {
    width: 153.16px;
    height: 77px;
}

.footer {
    background-color: #f8f8f8;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 50px;
}

.footer-text {
    font-family: Poppins, sans-serif;
    font-weight: 500;
    font-size: 10px;
    color: #000000;
    margin: 0;
}

.footer-developer {
    font-family: Poppins, sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #000000;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .footer-developer img {
        width: 104px;
        height: 35px;
    }

@media (max-width: 1200px) {
    .icon-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .icon-item img {
        max-width: 100%;
        height: auto;
    }
}

/* news bar */

.news-section {
    min-width: 320px;
}

.news-link {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #888888;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .news-link:hover {
        color: #666666;
    }

.dummy-news-link {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #565656;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .dummy-news-link:hover {
        color: #333333;
    }

.navigation-icon {
    width: 16px;
    height: 16px;
    margin: 0 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

    .navigation-icon:hover {
        transform: scale(1.1);
    }

.news-divider {
    border-color: #e1e0e0;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .service-section {
        padding: 30px 10px;
    }
}

.common-left {
    font-size: 106%;
    font-weight: bold;
    color: #000;
}

    .common-left a {
        color: #000;
        text-decoration: none;
    }

        .common-left a:hover {
            text-decoration: underline;
        }


.text-dark {
    display: block;
    font-weight: 800;
    font-size: 125%;
    color: #0C3A60 !important;
    font-family: 'Inter', sans-serif;
}


.carousel-inner,
.carousel-item {
    height: 400px; /* Fixed height */
}

    .carousel-item img {
        height: 100%;
        width: 100%;
        object-fit: cover; /* Ensures image fills the space without stretching */
    }

.links-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    max-width: 1100px;
    margin: 0 auto;
    gap: 10px 20px;
    justify-content: center;
}

.link-pill {
    background-color: #1e90ff;
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s;
    border: 2px solid white; /* white border */
    font-family: 'Roboto', sans-serif; /* Roboto font */
}


.link-pillnew {
    background-color: #007acc;
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s;
    border: 2px solid white; /* white border */
    font-family: 'Roboto', sans-serif; /* Roboto font */
}


    .link-pill:hover {
        background-color: #d6e0e9;
        text-decoration: none;
    }


.link-pillnew:hover {
    background-color: #d6e0e9;
    text-decoration: none;
}