

body {
    padding-top: 70px; /* You can adjust this value*/
}
.row.mt-4 {
    padding-top: 150px; /* You can adjust this value */
}

.navbar.fixed-top {
    height: 100px; /* Set the height of the navbar explicitly */
    z-index: 1000; /* Keep the header on top */
}

@media (max-width: 768px) {
    .fixed-index {
        top: 120px; /* Push it down more on smaller screens if needed */
        left: 10px; /* Reduce the left margin */
        width: 150px; /* Narrow the width for smaller screens */
    }
}

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }
/*** Spinner End ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1, h2, h3, .h1, .h2, .h3 {
    font-weight: 400 !important;
    font-family: 'Helvetica', cursive !important;
}

h4, h5, h6, .h4, .h5, .h6 {
    font-weight: 600 !important;
    font-family: 'Open Sans', sans-serif !important;
}

.my-6 {
    margin-top: 6rem;
    margin-bottom: 6rem;
}

.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.wow,
.animated {
    animation-duration: 2s !important;
}


/*** Button Start ***/
.btn.btn-primary {
    border: 0;
}

.btn.btn-primary:hover {
    background: var(--bs-dark) !important;
    color: var(--bs-primary) !important;
}

.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 38px;
    height: 38px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
/*** Button End ***/


/*** Navbar Start ***/
.navbar {
    background-color: #ffffff; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    z-index: 1000;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 0 20px; 
}

/* Align navbar-logo to the left */
.navbar-brand {
    font-size: 24px;
    font-weight: bold;
    color: #2d2d2d;
}

/* Align navbar links to the right */
.navbar-nav {
    display: flex; 
    align-items: center; 
}

/* Style the links */
.navbar-nav .nav-link {
    padding: 10px 12px;
    font-weight: 600;
    font-size: 17px;
    color: #000;
    transition: .5s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

/* Dropdown Menu Styling */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
    
    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        opacity: 1;
    }
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
    
    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        opacity: 1;
    }
}
  

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

#searchModal .modal-content {
    background-color: rgba(255, 255, 255, .95);
}
/*** Navbar End ***/

.navbar-collapse {
    flex-basis:100%;
    flex-grow:1;
    align-items:center;
    background-color: #ffffff;
}

.navbar-toggler {
    margin-left: auto; /* Align button to the right */
    float: right; /* Extra safeguard for right alignment */
}
.navbar-brand {
    margin-bottom: 0; /* To make sure it aligns well vertically */
}


/*** Events Start ***/
.event .tab-class .nav-item a.active {
    background: var(--bs-primary) !important;
}

.event .event-img .event-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(212, 167, 98, 0.7);
    border-radius: 8px;
    transition: 0.5s;
    opacity: 0;
    z-index: 1;
}

.event .event-img:hover .event-overlay {
    opacity: 1;
}
/*** Events End ***/

/*** service start ***/
.service .service-item {
    position: relative;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: var(--bs-primary);
    border-radius: 8px;
    transition: 1s;
}

.service-item:hover .service-content::after {
    height: 100%;
    opacity: 1;
}

.service-item .service-content-icon {
    position: relative;
    z-index: 2;
}

.service-item .service-content-icon i,
.service-item .service-content-icon p {
    transition: 1s;
}

.service-item:hover .service-content-icon i {
    color: var(--bs-dark) !important;
}

.service-item:hover .service-content-icon p {
    color: var(--bs-white);
}

.service-item:hover .service-content-icon a.btn-primary {
    background: var(--bs-white);
    color: var(--bs-dark);
}

.service-item .service-content-icon a.btn-primary {
    transition: 1s !important;
}
/*** Services End ***/


/*** Menu Start ***/
.menu .nav-item a.active {
    background: var(--bs-primary) !important;
}

.menu .menu-item .border-bottom {
    border-bottom-style: dashed !important;
}
/*** Menu End ***/

/* Override the active state for rounded pills */
.rounded-pill.active {
    background-color: #d63f67; /* Your desired background color */
    color: #3c2645; /* Your desired text color */
}

/*** Youtube Video start ***/
.video {
    position: relative;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(rgba(128, 128, 128, 0.5), rgba(128, 128, 128, 0.5)), url(../img/fact.jpg); /* Grey background with gradient */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
    padding: 20px; /* Adding padding to ensure content inside is well-spaced */
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-white);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--bs-dark);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}
/*** Youtube Video End ***/

.img2-fluid {
    width: 100%; /* Full width of the parent */
    max-width: 80%; /* Limit width on larger screens */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Optional */
}

@media (min-width: 768px) {
    .img2-fluid {
        max-width: 60%; /* Adjust for tablets and larger screens */
    }
}

@media (min-width: 1200px) {
    .img2-fluid {
        max-width: 50%; /* Further adjust for large desktops */
    }
}


/*** Blog Start ***/
.blog-item {
    position: relative;
}

.blog-item img {
    transition: 0.5s;
}

.blog-item:hover img {
    transform: scale(1.3)
}

.blog-item .blog-content {
    position: relative;
    transform: translateY(-50%);
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.blog-item .blog-content a.btn h5 {
    transition: 0.5s;
}

.blog-item:hover .blog-content a.btn h5 {
    color: var(--bs-primary) !important;
}
/*** Blog End ***/


/*** Team Start ***/
.team-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.team-item .team-icon {
    position: absolute;
    top: 0;
    right: 0;
}

.team-item .team-icon .share-link {
    opacity: 0;
    transition: 0.9s;
}

.team-item:hover .share-link {
    opacity: 1;
}

.team-item .team-content {
    transition: 0.9s;
}

.team-item:hover .team-content {
    background: var(--bs-primary) !important;
    color: var(--bs-dark) !important;
}

.team-item .team-content h4,
.team-item .team-content p {
    transition: 0.5s;
}

.team-item:hover .team-content h4 {
    color: var(--bs-dark) !important;
}

.team-item:hover .team-content p {
    color: var(--bs-white);
}
/*** Team End ***/


/*** testimonial Start ***/
.testimonial-item {
    border: 1px solid var(--bs-primary);
    padding: 20px 20px;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel.owl-rtl .testimonial-item {
    direction: ltr !important;
}
/*** testimonial End ***/


/*** Contact start ***/
.contact-form {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

/*** Contact End ***/

/*** Footer Start ***/
.footer {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin-bottom: 0;
}

#footer-wrapper {
    margin: 0;
    padding: 0;
}

.footer .container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
}

.footer .footer-item {
    flex: 1;
    min-width: 280px;
    margin: 0 15px;
    text-align: center;
}

.footer h4, .footer h1 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.footer h1 {
    font-size: 48px;
    font-weight: 900;
}

.footer p {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
}

.footer .contact-icon {
    margin-right: 10px;
    color: #8b008b;
}

.footer .text-body {
    color: #8b008b;
    text-decoration: none;
}

.footer .text-body:hover {
    color: #5a005a;
    text-decoration: underline;
}

.sponsor-logo {
    max-width: 150px;
    height: auto;
    margin: 10px 0;
}

.sponsor-logo:first-child {
    max-width: 220px;
}

.footer-divider {
    border-left: 2px solid #8b008b;
    height: 80px;
    margin: 0 30px;
}

@media (max-width: 992px) {
    .footer .container {
        flex-direction: column;
        align-items: center;
    }
    
    .footer .footer-item {
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .footer-divider {
        display: none;
    }
}

.back-to-top {
    background-color: #8b008b;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 20px;
    transition: background-color 0.3s;
}

.back-to-top:hover {
    background-color: #5a005a;
}

/*** Footer End ***/

.wavy-background {
    position: relative;
    background-color: #0b034e; /* Your dark blue color */
    padding: 50px; /* Adjust padding as needed */
}

/* SVG wave styling */
.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
}

/* Optional: Adjust content positioning */
.content {
    position: relative;
    z-index: 1; /* Make sure content is above the wave */
}

.container-toggle {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
  }
  
  @media (min-width: 576px) {
    .container-toggle {
      max-width: 540px;
    }
  }
  
  @media (min-width: 768px) {
    .container-toggle {
      max-width: 720px;
    }
  }
  
  @media (min-width: 992px) {
    .container-toggle {
      max-width: 960px;
    }
  }
  
  @media (min-width: 1200px) {
    .container-toggle {
      max-width: 1140px;
    }
  }
  
  @media (min-width: 1400px) {
    .container-toggle {
      max-width: 1320px;
    }
  }
  
/* Floating button style */
.floating-navbar-toggler {
    position: fixed;
    bottom: 20px; /* Adjusts how far from the bottom the button appears */
    left: 20px; /* Adjusts how far from the left the button appears */
    z-index: 1000; /* Ensures the button stays on top */
    background-color: #d63384; /* Bootstrap primary blue color */
    border: none;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-navbar-toggler:hover {
    background-color: #d63384; /* Darker shade on hover */
}

.floating-navbar-toggler .navbar-toggler-icon {
    filter: brightness(0) invert(1); /* Makes the icon white for contrast */
}

@media (max-width: 768px) {
    .floating-navbar-toggler {
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 1050; /* Ensure this is higher than other elements (e.g., navbar's z-index) */
        background-color: #d63384; /* Bootstrap primary blue color */
        border: none;
        border-radius: 50%; /* Ensure a perfect circle */
        width: 50px; /* Set specific width to avoid unintended scaling */
        height: 50px; /* Set specific height to avoid unintended scaling */
        padding: 0; /* Ensure padding doesn't interfere with the dimensions */
        cursor: pointer;
        box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
    }

    .floating-navbar-toggler:hover {
        background-color: #d63384; /* Darker shade on hover */
    }

    .floating-navbar-toggler .navbar-toggler-icon {
        width: 24px; /* Size of the icon within the button */
        height: 24px; /* Size of the icon within the button */
        filter: brightness(0) invert(1); /* Makes the icon white for contrast */
    }
}

/* Hide the floating button on larger screens */
@media (min-width: 769px) {
    .floating-navbar-toggler {
        display: none;
    }
}

