/* Enhanced Design Improvements - Add to existing style.css */

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Enhanced Cards with Hover Effects */
/* Enhanced Cards with Hover Effects */
.ree-card, .ree-card1 {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: visible !important; /* Allow icons to pop out */
    border: 1px solid rgba(84, 121, 238, 0.05);
}

/* New Premium Hover Effect - Subtle Inner Border & Depth */
.ree-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 18px;
    box-shadow: inset 0 0 0 1px rgba(84, 121, 238, 0);
    transition: all 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.ree-card:hover::after {
    box-shadow: inset 0 0 0 2px rgba(84, 121, 238, 0.2);
}

/* Hidden the old shine effect that required overflow:hidden */
.ree-card::before {
    display: none;
}

.ree-card:hover, .ree-card1:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px -12px rgba(84, 121, 238, 0.3);
    border-color: transparent;
}

/* Enhanced Buttons */
.ree-btn-grdt1 {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.ree-btn-grdt1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #5479EE, #7B9FFF);
    transition: left 0.3s;
    z-index: -1;
}

.ree-btn-grdt1:hover::before {
    left: 0;
}

/* Gradient Text Enhancement */
.ree-text.rt40 {
    background: linear-gradient(135deg, #5479EE 0%, #B4C6FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.ree-text.rt40::after {
    display: none;
}

/* Enhanced Section Backgrounds */
.r-bg-a {
    background: linear-gradient(180deg, #F1F0FE 0%, #ffffff 100%);
}

.r-bg-z {
    background: linear-gradient(180deg, #F3F6FF 0%, #ffffff 100%);
}

.r-bg-f {
    background: linear-gradient(180deg, #EEEDFE 0%, #F8F7FF 100%);
}


/* Enhanced Service Cards */
.ree-card-img {
    transition: all 0.4s ease;
}

.ree-card:hover .ree-card-img {
    transform: scale(1.1) rotate(5deg);
}

/* Glassmorphism Effect for Header */
.ree-header.sticky {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(84, 121, 238, 0.1);
    box-shadow: 0 8px 32px rgba(84, 121, 238, 0.1);
}

/* Enhanced Portfolio Cards */
.fwb-main-x {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.fwb-main-x::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(84, 121, 238, 0) 0%, rgba(84, 121, 238, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.fwb-main-x:hover::after {
    opacity: 1;
}

.fwb-main-x:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(84, 121, 238, 0.15);
}

/* Enhanced Work Thumbnails */
.work-thumbnails {
    position: relative;
    overflow: hidden;
}

.work-thumbnails::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(84, 121, 238, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.fwb-main-x:hover .work-thumbnails::before {
    opacity: 1;
}

/* Enhanced Process Cards */
.process-content {
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.process-content:hover {
    border-color: rgba(84, 121, 238, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #F8F7FF 100%);
}

.process-content .setps {
    background: linear-gradient(135deg, #5479EE 0%, #B4C6FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Sub-headings */
.sub-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.sub-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #5479EE 0%, transparent 100%);
}

/* Enhanced Icons */
.icon-with-title {
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon-with-title:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #F8F7FF 0%, #ffffff 100%);
    box-shadow: 0 10px 25px rgba(84, 121, 238, 0.15);
}

.iwt-icon img {
    transition: transform 0.3s ease;
}

.icon-with-title:hover .iwt-icon img {
    transform: scale(1.1);
}

/* Enhanced Form Inputs */
.form-block input,
.form-block textarea,
.form-block select {
    transition: all 0.3s ease;
    border: 2px solid #e6e6e6;
}

.form-block input:focus,
.form-block textarea:focus,
.form-block select:focus {
    border-color: #5479EE;
    box-shadow: 0 0 0 3px rgba(84, 121, 238, 0.1);
    outline: none;
}

/* Enhanced Stats Boxes */
.stats-box {
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.stats-box:hover {
    border-color: rgba(84, 121, 238, 0.2);
    transform: translateY(-5px);
    background: linear-gradient(135deg, #ffffff 0%, #F8F7FF 100%);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced Navigation Links */
.nav-list li a.menu-links {
    position: relative;
}

.nav-list li a.menu-links::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #5479EE 0%, #B4C6FF 100%);
    transition: width 0.3s ease;
}

.nav-list li a.menu-links:hover::after {
    width: 60%;
}

/* Enhanced Review Section */
#review.sec-pad {
    padding-top: 60px;
    padding-bottom: 60px;
}

#review .heading-review .mb50 {
    margin-bottom: 30px !important;
}

#review .home-review-slider.mt30 {
    margin-top: 10px !important;
}

.review-slider {
    animation: fadeInUp 0.8s ease;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Pulse Animation for CTA Buttons */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 19px 40px -10px rgba(84, 121, 238, 0.3);
    }
    50% {
        box-shadow: 0 19px 40px -10px rgba(84, 121, 238, 0.6);
    }
}

.ree-btn-grdt1 {
    animation: pulse 2s infinite;
}

.ree-btn-grdt1:hover {
    animation: none;
}

/* Enhanced Footer Links */
.footer-links-list li a {
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links-list li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links-list li a:hover::before {
    left: -15px;
    opacity: 1;
}

.footer-links-list li a:hover {
    color: #5479EE;
    transform: translateX(5px);
}

/* Enhanced Social Icons */
.footer_social li a {
    transition: all 0.3s ease;
}

.footer_social li a:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Loading Animation for Images */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Enhanced Testimonial Cards */
.reviewers-img {
    position: relative;
    transition: all 0.4s ease;
}

.review-slider:hover .reviewers-img {
    transform: scale(1.05);
}

/* Gradient Overlay for Hero Section */
.owlbg11 {
    position: relative;
    min-height: 650px !important;
    display: flex !important;
    align-items: center !important;
}

.owlbg11::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(84, 121, 238, 0.03) 0%, transparent 100%);
    pointer-events: none;
}

/* Fixed Height for Hero Section */
.home-hero.slide-hero {
    min-height: 650px !important;
}

.hero-owl.owl-carousel {
    min-height: 650px !important;
}

/* Ensure hero images are visible from the start */
.owlbg11 .sol-image img,
.owlbg11 .sol-img img {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure background images load properly */
.owlbg11[data-background] {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Enhanced FAQ Section */
.tab {
    transition: all 0.3s ease;
}

.tab:hover {
    transform: translateX(5px);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .ree-card:hover,
    .ree-card1:hover,
    .fwb-main-x:hover {
        transform: translateY(-5px);
    }
    
}

/* Print Styles */
@media print {
    .ree-header,
    .footer-a,
    .ree-btn {
        display: none;
    }
}
/* Portfolio Grid System */
.full-work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.fwb-main-x {
    cursor: pointer;
    background: #fff;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.03);
    overflow: visible;
}

.fwb-main-x:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(84, 121, 238, 0.15);
}

.fwb-main-x .work-thumbnails {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.fwb-main-x .work-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.fwb-main-x:hover .work-thumbnails img {
    transform: scale(1.08);
}

.fwb-main-x .work-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.fwb-main-x h4 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 700;
    color: #222;
    letter-spacing: -0.3px;
}

.fwb-main-x .mb10 {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
}

/* Portfolio Modal Styles */
#portfolioModal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

#portfolioModal .modal-header {
    border-bottom: 1px solid rgba(84, 121, 238, 0.1);
    background: #f8f9fa;
    border-radius: 20px 20px 0 0;
    padding: 20px 30px;
    position: relative;
}

#portfolioModal .btn-close {
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") !important;
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
    transition: all 0.2s ease;
    border: none;
    background-color: #eee;
    border-radius: 50%;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 1070;
    cursor: pointer;
    pointer-events: auto !important;
}

#portfolioModal .btn-close:hover {
    opacity: 1;
    background-color: #e0e0e0;
    transform: scale(1.1);
}

#portfolioModal .modal-body {
    padding: 30px;
}

/* FAQ Responsive Fixes */
.container .tab label {
    padding-right: 50px !important;
    position: relative;
}

.container .tab label h4 {
    margin-bottom: 0px;
}

#portfolioModal .modal-title {
    color: #333;
    font-weight: 700;
}

.modal-portfolio-img {
    border-radius: 12px;
    display: block;
    margin: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.modal-desc-full {
    line-height: 1.8;
    color: #555;
    font-size: 16px;
}

/* Responsive Grid */
@media (max-width: 991px) {
    .full-work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .full-work-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* Portfolio Grid Show More Functionality */
.full-work-grid .fwb-main-x:nth-child(n+7) {
    display: none;
}

.full-work-grid.expanded .fwb-main-x:nth-child(n+7) {
    display: flex;
}

/* Show More Button */
.show-more-btn-container {
    text-align: center;
    margin-top: 40px;
}

.show-more-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #5479EE 0%, #7B9FFF 100%);
    color: #fff;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 10px 20px rgba(84, 121, 238, 0.2);
}

.show-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(84, 121, 238, 0.3);
    color: #fff;
}

/* Animations for Grid Items */
@keyframes fadeInUpItem {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutDownItem {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(40px);
    }
}

.animate-reveal {
    animation: fadeInUpItem 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.animate-hide {
    animation: fadeOutDownItem 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Ensure hidden items are truly hidden during animation if needed, 
   but our JS logic handles the display toggle. 
   We just need to ensure they start invisible when revealing. */
.full-work-grid.expanded .fwb-main-x:nth-child(n+7) {
    display: flex; /* Already present, just reaffirming behavior */
}

/* GRADIENT TEXT HELPERS */
.grad-text-blue {
	background: linear-gradient(135deg, #667eea, #764ba2);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-decoration: none;
}

.grad-text-pink {
	background: linear-gradient(135deg, #f093fb, #f5576c);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-decoration: none;
}

.grad-text-cyan {
	background: linear-gradient(135deg, #4facfe, #00f2fe);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-decoration: none;
}

.grad-text-green {
	background: linear-gradient(135deg, #43e97b, #38f9d7);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-decoration: none;
}

.grad-text-yellow {
	background: linear-gradient(135deg, #fa709a, #fee140);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-decoration: none;
}

.grad-text-purple {
	background: linear-gradient(135deg, #30cfd0, #330867);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-decoration: none;
}

/* ICON CIRCLE */
.ree-card-img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 25px auto !important; /* Center and push content down */
	box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative !important; /* Force into flow */
    top: auto !important;
    left: auto !important;
}

.ree-card-img img {
	filter: brightness(0) invert(1);
}

/* CARD STYLING */
.ree-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border-radius: 18px;
	transition: all 0.35s ease;
}

.ree-card:hover {
	transform: translateY(-12px);
	box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* CONTENT */
.ree-card-content {
	flex: 1;
	padding: 0 28px 35px;
}

.ree-card-content h3 {
	font-size: 20px;
	font-weight: 700;
	color: #333;
}

.ree-card-content p {
	font-size: 15px;
	line-height: 1.7;
	color: #666;
	margin-bottom: 0;
}

/* SPACING BETWEEN ROWS - Optimized for Compactness */
#service .col-lg-4 {
	margin-bottom: 30px; /* Reduced from 50px */
}

/* Compact Service Section Overrides */
#service.sec-pad {
    padding-top: 60px;
    padding-bottom: 60px;
}

#service .mt60 {
    margin-top: 30px !important;
}

#service .mt30 {
    margin-top: 10px !important;
}

#service .ree-card-content.mt40 {
    margin-top: 15px !important;
}

#service .ree-card {
    padding: 30px 25px; /* Tighter internal padding */
    min-height: auto;
}


/* PROCESS CARD */
.process-content {
	position: relative;
	padding: 55px 25px 35px;
	background: #fff;
	border-radius: 16px;
	transition: all 0.35s ease;
	height: 100%;
}

/* Hover effect */
.process-content:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

/* NUMBER BADGE */
.process-content .setps {
	position: absolute;
	top: 15px;
	left: 20px;
	font-size: 42px;
	font-weight: 700;
	line-height: 1;
	opacity: 0.35;
	transition: all 0.3s ease;
}

/* Darker number on hover */
.process-content:hover .setps {
	opacity: 0.75;
	transform: scale(1.05);
}

/* CONTENT */
.process-block h4 {
	margin-top: 0;
	margin-bottom: 12px;
	font-weight: 700;
}

.process-block p {
	margin-bottom: 0;
	line-height: 1.7;
}

.ree-star {
    color: #FFD700; /* Golden color */
}

/* ========================================
   WE DELIVER SECTION - ENHANCED DESIGN
   ======================================== */

.form-btm-set {
    margin-top: 40px;
}

.form-btm-set h4 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.form-btm-set h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #5479EE 0%, #B4C6FF 100%);
    border-radius: 2px;
}

/* Grid Layout for Delivery Items - Single Row Fit */
.icon-setss {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

/* Individual Delivery Card */
.icon-rows {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(84, 121, 238, 0.08);
    box-shadow: 0 4px 15px rgba(84, 121, 238, 0.08);
    position: relative;
    overflow: hidden;
    flex: 1;
    max-width: 280px;
}

/* Gradient overlay on hover */
.icon-rows::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(84, 121, 238, 0.05), transparent);
    transition: left 0.6s ease;
}

.icon-rows:hover::before {
    left: 100%;
}

.icon-rows:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(84, 121, 238, 0.18);
    border-color: rgba(84, 121, 238, 0.15);
}

/* Icon Container with Gradient Background */
.icon-imgg {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5479EE 0%, #7B9FFF 100%);
    box-shadow: 0 8px 20px rgba(84, 121, 238, 0.25);
    transition: all 0.4s ease;
    position: relative;
}

.icon-rows:hover .icon-imgg {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 28px rgba(84, 121, 238, 0.35);
}

.icon-imgg::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 100%);
    pointer-events: none;
}

.icon-imgg img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 1;
}

/* Text Content */
.icon-txt {
    flex: 1;
}

.icon-txt p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.icon-txt strong {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #5479EE 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .icon-rows {
        max-width: 240px;
    }
}

@media (max-width: 992px) {
    .icon-setss {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .icon-rows {
        flex: 1 1 calc(50% - 10px);
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .icon-setss {
        gap: 16px;
    }
    
    .icon-rows {
        padding: 20px 16px;
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .icon-imgg {
        width: 50px;
        height: 50px;
    }
    
    .icon-imgg img {
        width: 26px;
        height: 26px;
    }
    
    .icon-txt strong {
        font-size: 16px;
    }
    
    .icon-txt p {
        font-size: 14px;
    }
    
    .form-btm-set h4 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .icon-rows:hover {
        transform: translateY(-4px);
    }
}

/* Footer Portfolio 2 Columns */
.footer-portfolio-2cols {
    column-count: 2;
    column-gap: 20px;
}
.footer-portfolio-2cols li {
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1px; /* Adjust spacing */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Redesigned We Deliver Section */
.we-deliver-new {
    padding: 60px 0 100px 0;
}

.delivery-card {
    padding: 30px 20px 30px;
    border-radius: 20px;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 1px solid rgba(84, 121, 238, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.delivery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(84, 121, 238, 0.15);
    border-color: rgba(84, 121, 238, 0.2);
}

.delivery-icon-inner {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #F1F0FE 0%, #ffffff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(84, 121, 238, 0.1);
    transition: all 0.4s ease;
}

.delivery-card:hover .delivery-icon-inner {
    background: linear-gradient(135deg, #5479EE 0%, #B4C6FF 100%);
    transform: rotate(10deg);
}

.delivery-card:hover .delivery-icon-inner img {
    filter: brightness(0) invert(1);
}

.delivery-content-inner strong {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
    color: #110a32;
    font-weight: 700;
}

.delivery-content-inner p {
    font-size: 14px;
    line-height: 1.6;
    color: #6a6a8e;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .delivery-card {
        margin-bottom: 30px;
    }
}
