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

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
} 

/* spining logo /

.spinner-custom {
  width: 120px;
  height: 120px;
  border: 8px solid #002B5B33; /* Light rotary blue border /
  border-top: 8px solid #002B5B; /* Rotary blue top /
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 1s linear infinite;
  position: relative;
  background: #fff; /* keep white behind logo /
}

.spinner-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
/*
@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/*** Spinner End ***/


.whatsapp-float {
  position: fixed;
  bottom: 90px;  /* above Back-to-Top */
  right: 20px;
  z-index: 999;
  border-radius: 50%;
  background: #25D366; /* WhatsApp green */
  color: white;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease-in-out;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: white;
}


.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    /* transition: 0.4s ease-in-out; */
    transition: 0.5s;
    border-radius: 4px;
}

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

.btn-square { width: 34px; height: 34px; font-size: 14px; line-height: 34px; }
.btn-sm-square { width: 34px; height: 34px; }
.btn-md-square { width: 44px; height: 44px; }
.btn-lg-square { width: 56px; height: 56px; }
.btn-xl-square { width: 66px; height: 66px; }

/* Rotary Colors */
.btn.btn-primary {
    background: #002B5B;    /* Rotary Blue */
    color: #fff;
    border: none;
}
.btn.btn-primary:hover {
    background: #F7A81B;    /* Rotary Gold */
    color: #002B5B;
}

.btn.btn-secondary {
    background: #F7A81B;    /* Rotary Gold */
    color: #002B5B;
    border: none;
}
.btn.btn-secondary:hover {
    background: #002B5B;    /* Rotary Blue */
    color: #fff;
}
/*** Button End ***/

/*** Topbar Start ***/

/*.topbar {
  padding: 5px 15px;
  background: linear-gradient(rgba(0, 80, 160, 0.9), rgba(0, 80, 160, 1));
  border-radius: 60px;
  margin: 10px auto;
  max-width: 95%;
  box-shadow: 10px 10px 10px rgba(0,0,0,0.05);
  border: 2px solid #002B5B;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
} */

/* ===========================
   TOPBAR
=========================== */
/* 
.topbar {
    padding: 2px 10px 2px 20px;
    background: #002B5B; /* Rotary Blue /
    border-radius: 60px;
    margin: 10px auto;
    max-width: 95%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 2px solid #001F3D; /* Darker border /
    color: #fff;
}
@media (max-width: 575.98px) {
  .topbar img { width: 50px !important; height: 50px !important; }
  .topbar h1 { font-size: 1.25rem !important; }
}
.topbar a, .topbar h1, .topbar i { color: #fff !important; }

*/

.topbar {
    padding: 2px 10px 2px 20px;
    background: linear-gradient(90deg, rgba(0, 43, 91, 0.9), rgba(0, 80, 160, 1)); /* Rotary blue gradient */
    border-radius: 60px;
    margin: 10px auto;
    max-width: 95%;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.15);
    border: 2px solid #002B5B; /* Dark blue border */
    color: #fff;
}

.topbar h1 {
    color: #fff !important;
    font-weight: 700;
    letter-spacing: 1px;
}

.topbar a {
    color: #fff !important;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.topbar a:hover {
    color: #ffc107 !important; /* Rotary Gold on hover */
}

.topbar .btn-square {
    background: #002B5B;
    color: #fff;
    transition: 0.3s;
}

.topbar .btn-square:hover {
    background: #ffc107;
    color: #000;
}



/* ===========================
   MENU SCROLL
=========================== */
.menu-container {
    overflow-x: auto;
    white-space: nowrap;
    background: #002B5B;
    padding: 10px;
    border-radius: 60px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.menu-container::-webkit-scrollbar { display: none; }
.menu-scroll {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}
.menu-item {
    display: inline-block;
    padding: 10px 25px;
    background-color: #f8f9fa;
    border-radius: 50px;
    color: #002B5B;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}
.menu-item:hover {
    background-color: #F7A81B; /* Rotary Gold */
    color: #000;
}


/* ===========================
   HEADER SWIPER
=========================== */

/* ===== FIX HEADER + SWIPER ===== */

/* Sticky navbar without breaking Swiper */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1050;
}

/* Header Swiper */
.headerSwiper {
    width: 100%;
    height: calc(100vh - 120px); /* adjusts for topbar + navbar */
    position: relative;
    z-index: 1;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swiper arrows */
.swiper-button-next,
.swiper-button-prev {
    color: #005DAA;  /* Rotary Blue */
}

/* Pagination dots */
.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.8;
}
.swiper-pagination-bullet-active {
    background: #ffc107;
}

/* ===========================
   NEWS TICKER
=========================== */

.news-ticker {
    /* background: #002B5B; /* Rotary Blue */
     background: linear-gradient(90deg, rgba(0, 43, 91, 0.95), rgba(0, 80, 160, 1)); /* Rotary blue gradient */
    color: #fff;
    overflow: hidden;
    position: relative;
    padding: 8px 0; /* Optional padding */
}

.ticker-wrapper { overflow: hidden; white-space: nowrap; }
.ticker-content { display: inline-block; padding-left: 100%; animation: ticker 12s linear infinite; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/*.ticker-wrapper { width: 100%; overflow: hidden; position: relative; }
.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 25s linear infinite;
    font-weight: 600;
    font-size: 1rem;
    padding-left: 100%;
    color: #fff; /* Ensure text stays white /
} 
@keyframes scroll-left {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}
*/

/*** Navbar ***/
.sticky-top {
    transition: 1s;
}


/* Navbar */
.navbar {
    background: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Nav links default Blue */
.navbar .nav-link {
    font-weight: 500;
    color: #002B5B !important; /* Rotary Blue */
    transition: color 0.3s ease;
}

/* Hover & Active Orange */
.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: #F49F1C !important; /* Rotary Orange */
}

/* Dropdown items default Blue -> Orange on hover */
.dropdown-menu .dropdown-item {
    color: #002B5B !important;
    transition: color 0.3s ease;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:active {
    color: #F49F1C !important;
}

/* Border hover animation */
.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border: 2px solid #F49F1C; /* Rotary Orange border */
    opacity: 0;
    transition: 0.5s;
    z-index: 2 !important;
}
.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 50%;
    height: 50%;
    opacity: 1;
}

/* Mobile view dropdown */
@media (max-width: 991px) {
    .navbar .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
}


/* check navbar 28 07 2025
.navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  color: #002B5B !important; /* Rotary Blue (default text) /
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #F49F1C !important; /* Rotary Orange (hover + active) *
}

/* Dropdown Links /
.dropdown-menu .dropdown-item {
  color: #002B5B; /* Blue dropdown links /
  transition: color 0.3s ease;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:active {
  color: #F49F1C !important; /* Orange on hover/click /
}

/* Nav Links inside navbar /
.navbar .navbar-nav .nav-link {
    position: relative;
    padding: 10px;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    font-size: 17px;
    color: #002B5B !important; /* Rotary Blue /
    transition: 0.5s;
    z-index: 99;
}

.navbar .navbar-nav .nav-item {
    margin: 0 5px;
}

/* Border animation for desktop hover /
.navbar .navbar-nav .nav-item::before,
.navbar .navbar-nav .nav-item::after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border: 2px solid #F49F1C; /* Rotary Orange border /
    color: #F49F1C; 
    opacity: 0;
    transition: 0.5s;
    z-index: 2 !important;
}
/*
.navbar .navbar-nav .nav-item::before {
    top: 0;
    left: 0;
    border-bottom: 0;
    border-right: 0;
}
.navbar .navbar-nav .nav-item::after {
    bottom: 0;
    right: 0;
    border-top: 0;
    border-left: 0;
}
.navbar .navbar-nav .nav-item:hover::after,
.navbar .navbar-nav .nav-item:hover::before,
.navbar .navbar-nav .nav-item.active::after,
.navbar .navbar-nav .nav-item.active::before {
    width: 50%;
    height: 50%;
    opacity: 1;
}

/* Dropdown arrow /
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107" !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

/* Navbar Toggler /
.navbar-toggler {
    padding: 8px 15px;
    border: none;
    background: #F49F1C !important; /* Orange toggler /
    color: #fff;
}
.navbar-toggler:focus {
    box-shadow: none;
}

/* Desktop dropdown animation /
@media (min-width: 992px) {
    .navbar .dropdown-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease-in-out;
    }
    .navbar .nav-item:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Mobile view dropdown click behavior /
@media (max-width: 991px) {
    .navbar .nav-link {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .navbar .dropdown-menu {
        display: none;
        box-shadow: none;
        border-radius: 0;
        transition: none;
    }
    .navbar .dropdown.show .dropdown-menu {
        display: block;
    }

/* check navbar end 28072025

    /* Remove border hover animation on mobile */
    .navbar .navbar-nav .nav-item::after,
    .navbar .navbar-nav .nav-item::before {
        display: none;
    }
}


/* Search Modal */
#searchModal .modal-content {
    background: rgba(255, 255, 255, .9);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

/*** Navbar End ***/

/*** Single Page Hero Header ***/
.bg-breadcrumb {
    position: relative;
    /*background: 
        linear-gradient(rgba(0, 43, 91, 0.75), rgba(0, 43, 91, 0.75)), 
        url(../img/2.jpg) center center / cover no-repeat;
    padding: 80px 0; /* More breathing space */
    background: url(../img/top.jpg) center center / cover no-repeat;
    padding: 80px 0; /* More breathing space */
    text-align: center;
    color: #fff;
}

/* Overlay text styling */
.bg-breadcrumb h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #F7A81B; /* Rotary Gold */
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.bg-breadcrumb .breadcrumb {
    display: inline-flex;
    background: transparent;
    padding: 0;
    margin: 0;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item,
.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a:hover {
    color: #F7A81B;
}

.bg-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: #F7A81B; /* Separator color */
}

/* Mobile friendly adjustments */
@media (max-width: 575.98px) {
    .bg-breadcrumb h1 {
        font-size: 1.75rem;
    }
    .bg-breadcrumb {
        padding: 60px 0;
    }
}


/*** Carousel Start ***/

.carousel-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 30px;
  border-radius: 15px;
  max-width: 80%;
}
.carousel-caption h1,
.carousel-caption p {
  color: #fff;
}

.carousel .carousel-inner .carousel-item {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.carousel .carousel-inner .carousel-item img {
    animation-name: image-zoom ;
    animation-duration: 10s;
    animation-delay: 1s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
    transition: 0.5s;
}

@keyframes image-zoom {
    0%  {width: 100%; height: 100%; -webkit-filter: blur(0px); opacity: 1;}

    25% {width: 115%; height: 115%; -webkit-filter: blur(3px); opacity: 0.9;}

    50% {width: 130%; height: 130%; -webkit-filter: blur(10px); opacity: 0.7;}

    75% {width: 115%; height: 115%; -webkit-filter: blur(3px); opacity: 0.9;}

    100% {width: 100%; height: 100%; -webkit-filter: blur(0px); opacity: 1;}
}

@media (min-width: 992px) {
    .carousel .carousel-inner .carousel-item img {
        height: 100%;
        object-fit: cover;   
    }
}

@media (max-width: 991px) {
    .carousel .carousel-inner .carousel-item {
        height: 500px;
    }
    .carousel .carousel-inner .carousel-item img {
        height: 500px;
        object-fit: cover;    
    }
}

@media (max-width: 576px) {
    .carousel-item .carousel-caption h1 {
        font-size: 30px;
    }

    .carousel-item .carousel-caption p.fs-5 {
        font-size: 15px;
    }
}



/*** Carousel ***/

/* Dark overlay for better text readability */
.carousel .carousel-inner .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0; /* shorthand for top/left/right/bottom:0 */
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Center captions vertically */
.carousel .carousel-caption {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding: 20px;
    text-align: center;
}
.carousel .carousel-caption h1,
.carousel .carousel-caption p {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* Indicators */
.carousel .carousel-indicators {
    bottom: 30px;
    z-index: 5;
}
.carousel .carousel-indicators [data-bs-target] {
    width: 14px;
    height: 14px;
    background-color: #fff;
    border: 3px solid #F7A81B; /* Rotary Gold */
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease-in-out;
    margin: 0 6px;
}
.carousel .carousel-indicators .active {
    background-color: #F7A81B;
    border-color: #002B5B; /* Rotary Blue */
}

/* Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #002B5B;
    padding: 20px;
    border-radius: 50%;
    transition: background 0.3s ease-in-out;
}
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: #F7A81B;
}

/* Mobile-friendly adjustments */
@media (max-width: 767.98px) {
    .carousel .carousel-caption h1 {
        font-size: 1.5rem;
    }
    .carousel .carousel-caption p {
        font-size: 1rem;
    }
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 15px;
    }
}


/*** About Start ***/

/* --- About Section --- */
.about-item-image img {
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Headings */
.about-item-content h2 {
    color: #002B5B; /* Rotary Blue */
    font-weight: 700;
}

/* Paragraphs */
p.fs-5 {
    font-size: 1rem !important;
}

/* Image container background effect */
.about .about-item-image {
    position: relative;
    background: #f8f9fa; /* light neutral background */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}

/* Image 1 (top-left) */
.about .about-item-image .img-1 {
    margin-bottom: 250px;
    border: 4px solid;
    border-color: #F7A81B #f8f9fa #f8f9fa #F7A81B; /* Rotary Gold / light mix */
    z-index: 3;
}

/* Image 2 (bottom-right) */
.about .about-item-image .img-2 {
    margin-top: 250px;
    border: 4px solid;
    border-color: #f8f9fa #F7A81B #F7A81B #f8f9fa;
    z-index: 3;
}

/* Dotted overlay */
.about .about-item-image::before {
    content: "";
    width: 80%;
    height: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px dotted #fff;
    background: #002B5B; /* Rotary Blue */
    z-index: 2;
}

/* Center image block */
.about .about-item-image .about-item-image-content {
    width: 55%;
    height: 55%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #F7A81B; /* Rotary Gold */
    border: 4px solid #002B5B; /* Rotary Blue border */
    opacity: 0.9;
    z-index: 4;
}

/* Optional corner effect image */
.about .about-item-image .about-item-image-effect {
    position: absolute;
    top: 0;
    right: 0;
}

/* Card style improvements */
.card {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.card h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .about .about-item-image .img-1,
    .about .about-item-image .img-2 {
        margin: 0;
        width: 48%;
    }
    .about .about-item-image .about-item-image-content {
        width: 65%;
        height: 65%;
    }
}

/* about end */

/*** Features Start ***/
/* --- Features Section --- */
.feature .feature-item {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.5s ease;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Hover Effect */
.feature .feature-item:hover {
    background: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 8px 30px rgba(0, 43, 91, 0.2); /* Rotary Blue shadow */
    transform: translateY(-5px);
}

/* Image Styling */
.feature .feature-item .feature-img img {
    border: 2px solid transparent;
    border-radius: 50%;
    transition: border 0.5s ease, transform 0.5s ease;
}

/* Hover Image Border Effect */
.feature .feature-item:hover .feature-img img {
    border: 2px solid #F7A81B; /* Rotary Gold */
    transform: scale(1.05);
}

/* Links inside feature box */
.feature .feature-item a {
    color: #002B5B;
    font-weight: 600;
    transition: color 0.5s;
}
.feature .feature-item:hover a {
    color: #F7A81B;
}

/* Optional Title Style */
.feature .feature-item h4 {
    font-weight: 700;
    color: #002B5B;
    margin-top: 15px;
}
 
/*** Features End ***/

/*** Services Start ***/
.service .service-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Hover Lift */
.service .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,43,91,0.2); /* Rotary Blue shadow */
}

/* Image Zoom */
.service .service-item .service-img img {
    transition: transform 0.6s ease;
}
.service .service-item:hover .service-img img {
    transform: scale(1.15);
}

/* Dark overlay */
.service .service-item::after {
    content: "";
    width: 100%;
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 43, 91, 0.6); /* Rotary Blue overlay */
    transition: height 0.5s ease;
    z-index: 2;
}
.service .service-item:hover::after {
    height: 100%;
}

/* Centered overlay content */
.service .service-item .service-content {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0; 
    transform: translateY(-50%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    text-align: center;
    z-index: 3;
}
.service .service-item:hover .service-content {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

/* Content title link */
.service .service-item .service-content a.fs-4 {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}
.service .service-item:hover .service-content a.fs-4:hover {
    color: #F7A81B; /* Rotary Gold */
}

/* Bottom white strip (title holder) */
.service .service-item .service-tytle {
    position: absolute;
    width: 100%;
    height: 80px; 
    bottom: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: margin 0.5s ease;
    z-index: 3;
}
.service .service-item:hover .service-tytle {
    margin-right: -100%;
}

/*** Services End ***/

/*** Fact Counter ***/
/* Counter Section */
.counter {
    background: linear-gradient(rgba(0, 43, 91, 0.85), rgba(0, 43, 91, 0.95)),
                url(../img/counter.jpg) center top / cover no-repeat;
    padding: 80px 0;
    color: #fff;
}

/* Button hover refinement */
.counter .counter-btn {
    background: #F7A81B; /* Rotary Gold */
    color: #002B5B;
    font-weight: 600;
    transition: 0.4s ease-in-out;
}
.counter .counter-btn:hover {
    background: #ffffff;
    color: #002B5B;
}

/* Counter box spacing */
.counter .counter-box {
    padding: 20px;
}

/* Counter item design */
.counter .counter-item {
    text-align: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.counter .counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,43,91,0.25);
}

/* Counter number styling */
.counter .counter-item .counter-counting {
    font-size: 40px;
    font-weight: 800;
    color: #002B5B;
    margin-bottom: 10px;
}

/* Inner layout & accent shadow */
.counter .counter-item .counter-item-inner {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 10px 10px #F7A81B;
}

/* Project Section */
.project .project-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.project .project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,43,91,0.2);
}

/* Background accent shape */
.project .project-item .project-img::after {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    top: 0;
    left: 0;
    background: #F7A81B;
    z-index: -1;
    border-radius: 8px;
}

/* Project title hover effect */
.project .project-item .project-content a.h4 {
    font-weight: 700;
    color: #002B5B;
    transition: color 0.3s ease;
}
.project .project-item:hover .project-content a.h4 {
    color: #F7A81B;
}

/*** Projects End ***/


/*** Team Start ***/
.team .team-item {
    position: relative;
    z-index: 1;
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-img::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .2);
    transition: 0.5s;
    z-index: 2;

}

.team .team-item:hover .team-img::after {
    height: 100%;
}

.team .team-item .team-img .team-icon {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
    transform: scale(-1);
    margin-bottom: 100%;
    background: transparent;
    transition: 0.5s;
    opacity: 0;
    z-index: 5;
    
}

.team .team-item:hover .team-img .team-icon {
    transform: scale(1);
    margin-bottom: 0;
    opacity: 1;
}

.team .team-item .team-border-style-1,
.team .team-item .team-border-style-2 {
    width: 50%;
    height: 50%;
    position: absolute;
    background: var(--bs-secondary);
    transition: 0.5s;
    z-index: -1;
}

.team .team-item .team-border-style-1 {
    top: 0;
    left: 0;
}

.team .team-item .team-border-style-2 {
    right: 0;
    bottom: 0;
}

.team .team-item .team-border-style-3,
.team .team-item .team-border-style-4 {
    width: 0;
    height: 0;
    position: absolute;
    background: var(--bs-secondary);
    transition: 0.5s;
    z-index: -1;
}

.team .team-item .team-border-style-3 {
    top: 0;
    right: 0;
}

.team .team-item .team-border-style-4 {
    left: 0;
    bottom: 0;
}

.team .team-item:hover .team-border-style-1,
.team .team-item:hover .team-border-style-2 {
    width: 0%;
    height: 0%;
}

.team .team-item:hover .team-border-style-3,
.team .team-item:hover .team-border-style-4 {
    width: 50%;
    height: 50%;
}
/*** Team End ***/

/*** Blog Start ***/
/* === Blog Section === */
.blog .blog-item {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: #fff;
}
.blog .blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,43,91,0.2);
}
.blog .blog-item .blog-img img {
    transition: 0.5s ease-in-out;
    border-radius: 12px 12px 0 0;
}
.blog .blog-item:hover .blog-img img {
    transform: scale(1.15);
}
.blog .blog-item .blog-content {
    padding: 20px;
    box-shadow: none;
    border-top: 4px solid #F7A81B; /* Rotary Gold */
}
.blog .blog-item .blog-content a {
    font-weight: 600;
    color: #002B5B;
    transition: color 0.3s ease;
}
.blog .blog-item:hover .blog-content a:hover {
    color: #F7A81B;
}

/* === Testimonial Section === */
.testimonial .owl-nav .owl-prev,
.testimonial .owl-nav .owl-next {
    top: -58px;
    padding: 5px 25px;
    border-radius: 30px;
    border: 2px solid #F7A81B;
    background: #fff;
    color: #002B5B;
    font-weight: 600;
    transition: 0.4s ease;
}
.testimonial .owl-nav .owl-prev:hover,
.testimonial .owl-nav .owl-next:hover {
    background: #F7A81B;
    color: #fff;
}
.testimonial-carousel .owl-dots .owl-dot {
    width: 16px;
    height: 16px;
    border: 2px solid #F7A81B;
    background: #002B5B;
    border-radius: 50%;
    margin-right: 15px;
    transition: 0.4s ease;
}
.testimonial-carousel .owl-dots .owl-dot.active {
    background: #F7A81B !important;
    border-color: #002B5B;
}

/* === Contact Section === */
.contact .contact-map {
    padding: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,43,91,0.15);
    position: relative;
}
.contact .contact-map::before {
    width: 70%;
    height: 70%;
    background: #F7A81B; /* Rotary Gold */
}
.contact .contact-map::after {
    width: 70%;
    height: 70%;
    background: #002B5B; /* Rotary Blue */
}

/*** Contact End ***/

/*** Footer Start ***/
.footer {
    background: #002B5B; /* Rotary Blue */
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-body);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-secondary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
    color: var(--bs-primary) !important;
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #002B5B; /* Slightly darker shade for copyright */
}
/*** copyright End ***/
