/* ========================================
   SPACING & PADDING OPTIMIZATION
   Eye-catching and responsive layout
   ======================================== */

/* ===== SECTION SPACING ===== */

/* Consistent section padding */
section {
    position: relative;
}

/* Hero Banner - Reduce excessive padding */
.banner-section .overlay .banner-content {
    padding: 180px 0 120px !important;
}

.banner-section .main-content .top-area {
    margin-bottom: 35px;
}

.banner-section .main-content .bottom-area {
    margin-top: 40px;
    gap: 15px;
}

/* Remove partner section if exists */
.banner-section .partner {
    display: none;
}

/* ===== FEATURES SECTIONS ===== */

/* Why Choose Us Section */
.features-section .overlay {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.features-section .section-header {
    margin-bottom: 50px;
}

.features-section .top-section {
    padding-right: 30px;
}

.features-section .top-section .head-icon {
    margin-bottom: 20px;
}

.features-section .top-section h5 {
    margin-bottom: 15px;
}

.features-section .top-section h2 {
    margin-bottom: 20px;
}

.features-section .top-section p {
    margin-bottom: 25px;
}

.features-section .top-section .list {
    margin-top: 25px;
}

.features-section .top-section .list .list-item {
    margin-bottom: 15px;
}

.features-section .img-area {
    padding-left: 20px;
}

/* Second feature section spacing */
.features-section.second .overlay {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.features-section.second .top-section {
    padding-left: 30px;
    padding-right: 0;
}

.features-section.second .img-area {
    padding-right: 20px;
    padding-left: 0;
}

.features-section.second .cmn-btn {
    margin-top: 30px;
}

/* ===== SOLUTIONS/PRODUCTS SECTION ===== */

.solutions-business .overlay {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.solutions-business .section-header {
    margin-bottom: 50px;
}

.solutions-business .cus-mar {
    margin-top: 0;
    margin-bottom: 0;
}

.solutions-business .single-box {
    padding: 40px 25px;
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s ease;
}

.solutions-business .single-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 30px rgba(47,65,129,.15) !important;
}

.solutions-business .single-box .thumb {
    margin-bottom: 25px;
}

.solutions-business .single-box .content h5 {
    margin-bottom: 15px;
    margin-top: 0;
}

.solutions-business .single-box .content p {
    margin-bottom: 20px;
    min-height: 80px;
}

.solutions-business .single-box .content .btn-arrow {
    margin-top: 15px;
}

/* ===== MEMBERSHIP BENEFITS SECTION ===== */

.solutions-business .single-box.text-center .content p {
    min-height: 60px;
}

/* ===== CALL TO ACTION ===== */

.call-action .overlay {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

.call-action .main-content {
    padding: 60px 40px;
}

.call-action .section-header {
    margin-bottom: 35px;
}

.call-action .section-header .title {
    margin-bottom: 15px;
}

.call-action .section-header p {
    margin-top: 15px;
    margin-bottom: 0;
}

.call-action .bottom-area {
    margin-top: 35px;
    gap: 15px;
}

/* ===== FOOTER SPACING ===== */

.footer-section {
    padding-top: 80px;
}

.footer-section .container {
    padding-top: 0 !important;
}

.footer-section .cus-mar {
    padding-top: 60px;
    padding-bottom: 60px;
}

.footer-section .footer-box {
    margin-bottom: 30px;
}

.footer-section .footer-box h5 {
    margin-bottom: 20px;
}

.footer-section .footer-box p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-section .footer-box .logo-wrapper {
    margin-bottom: 20px !important;
}

.footer-section .footer-box .social-link {
    margin-top: 20px;
}

.footer-section .footer-bottom {
    padding: 25px 0;
}

/* ===== RESPONSIVE SPACING ===== */

/* Large Desktop */
@media (min-width: 1200px) {
    .banner-section .overlay .banner-content {
        padding: 200px 0 140px !important;
    }
    
    .features-section .overlay,
    .solutions-business .overlay,
    .call-action .overlay {
        padding-top: 100px !important;
        padding-bottom: 100px !important;
    }
}

/* Desktop */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .banner-section .overlay .banner-content {
        padding: 180px 0 120px !important;
    }
    
    .features-section .top-section {
        padding-right: 20px;
    }
    
    .solutions-business .single-box {
        padding: 35px 20px;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 991.98px) {
    .banner-section .overlay .banner-content {
        padding: 160px 0 100px !important;
    }
    
    .features-section .overlay,
    .solutions-business .overlay,
    .call-action .overlay {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    
    .features-section .top-section,
    .features-section.second .top-section {
        padding-right: 0;
        padding-left: 0;
        margin-bottom: 40px;
    }
    
    .features-section .img-area,
    .features-section.second .img-area {
        padding: 0;
        text-align: center;
    }
    
    .solutions-business .single-box {
        margin-bottom: 25px;
    }
    
    .call-action .main-content {
        padding: 50px 30px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .banner-section .overlay .banner-content {
        padding: 140px 0 80px !important;
    }
    
    .banner-section .main-content .top-area {
        margin-bottom: 25px;
    }
    
    .banner-section .main-content .bottom-area {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .banner-section .main-content .bottom-area .cmn-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .features-section .overlay,
    .solutions-business .overlay,
    .call-action .overlay {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    
    .features-section .section-header {
        margin-bottom: 35px;
    }
    
    .features-section .top-section,
    .features-section.second .top-section {
        padding: 0;
        margin-bottom: 30px;
    }
    
    .features-section .img-area,
    .features-section.second .img-area {
        padding: 0;
        text-align: center;
        margin-top: 30px;
    }
    
    .features-section .img-area img {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .solutions-business .section-header {
        margin-bottom: 35px;
    }
    
    .solutions-business .single-box {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .solutions-business .single-box .content p {
        min-height: auto;
    }
    
    .call-action .main-content {
        padding: 40px 20px;
    }
    
    .call-action .section-header {
        margin-bottom: 25px;
    }
    
    .call-action .bottom-area {
        margin-top: 25px;
        flex-direction: column;
    }
    
    .call-action .bottom-area .cmn-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .footer-section {
        padding-top: 50px;
    }
    
    .footer-section .cus-mar {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .footer-section .footer-box {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-section .footer-box .logo-wrapper {
        justify-content: center;
    }
    
    .footer-section .footer-box .social-link {
        justify-content: center;
    }
    
    .footer-section .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-section .footer-bottom .left {
        order: 2;
    }
    
    .footer-section .footer-bottom .right {
        order: 1;
    }
}

/* Small Mobile */
@media (max-width: 575.98px) {
    .banner-section .overlay .banner-content {
        padding: 120px 0 60px !important;
    }
    
    .features-section .overlay,
    .solutions-business .overlay,
    .call-action .overlay {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
    
    .section-header h2 {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }
    
    .section-header h5 {
        font-size: 15px !important;
    }
    
    .solutions-business .single-box {
        padding: 25px 15px;
    }
    
    .call-action .main-content {
        padding: 30px 15px;
    }
    
    .footer-section .cus-mar {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

/* ===== VISUAL ENHANCEMENTS ===== */

/* Add subtle animations */
.single-box,
.features-section .img-area img,
.call-action .main-content {
    transition: all 0.3s ease;
}

/* Improve readability */
.section-header p {
    line-height: 1.7;
    opacity: 0.9;
}

.features-section .top-section p {
    line-height: 1.7;
}

/* Better spacing for lists */
.features-section .list .list-item {
    padding: 8px 0;
}

/* Card hover effects */
.solutions-business .single-box {
    border: 1px solid transparent;
}

.solutions-business .single-box:hover {
    border-color: #b0baf1;
}

/* Button spacing in cards */
.solutions-business .single-box .btn-arrow,
.solutions-business .single-box .cmn-btn {
    margin-top: 20px;
    display: inline-block;
}

/* ===== SECTION DIVIDERS ===== */

/* Add visual separation between sections */
.features-section,
.solutions-business,
.call-action {
    position: relative;
}

/* Alternate background colors for better separation */
.features-section.second {
    background: #f5faff;
}

.solutions-business:nth-of-type(odd) {
    background: #ffffff;
}

.solutions-business:nth-of-type(even) {
    background: #f5faff;
}

/* ===== CONTENT ALIGNMENT ===== */

/* Center align section headers */
.section-header.text-center {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Ensure consistent content width */
.features-section .top-section,
.features-section.second .top-section {
    max-width: 100%;
}

/* ===== ACCESSIBILITY & TOUCH TARGETS ===== */

/* Ensure adequate spacing for touch targets */
.cmn-btn {
    margin: 5px;
}

.btn-arrow {
    padding: 10px 0;
    display: inline-block;
}

/* ===== PRINT OPTIMIZATION ===== */

@media print {
    .banner-section .overlay .banner-content {
        padding: 40px 0 !important;
    }
    
    .features-section .overlay,
    .solutions-business .overlay,
    .call-action .overlay {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}
