/* --- Global & Utility Classes --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.lightBg {
    background-color: #f9f9f9;
}

.flexCenter {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flexSpaceCenter {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar {
    margin-top: 10px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    height: 80px; /* Default height */
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-inner {
    position: relative; /* Needed for absolute positioning of the centered nav */
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    justify-content: space-between;
}

/* Logo remains at left edge */
.nav-inner > .logo {
    flex: 0 0 auto;
}

/* Center navigation links using absolute positioning */
.nav-inner > .ul-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

/* Login/Register buttons remain at right edge and display as flex */
.nav-inner > .ul-wrapper-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

/* Logo */
.logo img {
    display: block;
}

/* Burger Button */
.burger-btn {
    background-color: transparent;
    border: none;
    padding: 0 15px;
    display: none;
    cursor: pointer;
}

/* Show burger on small screens */
@media (max-width: 760px) {
    .burger-btn {
        display: block;
    }
}

/* Navigation Lists */
.ul-wrapper,
.ul-wrapper-right {
    list-style: none;
    align-items: center;
    display: flex;
}

.nav-item {
    margin: 0 10px;
}


/* Styled Links */
.styled-link {
    display: inline-block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.styled-link:hover {
    color: #0d299a;
}

/* Underline animation */
.styled-link::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: #0d299a;
    transition: width 0.3s;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.styled-link:hover::after {
    width: 100%;
}

/* Button-like Links */
.button-link {
    background-color: #0d299a;
    color: white !important;
    border-radius: 10px;
    padding: 10px 15px;
    transition: background-color 0.3s ease;
}

.button-link:hover {
    background-color: #0b217c;
}

/* --- Sidebar --- */
.sidebar {
    width: 400px;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -400px;
    padding: 0 30px;
    z-index: 9999;
    background: rgba(9, 22, 77, 0.85);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.3s ease;
}

.sidebar.open {
    right: 0;
}

.sidebar-header {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
}

.sidebar-title {
    color: rgba(255, 255, 255, 0.97);
    font-size: 30px;
    font-weight: 800;
    margin-left: 80px;
}

/* Close Button */
.close-btn {
    border: none;
    background-color: transparent;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
    position: absolute;
    right: 20px;
    top: 20px;
}

.close-btn:hover {
    transform: scale(1.1);
}
.image-wrapper.left {
    display: flex;
    justify-content: flex-start; /* Align the image flush with the left edge */
    position: relative;
    max-width: 700px;
    margin: 20px 0 0 0; /* Remove auto margins to avoid centering */
}

/* Animation for image sliding in from the left */
.animated-img-left {
    animation: slideInFromLeft 1s ease-out;
    width: 80%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animated-img-left {
    animation: slideInFromLeft 1s ease-out;
    width: 80%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Optional: Adjust gap between left and right sides if needed */
.wrapper.flexSpaceCenter {
    gap: 20px; /* Adjust this value as required */
}
/* Sidebar Links */
.ul-style {
    padding: 40px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    list-style: none;
}

.ul-style li {
    margin: 20px 0;
    transition: transform 0.3s ease;
}

.ul-style li:hover {
    transform: translateX(10px);
}

.sidebar-link {
    display: block;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    padding: 15px 20px;
    transition: background 0.3s ease, color 0.3s ease;
}

.sidebar-link:hover {
    background: rgba(255, 107, 107, 0.1);
    color: rgba(124,23,23,0.97);
}

/* --- Backdrop --- */
.backdrop {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    background: rgba(0, 0, 0, 0.8);
    display: none;
}

/* --- About Section --- */
.about-section {
    padding-top: 80px;
    min-height: 840px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 960px) {
    .about-section {
        flex-direction: column;
        padding-top: 60px;
    }
}

/* Left Side */
.left-side {
    width: 50%;
    display: flex;
    align-items: center;
}

@media (max-width: 960px) {
    .left-side {
        width: 100%;
        order: 2;
        margin: 50px 0;
        text-align: center;
    }
}

.heading {
    font-size: 30px;
    font-weight: 800;
}

/* Paragraph in About Section */
.header-p {
    max-width: 470px;
    padding: 15px 0 50px 0;
    line-height: 1.5rem;
    font-size: 20px;
}

/* Button Wrapper */
.btn-wrapper {
    max-width: 190px;
    margin: 0;
}

@media (max-width: 960px) {
    .btn-wrapper {
        margin: 0 auto;
    }
}

/* Right Side */
.right-side {
    width: 50%;
    position: relative;
}

@media (max-width: 960px) {
    .right-side {
        width: 100%;
        order: 1;
        margin-top: 30px;
    }
}

/* Image Wrapper */
.image-wrapper {
    display: flex;
    justify-content: flex-end;
    position: relative;
    max-width: 700px;
    margin: 20px auto 0;
}

@media (max-width: 960px) {
    .image-wrapper {
        justify-content: center;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .image-wrapper {
        margin-top: 30px;
        padding: 0 15px;
    }
}

/* Animated Image */
.animated-img {
    animation: slideInFromRight 1s ease-out;
    width: 80%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}

@media (max-width: 960px) {
    .animated-img {
        width: 100%;
        max-height: 500px;
    }
}

@media (max-width: 768px) {
    .animated-img {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .animated-img {
        max-height: 500px;
    }
}

/* Dots Wrapper */
.dots-wrapper {
    position: absolute;
    right: -100px;
    bottom: -60px;
    z-index: 1;
}

@media (max-width: 1200px) {
    .dots-wrapper {
        right: -50px;
    }
}

@media (max-width: 960px) {
    .dots-wrapper {
        right: 20px;
        bottom: 50px;
    }
}

@media (max-width: 768px) {
    .dots-wrapper {
        display: none;
    }
}

/* --- Keyframes --- */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* --- Footer --- */
/* Footer Wrapper */
#footer {
    width: 100%;
    background: rgba(227, 226, 226, 0.87); /* Light background */
    color: #333; /* Dark text */
    padding: 40px 0;
}

/* Container for Footer Content */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Top Section */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 1px solid #000; /* Black separator */
}

/* Logo Styles */
.logo {
    width: 150px;
    cursor: pointer;
}

/* Useful Links Styles */
.useful-links {
    display: flex;
    gap: 20px;
}

/* Footer Bottom Section */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
}

.footer-bottom p {
    color: #000;
}

.footer-bottom p span {
    font-weight: bold;
    color: #0d299a;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .useful-links {
        margin-top: 15px;
        flex-direction: column;
        gap: 10px;
    }
}

.lightBg {
    background-color: #f9f9f9;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.flexSpaceCenter {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.flexCenter {
    display: flex;
    align-items: center;
    justify-content: center;
}
.extraBold {
    font-weight: 800;
}
.semiBold {
    font-weight: 600;
}
.font60 {
    font-size: 60px;
}
.font16 {
    font-size: 16px;
}
.radius8 {
    border-radius: 8px;
}

/* Keyframes for animation */
@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Wrapper */
section.wrapper {
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media (max-width: 960px) {
    section.wrapper {
        flex-direction: column;
        padding-top: 60px;
    }
}

/* Left Side */
.left-side {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
}
@media (max-width: 960px) {
    .left-side {
        width: 100%;
        order: 2;
        margin: 50px 0;
        text-align: center;
    }
}
@media (max-width: 560px) {
    .left-side {
        margin: 80px 0 50px 0;
    }
}

.right-side {
    width: 50%;
    height: 100%;
    position: relative;
    margin-right: 50px;
}
@media (max-width: 960px) {
    .right-side {
        width: 100%;
        order: 1;
        margin-top: 30px;
    }
}

.header-p {
    max-width: 470px;
    padding: 15px 0 50px;
    line-height: 1.5rem;
}
@media (max-width: 960px) {
    .header-p {
        padding: 15px 0 50px;
        text-align: center;
        max-width: 100%;
    }
}

.btn-wrapper {
    max-width: 190px;
}
@media (max-width: 960px) {
    .btn-wrapper {
        margin: 0 auto;
    }
}

.image-wrapper {
    display: flex;
    justify-content: flex-end;
    position: relative;
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 20px auto 0;
}
@media (max-width: 960px) {
    .image-wrapper {
        justify-content: center;
        max-width: 100%;
    }
}
@media (max-width: 480px) {
    .image-wrapper {
        margin-top: 30px;
        padding: 0 15px;
    }
}

.animated-img {
    animation: slideInFromRight 1s ease-out;
    width: 80%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 8px;
    position: relative;
    z-index: 2;
}
@media (max-width: 960px) {
    .animated-img {
        width: 100%;
        max-height: 500px;
    }
}
@media (max-width: 768px) {
    .animated-img {
        max-height: 400px;
    }
}
@media (max-width: 480px) {
    .animated-img {
        max-height: 500px;
    }
}

/* Dots Wrapper */
.dots-wrapper {
    position: absolute;
    right: -100px;
    bottom: -60px;
    z-index: 1;
}
@media (max-width: 1200px) {
    .dots-wrapper {
        right: -50px;
    }
}
@media (max-width: 960px) {
    .dots-wrapper {
        right: 20px;
        bottom: 50px;
    }
}
@media (max-width: 768px) {
    .dots-wrapper {
        display: none;
    }
}

/* Styled Link & Button */
.styled-link {
    text-decoration: none;
    display: inline-block;
    width: 100%;
}
.full-button {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.full-button:hover {
    background-color: #102c7c;
}
.useful-links ul {
    list-style: none; /* Removes dots */
    display: flex;
    gap: 20px;
    padding: 0;
}

.useful-links ul li a {
    text-decoration: none; /* Removes underline */
    color: #102c9c; /* Changes color to light blue */
    font-size: 14px;
}

.useful-links ul li a:hover {
    color: #87CEFA; /* Lighter blue on hover */
}

.styled-link.active {
    color: #0d299a;
}

.styled-link.active::after {
    width: 100%;
    background: #0d299a;
}

#home {
    margin-top: 50px;
    padding: 80px 60px;
}

#home1 {
    /*margin-top: 180px; previously*/
    margin-top: 130px;
    padding: 40px 20px;
}

.wrapper.flexSpaceCenter {
    gap: 10px;
}

/* Container for the entire “Bharat Connect” section */
.bharat-connect-container {
    display: flex;
    /*margin-top: 50px; previously*/
    margin-top: 40px;
    justify-content: center;
    align-items: center;        /* Vertically center them */
    gap: 30px;                  /* Space between left and right sections */
    padding: 20px;              /* Outer padding around the entire container */
    font-family: Poppins, sans-serif;
}

/* Left Section (Logo / Heading) */
.bc-left {
    flex: 0 0 auto;             /* Keep left section from shrinking */
    text-align: center;         /* Center text if using a heading */
}
.bc-font{
    font-size: 18px;
    line-height: 1.5rem;
}
.bc-logo {
  width: 240px;
  height: auto;
}

.bc-right {
    flex: 1;                    /* Let the right section fill remaining space */
    max-width: 700px;           /* Optional: limit the width for readability */
}

.wrapper1 {
    padding: 80px 60px;
}