/* Custom CSS for Inner Pages */

/* Multi-column Layout Styles */
.multi-column-section .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.multi-column-section .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 30px;
}

.multi-column-section .service-detail-box {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.multi-column-section .service-detail-content {
    flex-grow: 1;
}

@media (max-width: 767px) {
    .multi-column-section .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Improved Typography */
.service-detail-section h3 {
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    color: #030349;
}

.service-detail-section h3:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #ff7f50;
    transition: all 0.3s ease;
}

.service-detail-box:hover h3:after {
    width: 100px;
}

/* Enhanced Service Detail Box */
.service-detail-box {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    margin-bottom: 40px;
}

.service-detail-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #ff7f50;
}

/* Improved Icons */
.service-detail-icon {
    font-size: 50px;
    color: #ff7f50;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-detail-box:hover .service-detail-icon {
    transform: scale(1.1);
}

/* Enhanced Lists */
.ttm-list.ttm-list-style-icon {
    margin-bottom: 25px;
}

.ttm-list.ttm-list-style-icon li {
    padding: 10px 0;
    transition: all 0.3s ease;
}

.ttm-list.ttm-list-style-icon li:hover {
    transform: translateX(5px);
}

.ttm-list.ttm-list-style-icon li i {
    font-size: 16px;
}

/* Improved Call to Action Section */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 127, 80, 0.9) 0%, rgba(255, 127, 80, 0.7) 100%);
    z-index: 0;
}

.cta-content-box {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.cta-icon i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Improved Buttons */
.ttm-btn {
    position: relative;
    overflow: hidden;
}

.ttm-btn:before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.ttm-btn:hover:before {
    left: 100%;
}

/* Responsive Improvements */
@media only screen and (max-width: 768px) {
    .service-detail-box {
        padding: 20px;
    }

    .service-detail-section h3 {
        font-size: 24px;
    }
}

/* Page Title Improvements */
.ttm-page-title-row {
    position: relative;
    overflow: hidden;
}

.ttm-page-title-row:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 3, 73, 0.8) 0%, rgba(3, 3, 73, 0.6) 100%);
    z-index: 0;
}

.ttm-page-title-row-inner {
    position: relative;
    z-index: 1;
}

.page-title-heading h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Animation for Service Detail Boxes */
.service-detail-box {
    animation: fadeInUp 0.5s ease-out;
}

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

/* Improved Footer */
.footer {
    position: relative;
    overflow: hidden;
}

.footer:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(3, 3, 73, 0.9) 0%, rgba(3, 3, 73, 0.7) 100%);
    z-index: 0;
}

.bottom-footer-text {
    position: relative;
    z-index: 1;
}
