* {
    box-sizing: border-box;
  }
  
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* hides unwanted horizontal scroll */
    width: 100%;
  }
  

.background-blue {
    background: linear-gradient(to right bottom, #000000, #003f7d);
}

.navbar {
    margin-bottom: 30px !important;
    padding: 10px 20px !important;
}

.navbar-brand {
    font-weight: bold !important;
    color: white;
    display: flex;
    align-items: center !important;
    margin-left: 30px !important;
    margin-right: 40px !important;
}

.navbar-brand span {
    margin-top: 5px;
    color: white;
    font-size: 25px;
    align-items: center;
}

@media (max-width:1024px) {

    .navbar-brand span,
    .ue-logo {
        margin-bottom: 30px !important;
    }

    .navbar-toggler-icon {
        filter: invert(100%) brightness(200%);
    }
} 

/* @media (min-width: 988px) and (max-width: 1228px) {
    .navbar-nav {
      flex-wrap: wrap;
      justify-content: center !important;
      gap: 10px;
    }
  
    .btn-phone {
      margin-left: 0 !important;
      display: block;
      margin: 20px auto;
    }
  
    .navbar-collapse {
      justify-content: center !important;
      align-items: center !important;
    }
  } */
  
  /* Mobile Tweaks */
  /* @media (max-width: 768px) {
    .navbar-collapse {
      flex-direction: column;
      align-items: center;
    }
  
    .navbar-nav .nav-item {
      margin-bottom: 10px;
    }
  
    .btn-phone {
      margin: 15px auto;
    }
  
    .container {
      padding: 0 15px;
    }
  
    .heading-section h1 {
      font-size: 2rem;
      text-align: center;
    }
  
    .subtext {
      font-size: 18px;
      padding: 0 10px;
      margin-bottom: 100px;
    }
  } */

.navbar-brand img {
    height: 45px;
    width: 45px;
    margin-right: 8px !important;
}

.nav-link {
    color: white !important;
    font-size: 17px !important;
    font-family: 'Inter', sans-serif;
}

.navbar-nav .nav-item {
    margin-right: 15px !important;
    /* Adjust as needed */
}

.nav-link.active {
    font-weight: bold;
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* Optional: Smooth transition */
.dropdown-menu {
    display: none;
    transition: all 0.3s ease-in-out;
}



.btn-phone {
    /* background-color: black; */
    color: white !important;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    padding: 12px 24px !important;
    height: 55px !important;
    width: 220px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out;
    position: relative !important;
    overflow: hidden;
    font-family: 'Poppins', sans-serif !important;
}

.btn-phone i {
    margin-right: 10px !important;
    font-size: 1.2rem !important;
}

.btn-phone::before {
    content: "";
    position: absolute;
    inset: 0px;
    /* Ensures border doesn't overlap */
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.btn-phone:hover {
    background-color: #FFD700 !important;
    color: black;
    border: 2px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 50px;
}

.heading-section h1 {
    font-size: 3rem;
    font-weight: bold;
    color: white;
}

.heading-section {
    position: relative;
    display: inline-block;
    margin-top: 30px;
}

.container {
    font-size: 22px;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.subtext {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 180px;
    display: block;
}

.underline-text {
    position: relative;
    display: inline-block;
}

.underline-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 5px;
    background-color: blue;
    animation: underline-animation 3s ease-in-out forwards;
}

/* Keyframes for left-to-right animation */
@keyframes underline-animation {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
        /* Start from 50px below */
    }

    to {
        opacity: 1;
        transform: translateY(0);
        /* Move to original position */
    }
}

.animated-text {
    animation: slideUp 1.5s ease-out;
}

.custom-card {
    background: #F5F9FF;
    padding: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 1250px;
    height: auto;
    margin: auto;
    margin-top: -90px;
    flex-direction: row;
}

.custom-card-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.custom-card-image {
    position: relative;
    width: 1200px;
    max-width: 100%;
    height: 550px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    display: block;
}

/* -------- Responsive Styles -------- */

/* Medium devices (tablets, 768px and up) */
@media (max-width: 1024px) {
    .custom-card {
        flex-direction: column;
        padding: 30px;
        margin-top: -60px;
    }

    .custom-card-content {
        flex-direction: column;
        gap: 20px;
    }

    .custom-card-image {
        width: 100%;
        height: 400px;
    }

    .custom-card-image img {
        border-radius: 30px;
    }
}

/* Small devices (phones, up to 767px) */
@media (max-width: 767px) {
    .custom-card {
        padding: 20px;
        margin-top: -40px;
    }

    .custom-card-image {
        height: 250px;
    }

    .custom-card-image img {
        border-radius: 20px;
    }
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button i {
    font-size: 24px;
    color: black;
}

.play-button:hover {
    background: rgba(255, 255, 255, 1);
}

.our-story {
    padding: 60px 0;
}

.our-story h3 {
    color: #007bff;
    font-weight: bold;
    margin-bottom: 15px;
}

.our-story h1 {
    font-size: 32px;
    font-weight: 600;
    color: #7e7e7e;
    margin-top: 20px;
    line-height: 1.4;
}

.our-story ul {
    font-size: 18px;
    color: #7e7e7e;
    list-style-type: circle;
    padding-left: 20px;
    margin-top: 20px;
}

/* Carousel Image Styling */
.carousel-inner img {
    border-radius: 30px;
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .our-story h1 {
        font-size: 28px;
    }

    .carousel-inner img {
        max-height: 300px;
    }
}

@media (max-width: 767px) {
    .our-story {
        padding: 40px 0;
    }

    .our-story h1 {
        font-size: 24px;
    }

    .our-story h3 {
        font-size: 20px;
    }

    .our-story ul {
        font-size: 16px;
    }

    .carousel-inner img {
        max-height: 250px;
    }

    .container-story .row {
        flex-direction: column-reverse;
    }

    .our-story-content {
        text-align: center;
    }
}


.stats-section {
    background-color: #111;
    color: white;
    padding: 60px 0;
    text-align: center;
    width: 100%;
    overflow-x: hidden;
}

.stats-number {
    font-size: 55px;
    font-weight: bold;
    font-family: 'Inter', sans-serif;
}

.stats-text {
    font-size: 20px;
    color: #aaa;
    max-width: 200px;
    margin: 0 auto;
}

.container-stats .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    padding: 0 20px;
}

.container-stats .col-md-2 {
    flex: 0 1 180px;
    text-align: center;
}

/* Tablets */
@media (max-width: 1024px) {
    .stats-number {
        font-size: 45px;
    }

    .stats-text {
        font-size: 18px;
    }

    .container-stats .col-md-2 {
        flex: 0 1 160px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .stats-number {
        font-size: 36px;
    }

    .stats-text {
        font-size: 16px;
    }

    .container-stats .row {
        gap: 30px;
    }

    .container-stats .col-md-2 {
        flex: 0 1 100%;
    }
}



.rounded-custom {
    border-radius: 20px;
    width: 100%;
    max-width: 550px;
    height: auto;
    display: block;
    object-fit: cover;
}


.timeline-item {
    position: relative;
    margin-bottom: 20px;
    margin-top: 40px;
    padding-left: 20px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background: #007bff;
    border-radius: 50%;
}


.container-vision h4,
.container-vision h1 {
    margin-left: 50px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .container-vision img {
        margin-left: 0;
        width: 100%;
        height: auto;
    }

    .container-vision h4,
    .container-vision h1 {
        margin-left: 20px;
        text-align: left;
    }

    .timeline-item {
        margin-left: 20px !important;
    }
}

@media (max-width: 767px) {
    .container-vision .row {
        flex-direction: column;
    }

    .container-vision img {
        margin: 0 auto 30px auto;
        display: block;
    }

    .container-vision h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .timeline-item {
        padding-left: px;
        margin-left: 0;
    }
}


.custom-card1 {
    background: #F5F9FF url('../assets/img.webp') center/cover no-repeat;
    padding: 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: auto;
    margin-bottom: 50px;
    height: auto; /* Let content decide height */
}

.custom-card-content1 {
    background-color: rgba(0, 0, 0, 0.6); /* Improves text readability */
    padding: 30px;
    border-radius: 20px;
    width: 100%;
}

.container-advantage {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantage h3 {
    color: white;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}

.advantage ul {
    list-style-type: disc;
    padding-left: 20px;
    color: white;
}

.advantage li {
    margin-bottom: 20px;
}

.advantage h5 {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.advantage h6 {
    color: white;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 10px;
}


/* Parallax Background */
.parallax-container {
    position: relative;
    width: 100%;
    height: 60vh;
    background-image: url('../assets/parallex2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 5%;
}

.parallax-content {
    background: rgba(0, 0, 0, 0.6); /* Slightly darker for better contrast */
    padding: 40px;
    color: white;
    max-width: 600px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Heading */
.parallax-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Paragraph */
.parallax-content p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .parallax-container {
        height: auto;
        padding: 30px 20px;
        background-attachment: scroll; /* avoid iOS issues */
    }

    .parallax-content {
        max-width: 100%;
        margin: 0;
        padding: 20px;
        border-radius: 15px;
    }

    .parallax-content h1 {
        font-size: 24px;
    }

    .parallax-content p {
        font-size: 16px;
    }
}


.foo-bg{
    background: linear-gradient(to right bottom, #000000, #003f7d);

}
/* @media (max-width:768px) {
.foo{
    width: 1000px;
}
} */