.navbar-area.navbar-two .navbar .navbar-nav .nav-item a {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 80px; /* Adjust this value based on your navbar height */
    flex-direction: column; /* This ensures all content is stacked vertically */
}

/* Add specific styling for single-line nav items (Home and FAQ) */
.navbar-area.navbar-two .navbar .navbar-nav .nav-item a:not(:has(br)) {
    justify-content: center; /* Center vertically */
    padding-top: 0; /* Remove any top padding that might be pushing it up */
    padding-bottom: 0; /* Remove any bottom padding that might be pushing it down */
}

@supports not selector(:has(br)) {
    /* Fallback for browsers that don't support :has */
    .navbar-area.navbar-two .navbar .navbar-nav .nav-item:nth-child(1) a,
    .navbar-area.navbar-two .navbar .navbar-nav .nav-item:nth-child(5) a {
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* When in hamburger mode, reset padding for nav items */
@media only screen and (max-width: 991px) {
    .nav-text-padding {
        padding-top: 0 !important;
    }
    
    .navbar-area.navbar-two .navbar .navbar-nav .nav-item a {
        min-height: auto; /* Reduce height for mobile menu items */
        padding: 10px 0;
    }
}

.navbar-area.navbar-two .navbar .navbar-nav .nav-item {
    margin: 0 12px;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.text-color-primary {
    color: #264e84;
}
.text-color-secondary {
    color: #f6c405;
}
.text-color-secondary-dark {
    color: #c19900;
}

.header-text {
    margin-top: 150px;
    color: #264e84;
}
.body-text {
    font-size: 1rem;
    color: #264e84;
}

.heading {
    color: #334d80; /* Dark blue color for the heading */
    font-weight: bold;
    font-size: 1.5rem;
}
.text-hero-content {
    font-size: 1.3rem;
    line-height: 1.5rem;
    color: #334d80;
}

.text-content {
    font-size: 1.5rem;
    line-height: 2rem;
    /*color: #334d80;*/
}
.text-content ul {
    list-style-type: disc;
    padding-left: 40px;
}
.text-content li {
    margin-bottom: 8px;
    list-style-type: disc;
    padding-bottom: 10px;
}

/* font sizes */
p {
    font-size: 1rem;
  }
p, ul {
    font-size: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.6;
    color: #333;
    margin-top: 10px;
}
small {
    font-size: 0.833rem;
  }

hr {
    border-top: 4px solid #6d6e71;
    margin: 2rem 0;
  }

h1 {
    font-size: 2.986rem;
    font-weight: bold;
    color: #334d80;
}
h2 {
    font-size: 2.488rem;
    font-weight: bold;
    color: #334d80;
}
h3 {
    font-size: 2.074;
    font-weight: bold;
    color: #334d80;
   /* margin-left: 60px;  Adjust to provide space for the icon */
}
h4 {
    /*font-size: clamp(1rem, 2vw, 2rem);*/
    font-size: 1.728rem;
    font-weight: bolder;
}  
h5 {
    font-size: 1.44rem;
    font-weight: bolder;
}  
h6 {
    font-size: 1.2rem;
    font-weight: bolder;
}  

/*input*/

input[type="radio"] {
  width: 16px; /* Double the current width */
  height: 16px; /* Double the current height */
  transform: scale(1.5); /* Adjust the scale as needed */
}

/* boxes */
.box {
    border: 2px solid #264e84;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.box img {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    position: absolute;
    top: 20px;
}
.box p {
    width: 100%;
}

.box strong {
    display: block;
    margin-top: 120px;
}
.box-header-text {
    margin-top: 150px;
    color: #264e84;
}
.box-body-text {
    font-size: 1rem;
    color: #264e84;
}

/* Buttons */
.hero-btn {
    background: #f6c405;
    color: #334d80;
    padding: 10px 20px;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Subtle shadow on hover */
}

.hero-btn:hover {
    background-color: #264e84; /* Darker shade for hover */
    transform: translateY(-1px);  /* Slight lift effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Subtle shadow on hover */
    transition: all 0.3s ease;  /* Smooth transition */
}

.learn-more-btn {
    background-color: #f6c405; /* Yellow button */
    color: #ffffff;
    border: none;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Subtle shadow on hover */
}
.learn-more-btn:hover {
    background-color: #f6c405; /* Slightly darker yellow on hover */
    transform: translateY(-1px);  /* Slight lift effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Subtle shadow on hover */
    transition: all 0.3s ease;  /* Smooth transition */
}


.btn-custom {
    background-color: #ffc107;
    color: #000;
    border: none;
    padding: 10px 30px;
    font-weight: bold;
    border-radius: 25px;
}
.btn-custom:hover {
    background-color: #f6c405;
}


.menu-btn2 {
    background-color: #f6c405; /* Yellow button */
    color: #ffffff;
    border: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 20px;
    min-width: 230px;
    padding-top: 10px;
    padding-bottom: 10px;
    justify-content: center;
}

.menu-btn2:hover {
    background-color: #264e84;/* Darker shade for hover */
    color:white;
    transform: translateY(-1px);  /* Slight lift effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Subtle shadow on hover */
    transition: all 0.3s ease;  /* Smooth transition */
}


.menu-btn {
    background-color: #f6c405; /* Yellow button */
    color: #ffffff;
    border: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 20px;
}

.menu-btn:hover {
    background-color: #264e84;/* Darker shade for hover */
    color:white;
    transform: translateY(-1px);  /* Slight lift effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Subtle shadow on hover */
    transition: all 0.3s ease;  /* Smooth transition */
}

.primary-btn {
    background: #f6c405;
    color: var(--white);
    box-shadow: var(--shadow-4);
    font-size: clamp(1rem, 2vw, 1.5rem);
    padding: 10px 20px;
    border-radius: 20px;
}

.primary-btn:hover {
    background-color: #264e84;/* Darker shade for hover */
    transform: translateY(-1px);  /* Slight lift effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Subtle shadow on hover */
    transition: all 0.3s ease;  /* Smooth transition */
}

.secondary-btn {
    background: #f6c405;
    color: #334d80;
    box-shadow: var(--shadow-4);
    font-size: clamp(1rem, 2vw, 1.5rem);
    padding: 10px 20px;
    border-radius: 20px;
}

.secondary-btn:hover {
    background-color: #264e84; /* Darker shade for hover */
    transform: translateY(-1px);  /* Slight lift effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Subtle shadow on hover */
    transition: all 0.3s ease;  /* Smooth transition */
}



/* Generic */

.rounded-image {
    border-radius: 13px;
}

.h4card-title {
    font-size: clamp(1.4rem, 2vw, 2rem);
    font-weight: bolder;
}  



.row {
    margin-right: 0;
}

/* faq */
.study_name_txt {
    font-weight: bold;
    color: #f68029;
}

/* image overlay */
.responsive-container {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Adjust based on your layout */
    overflow: hidden;
}

.responsive-img {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensures the image covers the container */
    object-position: right; /* Focus on the right side of the image */
    border-radius: 10px; /* Optional: adds rounded corners to the image */
}

.overlay-box {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
}

.overlay-box_2 {
    position: absolute;
    top: 20px; /* Places the box at the top */
    left: 20px; /* Places the box on the left */
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    padding: 15px 25px; /* Adjusted padding */
    border-radius: 10px;
    text-align: left; /* Aligns text to the left */
    max-width: 300px; /* Max width for the text box */
}

.box-text {
    font-size: 34px;
    font-weight: bold;
    color: black;
}

.box-text_2 {
    font-size: 34px;
    font-weight: bold;
    color: black;
    line-height: 1.4; /* Adjusted line height */
}

/* Media query for responsive behavior */


/* info boxes */
.container {
    margin: 0 auto;
}

.column-container {
    display: flex;
    justify-content: space-between; /* Aligns the boxes side by side */
    gap: 20px; /* Adds space between the boxes */
   /*  flex-wrap: wrap; Ensures boxes wrap on smaller screens */
}

.info-box {
    /* Two boxes side-by-side  
    width: 100%;
     */
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    position: relative;
}

.header-box {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.icon-wrapper {
    position: absolute;
    top: -45px;
    left: -45px;
    /*background-color: #f68029;*/
    border-radius: 50%;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-icon {
    width: 60px; /* Adjust size */
    height: 60px;
}



/* Media query for mobile devices */
@media (max-width: 768px) {
    .column-container {
        flex-direction: column; /* Stacks boxes on smaller screens */
    }

    /*
    .info-box {
        width: 100%; 
    }
    */
    
    .icon-wrapper {
        top: -45px;
        left: -45px;
    }
/*
    h3 {
        margin-left: 80px; 
    }
*/

    .responsive-img {
        object-position: 60% right; /* Focus more on the right side when screen is smaller */
    }
    .overlay-box {
        left: 10px;
        right: 10px;
        padding: 8px 15px;
    }
    .box-text {
        font-size: 18px; /* Smaller font size on smaller screens */
    }
    .overlay-box_2 {
        top: 10px;
        left: 10px;
        padding: 12px 18px; /* Adjusted padding for smaller screens */
        max-width: 250px; /* Adjusted width for mobile view */
    }
    .box-text_2 {
        font-size: 18px; /* Smaller font size on smaller screens */
    }

    .menu-btn {
        font-size: 0.6rem; /* Adjust font size */
        padding: 0.25rem 0.25rem; /* Adjust padding */
        line-height: 1rem;
        max-width: 111px;
}

}

 

/* end faq */









/* Small devices (landscape phones, 576px and up) */

@media (max-width: 576px) { 

    .menu-btn {
            font-size: 0.6rem; /* Adjust font size */
            padding: 0.25rem 0.25rem; /* Adjust padding */
            line-height: 1rem;
            max-width: 111px;
    }


 }

/* Hide navbar button on small screens (less than 500px) */
@media (max-width: 499px) {
    .navbar-btn {
        display: none !important;
    }
    .navbar-btn2 {
        display: block !important;
    }

    navbar-area.navbar-two .navbar .navbar-nav .nav-item a:not(:has(br)) {
        justify-content: center;
        padding-top: 0;
        padding-bottom: 0;
        margin-top: 10px;
        margin-bottom: 10px;
    }


}

@media (min-width: 576px) { 

 }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 

 }

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 

 }

/*  Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 

 }