* {
    font-family: "Jost", sans-serif;
    font-style: normal;
}

h2 {
    color: #2E3192;
    text-align: center;
}

a {
    text-decoration: none;
}

/* Navbar style */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.navbar-nav .nav-item a {
    color: #000000;
    font-size: 13px;
}

.navbar-nav .nav-item a:hover {
    
    color: #000000;
    font-size: 14px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

/* CSS to make the dropdown display on hover */
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    z-index: 1050;
    position: absolute;
    padding: 5px;
}

.navbar-nav .dropdown:hover .dropdown-menu>li {
    margin-bottom: 10px !important;
}

/* Style for the search container */
.searchcontainer {
    position: relative;
    display: flex;
    align-items: center;
    background: transparent;
}

/* Search icon button styling */
.search-icon {
    position: absolute;
    right: 10px; /* Position the icon on the right side */
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #333;
    z-index: 1; /* Ensure the icon appears above the input */
}

/* Search input field styling */
.search-input {
    width: 200px; /* Set a fixed width for the input field */
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Ensure padding does not affect width */
    transition: none; /* Remove any transition effects */
    background: transparent;
}
  


/* Home section style */

.homeSection {
    background-image: url('/assets/images/home/landing_page_bg.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 80vh;
    text-align: left;
    position: relative;
    z-index: 1;
    min-height: 500px;
    padding: 50px 50px 220px 50px; /* increase bottom padding */
}

.homeSection h1 {
    color: white;
}

.homeSection button {
    color: white;
    background: none;
    border: 1px solid white;
    border-radius: 50px;
    padding: 10px 20px;
    margin-top: 25px;
}

/* Bottom Section */
.home_bg_part {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.home_bg_part .row {
    margin: 0;
}


.home_bg_part .overlay {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
}

/*.home_bg_part .col-md-6::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: rgba(0, 0, 255, 0.6);
    z-index: 1;
}*/


.home_bg_part .overlay-text {
    position: absolute;
    bottom: 40%;
    left: 30px;
    padding: 10px;
    font-weight: bold;
    color: white;
    z-index: 2;
}

/* Gradient Background for Sections */
.home_bg_part .col-md-3,
.home_bg_part .col-md-6 {
    padding: 20px;
    color: #fff;
}

.home_bg_part .col-md-6 {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Styles for the 'Image' Section */
.home_bg_part .col-md-6 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Specific Styles for the 'Discount Prices' Section */
#home_discount_prices {
    background-image: linear-gradient(0deg, #000000 0%, #333333 50%, #666666 100%);
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Specific Styles for the 'Package Courses' Section */
#home_package_course {
    background-image: url('/assets/images/home/package_course_image.png');
    background-size: cover;
    background-position: center;
    padding: 20px;
    color: #fff;

    background-color: rgba(0, 0, 0, 0.7);
}

/* Additional styles for responsiveness */
.home_bg_part .col-md-3 {
    min-height: 200px;
}



/* Badge styling */
.badge {
    background-color: #ffc107;
    color: #dc3545;
    padding: 5px;
    border-radius: 3px;
    margin-right: 10px;
}

/* Animation for scrolling effect */
@keyframes scroll-left {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(-1200%);
    }
}

.counter-column {
    background: linear-gradient(0deg, #2E3192 0%, #0E0F2C 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    height: 100%;
    padding: 20px;
}

.attached-image {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.feature h2 {
    color: #2d3192;
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(to top, rgb(46, 49, 146, 0.9), transparent);
    pointer-events: none;
    border-radius: 25px;
}

/* Styles for the text over the image */
.course-overtext .overlay-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-weight: bold;
    text-align: center;
    width: fit-content;
}


/* Tab section style */


.custom-tabs .nav-link {
    background-color: #2E3192;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 0;
    padding: 6px 0;
}

.custom-tabs .nav-link.active {
    background-color: #0E0F2C;
    border: none;
    color: #ffffff;
}

.custom-tabs .nav-link:hover {
    background-color: #1f1f66;
    color: #ffffff;
}

.tab-content {
    border: 1px solid #ddd;
    border-top: none;
    background-color: #f8f9fa;
}


/* Styling for the image container */
/* Container for magnifying glass */
.img-magnifier-container {
    position: relative;
    overflow: hidden; /* Hide overflow to prevent content from spilling out */
}

/* Magnifying glass styling */
.magnifying-glass {
    position: absolute;
    border: 3px solid rgba(255, 255, 255, 0.7); /* Semi-transparent white border */
    border-radius: 50%; /* Make it round */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Soft shadow for depth */
    pointer-events: none; /* Prevent mouse events on the glass */
    display: none; /* Initially hidden */
    width: 100px; /* Size of the magnifying glass */
    height: 100px; /* Size of the magnifying glass */
}

/* Image styles */
.magnifiable-image {
    transition: transform 0.3s ease; /* Smooth transition for zoom effect */
    width: 100%; /* Ensure image is responsive */
    height: auto; /* Maintain aspect ratio */
}


.newsfeed .hr{
    border-bottom: 2px solid #111478;
    width: 300px;
}



/* Post sea course section style */

.custom-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: #2E3192;
    color: white;
    font-weight: 500;
    font-size: 14px;
    border: none;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.custom-button:hover {
    background-color: #0E0F2C;
    color: white;
}

.arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: white;
    color: #2E3192;
    border-radius: 50%;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.custom-button:hover .arrow-circle {
    transform: translateX(5px);
}

.course_offered h2 {
    color: #2d3192;
}


.brochure-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    color: black;
    font-weight: 500;
    font-size: 14px;
    border: none;
    border-radius: 50px;
    transition: background-color 0.3s ease;
    text-decoration: none; /* Remove underline for link */
}

.brochure-button:hover {
    background-color: #2E3192;
    color: white;
}

.brochure-button .arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #2E3192;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.brochure-button:hover .arrow-circle {
    transform: translateY(3px); /* Move down on hover */
    background-color: white;
    color: #2E3192;
}


/* Carousel style */

.tab-content .carousel-card {
    position: relative;
    flex: 0 0 auto;
    width: 420px;
    margin-right: 30px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.tab-content .carousel-card img {
    width: 100%;
    height: 100%;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-card {
    position: relative;
    flex: 0 0 auto;
    width: 300px;
    margin-right: 15px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.carousel-card img {
    width: 100%;
    height: auto;
}

.carousel-card .card-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: #2E3192;
    color: #fff;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}


.carousel-card .view-details {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: #2E3192;
    color: #fff;
    padding: 20px;
    box-sizing: border-box;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-card:hover .view-details {
    opacity: 1;
}

.view-details a {
    color: white;
    text-decoration: none;
}


.carousel-control button {
    border-radius: 50%;
}

/* Course card style */
.home-course .card-custom {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-course .card-top-border {
    height: 5px;
    background-color: #0044cc;
}

.home-course .card-body {
    padding: 1rem;
}

.home-course .card-category {
    font-size: 0.8rem;
    color: #14AE9F;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    background-color: #E6FEF9;
    padding: 2px 8px;
    border: 1px solid #D9D9D9;
    border-radius: 12px;
    display: inline-block;
}

.home-course .card-title {
    font-weight: 600;
}

.home-course .card-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2E3192;
}

.home-course .card-date {
    font-size: 1.1rem;
    font-weight: 600;
}

.home-course .apply-btn {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2E3192;
    border: none;
    transition: background-color 0.3s ease;
}



.home-course .info-link {
    color: #0044cc;
    text-decoration: none;
}

.home-course .info-link:hover {
    text-decoration: underline;
}


.home-course .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: top;
}

.home-course .overlay p {
    font-size: 1.1rem;
}

.home-course .card-custom:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.home-course .card-custom:hover .overlay {
    opacity: 1;
    visibility: visible;
}

.home-course .hover-apply-btn {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    border: none;
    background: #2E3192;
    transition: background-color 0.3s ease;
}

.home-course .hover-apply-btn:hover {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    border: none;
    background: #2E3192;
    transition: background-color 0.3s ease;
}

.home-course .bottom-row {
    border-top: 1px solid #ddd;
    padding: 1rem;
}

.home-course .bottom-row span {
    font-size: 1.1rem;
    font-weight: 500;
}

.knowledge-section h2 {
    color: #2E3192;
}

.knowledge-section .knowledge-row {
    margin: 0;
}

.knowledge-section .knowledge-col {
    padding: 0;
    display: flex;
    align-items: stretch;
}

.knowledge-section .knowledge-inner-row {
    margin: 0;
}

/*Knowledge section style */
.knowledge-section .knowledge-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.3s;
}

.knowledge-section .position-relative {
    position: relative;
}

.knowledge-section .knowledge-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.knowledge-section .knowledge-text {
    color: white;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
}

.knowledge-section .col-12:hover .knowledge-overlay {
    opacity: 1;
}


/* Testimonials style */

.testimonials {
    background-color: #2E3192;
}

.testimonial-video {
    width: 100%;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: transform 0.3s ease;
    object-fit: cover;

}

.testimonial-video:hover {
    transform: scale(1.05);
}

.testimonial-box {
    overflow: hidden;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.testimonials .d-flex.flex-column>.flex-grow-1 {
    flex: 1 0 50%;
    /* Ensures each video in the second column is half the height of the first column */
    display: flex;
    justify-content: center;
    position: relative;
}

.testimonial-caption {
    text-align: left;
    margin-top: 10px;
    font-size: 1rem;
    color: #fff;
}


.eligibility-list {
    list-style: disc;
    padding-left: 1.4rem;
    margin-top: 10px;
    text-align: left;
    align-self: flex-start; /* KEY FIX */
}

.eligibility-list li {
    line-height: 1.6;
}



/* Form style */

.home-form h2 {
    background-image: url('/assets/images/home/form_bg.png');
    background-position: center;
    background-size: cover;
    height: auto;
    width: 100%;
    padding: 30px;
    color: white;
}

.home-form form {
    margin-top: 20px;
    background-color: #F8F9FB;
    padding: 20px 10px;
}

.home-form input,
textarea {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    padding: 10px;
    background-color: #fff;
}

.home-form form .btn {
    background: #2E3192;
    color: white;
}

/*  FAQ style */

.accordion-item {
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin-bottom: 10px;
}

.accordion-button {
    border-bottom: 1px solid #ddd;
    border-radius: 5px;
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

.accordion-body {
    border-top: 1px solid #ddd;
}


/* ContactUs style */
.contactUs {
    color: white;
}

.contactUs .contact-bg {
    background-color: #2E3192;
}

.contactUs .btn {
    background: white;
    color: #2E3192;
}

.contactUs .form-section input,
textarea {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    background: transparent;
    color: white;
}

.contactUs .form-section textarea {
    background: transparent;
    color: white;
}

.contactUs .form-section select {
    background: transparent;
    color: white;
}

.contactUs .form-section option {
    background: transparent;
    color: black;
}

.contactUs .form-section h2 {
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

.contactUs .img-fluid {
    object-fit: cover;
    height: 100%;
}

/* About page style */

.about-column .why-choose {
    background-color: #2E3192;
    color: white;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
    height: 250px;
    transition: background-color 0.3s ease;
    position: relative;
}

.default-text {
    font-size: 16px;
    font-weight: normal;
    margin-top: 10px;
    transition: opacity 0.3s ease;
}

.default-image {
    width: 50px;
    margin-top: 50px;
    transition: opacity 0.3s ease;
}

.hover-text {
    font-size: 16px;
    font-weight: normal;
    margin-top: 10px;
    padding: 12px;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: opacity 0.3s ease;
    width: 100%;
}

.why-choose:hover {
    background-color: #9193D9;
}

.about-column:hover .default-text {
    opacity: 0;
}

.about-column:hover .default-image {
    opacity: 0;
}

.about-column:hover .hover-text {
    opacity: 1;
}

/* Team section style */

.team {
    background-image: url('/assets/images/about/team_bg.png');
    background-size: cover;
    background-position: center;
    height: auto;
    width: 100%;
    padding: 100px;
    color: white;
    text-align: center;
}

.about-team .head {
    position: relative;
    overflow: hidden;
    max-width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.about-team .head img {
    width: 70%;
    height: auto;
    transition: transform 0.3s ease;
}


.about-team .head .designation {
    position: absolute;
    bottom: 0;
    width: 70%;
    height: 100%;
    background-color: rgb(46, 49, 146, 0.5);
    color: #fff;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-team .head:hover .designation {
    transform: translateY(0);
}


.about-team .head div > .profile:hover{
    color: white;
}


.about-team .head div > .profile{
    border: none;
    background: none;
    font-weight: bold;
    color: white;
}

/* Timeline style */

.timeline{
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline img{
    width: 75%;
}

/* Gallery style */

/* Main large image */
.gallery .img-collage-main {
    grid-area: main;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Bottom images */
.gallery .collage-bottom-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; /* Space between images */
    grid-area: bottom1 / bottom2;
}

/* Bottom images styling */
.gallery .img-collage-bottom {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Additional styling for images on the left column */
.gallery .img-collage-left {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Image container for positioning the text overlay */
.gallery .image-container {
    position: relative;
    display: inline-block;
}

/* General image styling */
.gallery .img-collage-left,
.gallery .img-collage-main,
.gallery .img-collage-bottom {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Text overlay styling */
.gallery .text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: rgb(46, 49, 146, 0.5); /* Semi-transparent black background */
    color: white;
    padding-top: 20px;
    font-size: 15px;
    text-align: center;
    font-weight: 500;
}

.gallery #gallery-text{
    height: 25%;
    padding-top: 15px;
}

.gallery h4 {
    color: #2E3192;
    text-align: center;
}

/* Course page style */

.blue-box{
    box-sizing: border-box;
    width: 100%;
    height: 30px;
    background: linear-gradient(to right, rgb(46, 49, 146, 0.9) 40%, transparent);
}



/* Make the tabs look more prominent */
.course-page .nav-pills .nav-link {
    background-color: #f8f9fa;
    color: #000;
    border: 1px solid #ddd;
    border-radius: 0;
    margin-bottom: 5px;
    text-align: left;
    font-size: 14px;
}

/* Active tab styling */
.course-page .nav-pills .nav-link.active {
    background-color: #2E3192;
    color: #fff;
}

.course-page .tab-content{
    border: 1px solid #ddd;
}

.course-page .tab-content{
    border: none;
    background: none;
}

.course-page .table th{
    background: #22C9CF;
    color: white;
}

.course-page .table select{
    background: #8E90D3;
    color: white;
}

.course-page .table button{
    background: #8E90D3;
    color: white;
}


.course-page .responsive-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}

.course-page .responsive-table th,
.course-page .responsive-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    word-wrap: break-word;
    text-align: center;
}


.course-page .table {
    table-layout: fixed;
    width: 100%;
}

.course-page .table th,
.course-page .table td {
    word-wrap: break-word;
    text-align: center; /* Center-aligns text in all columns */
}

.seat-availability {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.seat-availability .course-head{
    box-sizing: border-box;
    padding: 15px;
    background: #2E3192;
    color: white;
    min-width: 80%;
    border-radius: 10px 10px 0 0;
    font-weight: bold;
    text-align: center;
}

.seat-availability .sub-course-head{
    box-sizing: border-box;
    padding: 5px;
    background: #2E3192;
    color: white;
    min-width: 80%;
}

.seat-availability .tables {
    width: 80%;
    box-sizing: border-box;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

.seat-availability .tables th,
.tables td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    text-align: center;
}

.seat-availability .tables thead th {
    background: #22C9CF;
    color: white;
    font-weight: bold;
    text-align: center;
}

.tables tbody tr:nth-child(odd) {
    background-color: #ffffff; /* Light gray for odd rows */
}

.tables tbody tr:nth-child(even) {
    background-color: #f2f2f2; /* White for even rows */
}

/* Discount page style */
.seat-availability-discount .tables th,
.tables td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}

.seat-availability-discount{
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;  
}

.seat-availability-discount .tables thead th {
    background: #22C9CF;
    color: white;
    font-weight: bold;
    text-align: left;
}

.seat-availability-discount .tables tbody tr:nth-child(odd) {
    background-color: #ffffff; /* Light gray for odd rows */
}

.seat-availability-discount .tables tbody tr:nth-child(even) {
    background-color: #f2f2f2; /* White for even rows */
}


.automaticradar .marine-courses{
    color: #2E3192;
    text-align: left;
}

/* Bank-details page style */

.bank-details{
    box-sizing: border-box;
    background: linear-gradient(to right, #080B66 0%, #1116CC 49%, #080B66 100%, transparent);
    padding: 10px;
}

.bank-details h2{
    color: white;
}


/* Footer section style */

.footer {
    background-color: #f8f9fa;
    padding: 40px 20px;
    border-top: 1px solid #ddd;
}

.footer h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2E3192;
}

.footer a {
    color: #343a40;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.social-icons a {
    margin-right: 10px;
    font-size: 22px;
}

.social-icons .fa-facebook {
    color: #3b5998;
}

/* Facebook Blue */
.social-icons .fa-youtube {
    color: #FF0000;
}

/* YouTube Red */
.social-icons .fa-linkedin {
    color: #0077b5;
}

/* LinkedIn Blue */
.social-icons .fa-whatsapp {
    color: #25D366;
}

/* WhatsApp Green */
.social-icons .fa-instagram {
    color: #C13584;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
}


/* Modal styles */
.home-page-contact .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Modal content styles */
.home-page-contact .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    height: auto;
    position: relative;
}

/* Close button styles */
.home-page-contact .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
}

.home-page-contact .close:hover,
.home-page-contact .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


.contactUs .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.contactUs .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    height: auto;
    position: relative;
    color: #000;
}

/* Close button styles */
.contactUs .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
}

.contactUs .close:hover,
.contactUs .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Whatsapp Button */
.whatsapp-button {
    position: fixed;
    right: 20px; /* Adjust the distance from the right */
    bottom: 70px; /* Adjust the distance from the bottom */
    background-color: #25D366;
    color: white;
    width: 50px; /* Equal width and height for circle */
    height: 50px; /* Equal width and height for circle */
    border-radius: 50%; /* Makes it a perfect circle */
    text-align: center; /* Centers the icon horizontally */
    line-height: 50px; /* Centers the icon vertically */
    text-decoration: none;
    font-size: 24px; /* Adjust icon size */
    z-index: 1000; /* Keeps it above other elements */
}

.whatsapp-button i {
    margin: 0;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}


/* Video style */

/* Style for the new video button */
.new-video-button {
    position: fixed;
    right: 20px; /* Adjust the distance from the right */
    bottom: 150px; /* Adjust the distance from the bottom */
    background-color: #2d3192; /* Background color */
    color: white; /* Text color (if applicable) */
    width: 100px; /* Width of the box */
    height: 100px; /* Height of the box */
    border-radius: 10px; /* Rounded corners */
    text-align: center; /* Centers the image */
    line-height: 100px; /* Centers the image vertically */
    text-decoration: none; /* Removes underline */
    z-index: 1000; /* Keeps it above other elements */
    box-shadow: 0 4px 4px 4px #1116CC;
}

/* Style for the image inside the button */
.new-video-button .video-thumbnail {
    width: 100%;
    height: 100%;
    border-radius: 10px; /* Matches the button's border radius */
    object-fit: cover; /* Ensures the image fits well */
}

/* Hover effect */
.new-video-button:hover {
    background-color: #1116CC; /* Darker background color on hover */
}



/* Overlay that scrolls with page */
.welcome-popup-overlay {
    position: absolute;   /* ðŸ”¥ key change */
    top: 0;
    left: 0;
    width: 100%;
    min-height: 120vh;    /* cover visible area */
    background: rgba(0, 0, 0, 0.7);

    display: none;
    justify-content: center;
    align-items: center;

    z-index: 9999;
}

/* Popup container */
.welcome-popup {
    position: relative;
    max-width: 90%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 50px; /* slight spacing from top */
}

/* Image */
.welcome-popup img {
    width: 100%;
    height: auto;
    display: block;
}

/* Close button */
.welcome-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    font-size: 28px;
    cursor: pointer;
    padding: 2px 10px;
    border-radius: 4px;
}

<style>
#heads .row{
    row-gap: 30px;
}

#heads .col-md-3{
    display: flex;
}

#heads .col-md-3 > div{
    width: 100%;
}

.head{
    width: 100%;
    max-width: 260px;
    margin: auto;
}

.head img{
    width: 100%;
    height: 320px;          /* Same image height */
    object-fit: cover;      /* Crop nicely */
    object-position: top;   /* Align face to top */
    border-radius: 12px;
    display: block;
}

.text-center{
    margin-top: 15px;
    min-height: 90px;       /* Keeps name/designation aligned */
    min-height:150px;
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

.designation{
    margin-top: 12px;
    text-align: center;
}

.profile{
    border: none;
    background: #002f6c;
    padding: 8px 18px;
    border-radius: 30px;
}

.profile a{
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}
</style>


/* ===============================
   ADVANCED ANNOUNCEMENT TICKER
   =============================== */

.announcement-container {
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove Bootstrap spacing */
.announcement-row > div {
    padding: 0 !important;
}

/* LEFT LABEL */
.announcement-topic {
    height: 45px;
    display: flex;
    align-items: center;
    background: #2E3192;
    color: #fff;
    padding: 0 12px;
    font-size: 14px;
    white-space: nowrap;
}

/* RIGHT SCROLL AREA */
.announcement-scroll {
    position: relative;
    height: 45px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #f8f9fa;
}

/* 🔥 GRADIENT FADE EFFECT */
.announcement-scroll::before,
.announcement-scroll::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.announcement-scroll::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}

.announcement-scroll::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}

/* SCROLL TRACK */
.announcement-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: scroll-linear 12s linear infinite; /* 🔥 SPEED CONTROL */
}

/* EACH ITEM */
.announcement-item {
    display: flex;
    align-items: center;
    height: 45px;
    padding: 0 20px;
    flex-shrink: 0;
}

/* TEXT */
.announcement-item a {
    text-decoration: none;
    color: #2E3192;
    font-size: 14px;
    font-weight: 500;
}

/* BADGE */
.badge {
    background: #ffc107;
    color: #dc3545;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 12px;
}

/* 🔥 SEAMLESS INFINITE SCROLL */
@keyframes scroll-linear {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.announcement-scroll:hover .announcement-track {
    animation-play-state: paused;
}

/* MOBILE */
@media (max-width: 768px) {
    .announcement-track {
        animation-duration: 12s; /* faster on mobile */
    }
}

.hero-section {
    position: relative;
    height: 95vh; /* 🔥 increase height */
    min-height: 550px; /* fallback for smaller screens */
    overflow: hidden;
}
.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 600px;
}
.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}
.hero-content .btn {
    margin-top: 20px;
    padding: 12px 28px;
    font-size: 16px;
    border-radius: 30px;
}
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 450px;
    }

    .hero-content {
        left: 5%;
        right: 5%;
    }
}


/* VIDEO BOX */

#home_video_box {

    position: relative;

    min-height: 260px;

    overflow: hidden;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* SMALL VIDEO */

#home_video_box video {

    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: cover;

    top: 0;
    left: 0;
}

/* OVERLAY */

.video-overlay {

    position: absolute;

    inset: 0;

    /*background:
        linear-gradient(
            135deg,
            rgba(0,0,0,0.72),
            rgba(0,35,95,0.55)
        ); */
        
    background:
        linear-gradient(
        to right,
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.10)
        );

    z-index: 1;
}

/* CONTENT */

.video-box-content {

    position: relative;

    z-index: 2;

    text-align: center;

    color: white;

    padding: 40px;
}

.play-icon {

    width: 80px;
    height: 80px;

    border-radius: 50%;

    border: 2px solid white;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: auto;
    margin-bottom: 25px;

    font-size: 34px;

    transition: 0.3s;
}

#home_video_box:hover .play-icon {

    transform: scale(1.1);
}

.video-box-content h4 {

    font-size: 34px;
    font-weight: 700;

    margin-bottom: 15px;
}

.video-box-content p {

    font-size: 18px;

    margin: 0;
}

/* POPUP VIDEO */

#popupVideo {

    width: 100%; height: 88vh; object-fit: contain; background: black;
}

#home_video_box video { filter: brightness(1.05) contrast(1.08) saturate(1.05); }

/* VIDEO MODAL ABOVE NAVBAR */ 
#videoModal
{ 
    z-index: 99999 !important; 
} 
#videoModal .modal-dialog 
{ 
    z-index: 99999 !important; 
} 
.modal-backdrop 
{ 
    z-index: 99998 !important; 
}
#videoModal .modal-body { padding: 0; background: black; }


#videoModal .modal-content {

    box-shadow:
        0 30px 80px rgba(0,0,0,0.65);
}

/* =========================
   MOBILE VIDEO SECTION
========================= */

@media(max-width:768px){

    .home_bg_part{

        width: 95% !important;

        margin-top: 40px;
    }

    .home_bg_part .row{

        display: flex;
        flex-direction: column;
    }

    /* STACK ALL BOXES */

    .home_bg_part .col-md-3,
    .home_bg_part .col-md-6{

        width: 100%;
    }

    /* VIDEO SECTION */

    #home_video_box{

        min-height: 260px;

        order: -1;
    }

    /* VIDEO */

    #home_video_box video{

        height: 100%;
        width: 100%;

        object-fit: cover;
    }

    /* CONTENT */

    .video-box-content{

        padding: 25px;
    }

    .video-box-content h4{

        font-size: 24px;
    }

    .video-box-content p{

        font-size: 15px;
    }

    /* PLAY BUTTON */

    .play-icon{

        width: 65px;
        height: 65px;

        font-size: 28px;

        margin-bottom: 18px;
    }

    /* OTHER BOXES */

    #home_discount_prices,
    #home_package_course{

        min-height: 180px;

        padding: 30px 25px;
    }

    /* HERO TEXT */

    .homeSection h1{

        font-size: 36px;
        line-height: 1.3;
    }

    .homeSection h4{

        font-size: 18px;
    }

}
