/* ===================================
    Crafto - Elearning
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;500;600;700;800;900&display=swap');
/* variable */
:root {     
    --base-color: #105CAA; 
    --red-color:#f12222;
    --dark-gray: #313e3b;
    --medium-gray: #828c8a;
    --yellow: #d5d52c;
    --extra-medium-gray: #e4e4e4;
    --alt-font: 'Space Grotesk', sans-serif;
    --primary-font: 'Inter', sans-serif;
}
/* reset */
body {
    font-size: 17px;
    line-height: 30px;
    overflow-x: hidden;
}
.text-justify{
    text-align: justify;
}
.text-red-color{
    color:#f12222 ;
}
a:hover { 
    color: var(--dark-gray); 
}
.top-25 {
    top: 25%;
}
.mt-minus-12 {
    margin-top: -12%;
}
.mt-minus-1 {
    margin-top: -1%;
}
.left-minus-200px {
    left: -200px;
}
.mt-minus-4 {
    margin-top: -4px;
}
.bottom-minus-320px {
    bottom: -320px;
}
.terms-condition .box:before {
    border-color: #e4e4e4;
    background-color: var(--white);
    top: 1px;
}
.terms-condition .box:after {
    top: 5px;
}
/* border color */
.border-color-transparent-white-very-light {
    border-color: rgba(255, 255, 255, 0.2) !important;
}
.border-color-transparent-dark-very-light {
    border-color: var(--extra-medium-gray) !important;
}
/* bg gradient color */
.bg-gradient-deep-zuccini-green {
    background-image: linear-gradient(to right bottom, #19493e, #164339, #143e34, #113830, #0f332b);
}
.bg-gradient-aztec-green {
    background-image: linear-gradient(to right bottom, #313e3b, #2e3b38, #2c3835, #293532, #27322f);
}
.bg-gradient-tranquil-white { 
    background-image: linear-gradient(to bottom, #ffffff, #f7f9f9, #f3f6f6, #eff3f3, #ecf1f1);
}
.bg-yellow {
    background-color: var(--yellow);
}
.bg-tranquil {
    background-color: #f3f8f8;
}
.bg-gradient-dark-transparent {
    background: -webkit-gradient(linear, left bottom, left top, color-stop(7%, #36332e), to(transparent));
    background: linear-gradient(to top, #262a29 0%, transparent 100%);
}
/* header */
.navbar .navbar-nav .nav-link {
    font-size: 18px;
    color: #000;
}
header .navbar-brand img {
    max-height: 70px;
}
header .navbar-brand {
    padding: 25px 0;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
    width: 400px;
    padding: 15px 15px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a {
    padding: 15px 30px 21px 0;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a p {
    font-size: 14px;
    line-height: normal;
        font-weight: 400;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a span {
    font-size: 17px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a i {
    color: var(--dark-gray);
    font-size: 34px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li.active > a {
    opacity: 0.7;
    color: var(--base-color);
}
/* icon */
.icon-extra-medium {
    font-size: 22px;
}
.video-icon-large .video-icon {
    width: 70px;
    height: 70px;
    font-size: 18px;
}
.video-icon-large .video-icon .video-icon-sonar .video-icon-sonar-bfr {
    width: 120px;
    height: 120px;
}
.video-icon-large .video-icon .video-icon-sonar .video-icon-sonar-afr {
    width: 90px;
    height: 90px;
}
.medium-icon li, .small-icon li {
    margin: 0 3px;
}
/* review  */
.review-star-icon i {
    letter-spacing: 1px;
}
/* btn */
.btn {
    font-family: var(--primary-font);
    text-transform: none;
    letter-spacing: 0;
}
.btn.btn-switch-text.btn-extra-large > span {
    padding: 15px 38px;
    font-size: 17px; 
}
.btn.btn-switch-text.btn-large > span {
    padding: 13px 32px;
    font-size:15px;
}
.btn.btn-switch-text.btn-medium > span {
    padding: 12px 30px;
    font-size:14px;
}
.btn.btn-base-color { 
    color: var(--dark-gray); 
}
.btn.btn-base-color:hover, .btn.btn-box-shadow.btn-base-color:hover {
    background-color:  var(--base-color);
    color: var(--dark-gray);
}
.btn.btn-link {
    padding: 0 0 2px;
}
/* heading */
h2 {
    line-height: 3.2rem;
}
/* tab */
.tab-style-04 .nav-tabs .nav-item {
    padding: 0;
    width: 25%;
}
.tab-style-04 .nav-tabs .nav-item .nav-link {
    color: var(--medium-gray);
}
.tab-style-04 .nav-tabs .nav-item .nav-link .tab-border {
    height: 3px;
}
.tab-style-04 .nav-tabs .nav-item .nav-link.active {
    font-weight: 600;
    border: 0;
   outline: 0;
}
.tab-style-04 .nav-tabs .nav-item .nav-link:focus-visible {
    outline: none;
    box-shadow: none;
}
/* accordion */
.accordion-style-04 .accordion-item .accordion-body {
    padding: 0 35px 25px;
}
.accordion-style-04 .accordion-item .accordion-collapse {
    margin-top: -1px;
}
/* progress bar */
.progress-bar-style-02 .progress {
    height: 10px;
}
/* page title */
.page-title-extra-small h2 {
    font-size: 3.75rem;
    line-height: 3.75rem;
}
.page-title-extra-small h1 {
    font-size: 20px;
}
/* pages */
.contact-form-style-03 > div { 
    border-radius: 6px 0 6px 0;
}
/* newsletter style 02 */
.newsletter-style-02 input { 
    padding-right: 100px !important;
    font-size: 14px;
}
/* footer */
footer {
    padding-bottom: 30px;
}
footer .footer-logo img {
    max-height: 100px;
}
.footer-dark,
.footer-dark .newsletter-style-02 input,
.footer-dark p, .footer-dark a {
    color: white;
}
.footer-dark a:hover {
    color: var(--base-color);
}
.footer-dark .newsletter-style-02 input::placeholder {
    color: var(--medium-gray) !important;
    opacity: 1; /* Firefox */
}
.footer-dark .newsletter-style-02 input:-ms-input-placeholder {
    color: var(--medium-gray) !important;
}
.footer-dark .newsletter-style-02 input::-ms-input-placeholder {
    color: var(--medium-gray)  !important;
}
.footer-dark .elements-social .light li a:hover {
    color: var(--white);
    opacity: .5;
}
.footer-dark .small-icon li {
    margin: 0 7px;
}
.footer-navbar li {
    line-height: normal;
}
footer ul li {
    margin-bottom: 2px;
}
/* media query responsive */
@media (max-width: 1399px) {
    .accordion-style-06 .accordion-item {
        padding-left: 35px;
    }
}
@media (max-width: 1199px) {
    .navbar .navbar-nav .nav-link {
        font-size: 16px;
    }
    .navbar .navbar-nav .nav-link {
        padding-left: 12px;
        padding-right: 12px;
    }
    .team-style-05 .social-icon a {
        margin: 0 10px;
    }
}
@media (max-width: 991px) {
    .widget-text {
        color: var(--dark-gray);
    }
    .navbar .navbar-nav .nav-link {
        font-size: 18px;
    }
    .team-style-05 .social-icon a {
        margin: 0 10px;
    }
    .navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
        padding: 0 15px 6px 15px;
    }
}
@media (max-width: 767px) {
    .accordion-style-05 .accordion-item {
        padding: 20px 35px 22px 55px;
    }
    .contact-form-style-03 > div {
        border-radius: 6px;
    }
    .tab-style-04 .nav-tabs .nav-item:last-child {
        margin-bottom: 0;
    }
    .accordion-style-04 .accordion-item .accordion-body {
        padding: 0 25px 25px;
    }
    .tab-style-04 .nav-tabs .nav-item {
        width: auto;
    }
}
@media (max-width: 575px) {
    .accordion-style-06 .accordion-item {
        padding-left: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .accordion-style-06 .accordion-item.active-accordion {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .accordion-style-05 .accordion-item {
        padding: 17px 20px 17px 45px;
    }
    .accordion-style-05 .accordion-item .accordion-body {
        padding-right: 15px;
    }
    .accordion .accordion-item .accordion-header .accordion-title {
    	line-height: 28px;
	}
}
.top-70{
    top: 70%;
}
/*dropdown scroll*/
/* Make the description text smaller */
.small-desc {
    font-size: 11px !important;
    margin-bottom: 0;
    line-height: 1.2;
    opacity: 0.8;
}

/* Enable scrolling if the list is too long for the screen */
.dropdown-scrollable {
    overflow-x: hidden;
    max-width: 400px;
}

/* Optional: Custom scrollbar styling for a cleaner look */
.dropdown-scrollable::-webkit-scrollbar {
    width: 6px;
}
.dropdown-scrollable::-webkit-scrollbar-thumb {
    background: #3a3a3a;
    border-radius: 10px;
}
/* Revolution Slider */
#demo-corporate-slider {border-radius: 6px;}
.hesperiden.tparrows { width: 54px; height: 54px; background: transparent; border: 1px solid rgba(255,255,255,0.2);-webkit-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out}
.hesperiden.tparrows{border:1px solid rgba(255,255,255,1); background: rgba(255,255,255,1); ;}
.hesperiden.tparrows:hover{border:1px solid rgba(255,255,255,1); background: rgba(255,255,255,1); ;}
.hesperiden.tparrows:hover:before {color: #232323}
.hesperiden.tparrows:before {color: #232323}
.hesperiden.tparrows:before {line-height: 52px;}
.hesperiden.tparrows.tp-leftarrow:before { content: "\f104";font-family: "Font Awesome 7 Free";font-size: 16px; font-weight: 900}
.hesperiden.tparrows.tp-rightarrow:before { content: "\f105";font-family: "Font Awesome 7 Free";font-size: 16px; font-weight: 900}
.hesperiden.tparrows.tp-leftarrow:before { margin-left: 0; }
.hesperiden.tparrows.tp-rightarrow:before { margin-right: 0; }
.get-started-btn { transition: 0.3s ease-in-out !important; }
.hesperiden.tparrows { z-index: 97; }
.bg-regal-blue {
    background-color: #162340;
}
.bg-blue-whale {
    background-color: #16233F;
}
.btn-gradient-flamingo-amethyst-green {
    background-image: linear-gradient(to right, #f7693c, #c74e45, #7d3785, #582d9f, #3928af, #582d9f, #7d3785, #c74e45, #f7693c);
    background-size: 200% auto;
    color: var(--white);
}
.bg-light-sea-green-transparent-light {
  background-color: rgba(22, 193, 204,0.15);
}
/* Create the arrow using CSS borders */
.chevron-arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #333; /* Arrow color */
    border-bottom: 2px solid #333;
    transform: rotate(45deg); /* Points down by default */
    transition: transform 0.3s ease;
    margin-right: 10px;
}

/* Rotate the arrow when the accordion is OPEN */
/* Bootstrap removes the .collapsed class when the item is expanded */
.accordion-header a:not(.collapsed) .chevron-arrow {
    transform: rotate(-135deg); /* Points up */
    margin-top: 5px;
}

/* Ensure the link takes up full width for the click trigger */
.accordion-header a {
    text-decoration: none;
    width: 100%;
}
/* Force all swiper slides to match the height of the tallest one */
.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    height: auto; /* Allows flex-grow to work */
    display: flex;
}

/* Ensure the internal row fills the full slide height */
.swiper-slide > .row {
    width: 100%;
    margin: 0; /* Prevents overflow issues with g-0 */
}

/* Optional: Set a consistent minimum height for the text side */
.services-box-style-02 .bg-very-light-gray {
    min-height: 280px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/*vision mission*/
/* Smooth transition for the container */
.transition-inner {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: default;
    padding: 20px; /* Optional: adds space so the "lift" is more visible */
}

/* Hover Effect: Scale and Translate */
.vision-mission-box:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Optional: Make the icon pop when hovering */
.vision-mission-box:hover i {
    transform: scale(1.2) rotate(5deg);
    transition: transform 0.3s ease;
    color: #105CAA; /* Uses your brand blue */
}

/* Optional: Add a subtle shadow on hover to enhance the lift */
.vision-mission-box:hover {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}
@media (max-width: 767px) {
    /* 1. Center the flex container contents */
    .vision-mission-box .d-flex {
        display: flex !important;
        justify-content: center !important;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* 2. Adjust the icon margin to ensure the text label stays centered */
    .vision-mission-box i {
        margin-right: 10px !important;
        margin-left: 0;
    }

    /* 3. Ensure the paragraph doesn't have offset width */
    .vision-mission-box p {
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 15px; /* Add slight side padding for readability */
    }

    /* 4. Fix heading alignment */
    .vision-mission-box h4 {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }
}
/*project grid*/
.pricing-table-style-09 {
    background: rgba(255, 255, 255, 0.5); /* Semi-transparent white */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    border-radius: 12px; /* Smooth corners */
    padding: 20px; /* Internal spacing */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1); /* Soft shadow */
}
/* 1. Add smooth transition to the rows */
.pricing-table-style-09 .row {
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    background: transparent;
}

/* 2. The Hover Effect: Slide right and add a subtle blue tint */
.pricing-table-style-09 .row:hover {
    transform: translateX(15px); /* Moves the row to the right */
    background: rgba(16, 92, 170, 0.05); /* Very light blue wash */
}

/* 3. Make the blue icon pop and rotate slightly */
.pricing-table-style-09 .row:hover img {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 5px 15px rgba(16, 92, 170, 0.3));
}

/* 4. Optional: Animate the border color to match your blue */
.pricing-table-style-09 .row:hover .border-start {
    border-color: #105CAA !important;
    transition: border-color 0.3s ease;
}

/* Ensure the image has a transition property */
.pricing-table-style-09 img {
    transition: all 0.4s ease;
}
/* Container for the image to allow zoom without overflow */


.blog-image img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
    display: block;
}

/* Hover Effects */
.grid-item:hover .blog-image img {
    transform: scale(1.1); /* Subtle zoom */
}

.grid-item .card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.grid-item:hover .card {
    transform: translateY(-10px); /* Lifts the card up */
    box-shadow: 0 20px 40px rgba(16, 92, 170, 0.15) !important; 
}

/* Text slide-up effect */
.post-content {
    transition: background 0.3s ease;
}

.grids:hover .post-content {
    background: #fdfdfd; /* Subtle highlight to the body */
}
/* Deep Charcoal Card Styling */
.grids.card {
    background: #1a1a1a !important;
    border: 1px solid #2a2a2a !important;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 0px !important;
}

/* Dark Card Body */
.grids .card-body {
    background: linear-gradient(145deg, #1e1e1e, #131313) !important;
    padding: 30px 25px !important;
    position: relative;
    overflow: hidden;
}

/* Blue Accent Bar on Hover */
.grids .card-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: #105CAA;
    transition: width 0.4s ease;
}

.grids:hover .card-body::before {
    width: 100%;
}

/* Text Styling */
.grids .card-title {
    color: #ffffff !important;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 10px;
}

.grids:hover .card-title {
    color: #105CAA !important;
}

.grids p {
    color: #ffffff !important;
    font-size: 14px;
    line-height: 24px;
}

/* Industrial Tag */
.project-tag {
    color: #105CAA;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: inline-block;
}
/* Icon Row Styling */
.project-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #2a2a2a;
}

.icon-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.icon-item i {
    font-size: 14px;
    color: #ffffff;
}

/* Hover State */
.grids:hover .icon-item {
    color: #ffffff;
}

.grids:hover .icon-item i {
    color: #105CAA; /* Brand Blue */
    transform: translateY(-2px);
}
/*home button*/
/* Triple Color Blinking Button */
.btn-gradient-blink {
    color: #ffffff;
    border: none;
    /* Create a wide gradient that includes blue and red */
    background: linear-gradient(135deg, #105CAA, #f12222, #105CAA);
    background-size: 300% 300%; /* Make it large so we can move it */
    transition: all 0.5s ease;
    animation: gradient-move 4s ease infinite;
}

.btn-gradient-blink:hover {
    background-position: center; /* Stop the movement and center the color */
    background-size: 100% 100%;
    transform: translateY(-3px);
    color: #ffffff;
}

@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
        box-shadow: 0 4px 15px rgba(16, 92, 170, 0.4);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 4px 20px rgba(241, 34, 34, 0.4);
    }
    100% {
        background-position: 0% 50%;
        box-shadow: 0 4px 15px rgba(16, 92, 170, 0.4);
    }
}
/*gallery*/
/* Container for the image and overlay */
.gallery-container {
    cursor: pointer;
}

.gallery-container img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

/* The Overlay - Hidden by default (opacity 0) */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(16, 92, 170, 0.4); /* Your brand blue #105CAA at 40% opacity */
    opacity: 0;
    transition: all 0.4s ease;
}

/* The Plus Symbol */
.plus-icon {
    color: #ffffff;
    font-size: 42px;
    font-weight: 300;
    transform: translateY(20px); /* Starts slightly lower for a slide-up effect */
    transition: all 0.4s ease;
}

/* Hover States */
.gallery-container:hover .gallery-overlay {
    opacity: 1;
}

.gallery-container:hover img {
    transform: scale(1.08); /* Gentle zoom */
}

.gallery-container:hover .plus-icon {
    transform: translateY(0); /* Slides into the center */
}
/* Change hover overlay to light black */
.gallery-hover {
    background-color: rgba(0, 0, 0, 0.2) !important; /* Adjust 0.6 for lightness */
    transition: all 0.3s ease-in-out;
    flex-direction: column; /* Stack icon and text vertically */
    padding: 20px;
}

/* Style for the project description */
.project-description {
    color: #ffffff;
    font-size: 14px;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease-in-out;
}

/* Show description on hover */
.grid-item:hover .project-description {
    opacity: 1;
    transform: translateY(0);
}
/*new section*/
/* Color Palette */
:root {
    --banyan-blue: #105CAA;
    --banyan-red: #f12222;
}

/* Gradient Classes */
.bg-gradient-emerald-blue-emerald-red {
    background-image: linear-gradient(45deg, var(--banyan-blue) 0%, var(--banyan-red) 100%) !important;
}

.text-gradient-emerald-blue-emerald-red {
    background: linear-gradient(45deg, var(--banyan-blue), var(--banyan-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-blue { color: var(--banyan-blue); }
.text-red { color: var(--banyan-red); }

/* Animation for the Section Blink */
.btn-gradient-blink {
    background-size: 200% 200%;
    animation: gradient-shimmer 6s ease infinite;
}

@keyframes gradient-shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* --- 1. Container & Section Padding --- */
section {
    padding: 80px 0; /* Default Desktop Padding */
}

@media (max-width: 991px) {
    section {
        padding: 60px 0; /* Tablet Padding */
    }
}

@media (max-width: 767px) {
    section {
        padding: 40px 0; /* Mobile Padding */
    }
}

/* --- 2. Typography Responsiveness --- */
h2 {
    font-size: 42px;
    line-height: 1.2;
}

@media (max-width: 991px) {
    h2 {
        font-size: 34px;
    }
}

@media (max-width: 767px) {
    h2 {
        font-size: 28px;
        text-align: center; /* Center headings for better mobile balance */
    }
    
    p {
        text-align: center; /* Center paragraph text on mobile */
    }
    
    .text-gradient-emerald-blue-emerald-red {
        text-align: center;
        display: block;
    }
}

/* --- 3. Feature Grid Scaling --- */
.icon-medium {
    font-size: 32px;
}

@media (max-width: 767px) {
    .row-cols-sm-2 .col {
        text-align: center;
        margin-bottom: 40px; /* Space out the features when stacked */
    }
    
    .icon-medium {
        margin: 0 auto 15px auto; /* Center icons on mobile */
    }
}

/* --- 4. Project Card Adjustments --- */
.border-10px {
    border-width: 10px;
}

@media (max-width: 991px) {
    /* Add margin to the top of the image when it stacks below text */
    .col-lg-5.offset-lg-1 {
        margin-top: 50px;
    }
    
    .border-10px {
        border-width: 5px; /* Thinner border for smaller screens */
    }
}

/* --- 5. Interactive Pulse Stats (Counter Section) --- */
.btn-gradient-blink {
    transition: padding 0.3s ease;
}

@media (max-width: 767px) {
    .bg-gradient-emerald-blue-emerald-red.p-60px {
        padding: 40px 20px !important;
    }

    .bg-gradient-emerald-blue-emerald-red h2 {
        font-size: 36px;
        margin-bottom: 5px;
    }
    
    .sm-mb-30px {
        margin-bottom: 30px;
    }
}

/* --- 6. Helper Classes for Spacing --- */
.w-90 { width: 90%; }
.w-100 { width: 100%; }

@media (max-width: 991px) {
    .md-w-100 { width: 100% !important; }
    .md-p-40px { padding: 40px !important; }
}
/*why choose us*/
/* Increase the height and spacing of the sliding boxes */
.sliding-box-style-03 .sliding-box-item {
    min-height: 300px; /* Adjust this value to your preferred height */
    display: flex;
    flex-direction: column;
}

/* Ensure the image container takes up a consistent portion */
.sliding-box-style-03 .sliding-box-img {
    height: 300px; /* Fixed height for the top image section */
    overflow: hidden;
}

.sliding-box-style-03 .sliding-box-img img {
    height: 100%;
    object-fit: cover; /* Keeps images from stretching */
}

/* Add more vertical breathing room to the white content area */
.sliding-box-style-03 .sliding-box-content {
    flex-grow: 1;
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}
/* --- Responsive Adjustments --- */

/* For Tablets (Screens under 1200px) */
@media (max-width: 1199px) {
    .sliding-box-style-03 .sliding-box-item {
        min-height: 450px; /* Slightly shorter for tablets */
    }
    
    .sliding-box-style-03 .sliding-box-img {
        height: 250px; /* Reduce image height slightly */
    }

    .sliding-box-style-03 .sliding-box-content {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* For Landscape Mobiles (Screens under 991px) */
@media (max-width: 991px) {
    .sliding-box-style-03 .sliding-box-item {
        min-height: 400px;
        margin-bottom: 20px; /* Add space between stacked boxes */
    }
    
    .sliding-box-style-03 .sliding-box {
        flex-wrap: wrap; /* Ensure boxes stack 2x2 or 1x1 */
    }
}

/* For Small Mobiles (Screens under 767px) */
@media (max-width: 767px) {
    .sliding-box-style-03 .sliding-box-item {
        min-height: auto; /* Let content dictate height on small phones */
    }

    .sliding-box-style-03 .sliding-box-img {
        height: 200px; /* Compact image for small screens */
    }

    .sliding-box-style-03 .sliding-box-content {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .sliding-box-style-03 .number {
        font-size: 50px; /* Scale down the large numbers */
        line-height: 50px;
    }
}
/* Custom Membership Card Styles */
.membership-card {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.35s ease, 
                border-color 0.35s ease;
    will-change: transform; /* Optimized for smoother animation */
}

/* Hover State */
.membership-card:hover {
    transform: translateY(-12px); /* Moves the card up */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12) !important; /* Deeper, softer shadow */
}

/* Optional: Logo Focus Effect */
.membership-card img {
    transition: transform 0.3s ease;
}

.membership-card:hover img {
    transform: scale(1.05); /* Slightly enlarges the logo on hover */
}