/* Additional CSS for AcilMotorKuryeniz.com - SEO & UX Enhancements */

/* Performance optimizations & Layout Fixes */
* {
    box-sizing: border-box;
}

/* Remove horizontal scrollbars and fix overflow issues */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* Container and row fixes to prevent horizontal overflow */
.container, .container-fluid {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
}

/* Fix for slider container */
.swiper-container {
    overflow: hidden !important;
    max-width: 100% !important;
}

.swiper-wrapper {
    max-width: 100% !important;
}

.swiper-slide {
    max-width: 100% !important;
    overflow: hidden !important;
}

/* Image optimization and layout fixes */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Fix container overflow and layout issues */
.container, .container-fluid {
    overflow-x: hidden;
}

/* Button alignment fixes */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.button-group .button {
    flex: 0 0 auto;
    margin: 5px;
    white-space: nowrap;
}

/* Card height consistency */
.box-categories-content .row > div {
    display: flex;
    margin-bottom: 30px;
}

.box-categories-list,
.service-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 350px;
}

.service-description {
    flex-grow: 1;
    margin: 15px 0;
}

.service-features {
    margin-top: auto;
}

/* Improved button styles */
.button-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border: none;
    transition: all 0.3s ease;
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.button-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
}

.button-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.button-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: none;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* Google Ads Landing Page Optimizations */
.pulse-animation {
    animation: pulse-urgent 1.5s infinite;
}

@keyframes pulse-urgent {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
    50% { transform: scale(1.02); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* Service badges */
.badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.badge-outline-primary {
    border: 1px solid #007bff;
    color: #007bff;
    background: transparent;
}

.badge-outline-success {
    border: 1px solid #28a745;
    color: #28a745;
    background: transparent;
}

.badge-outline-danger {
    border: 1px solid #dc3545;
    color: #dc3545;
    background: transparent;
}

.badge-outline-warning {
    border: 1px solid #ffc107;
    color: #856404;
    background: transparent;
}

.badge-outline-info {
    border: 1px solid #17a2b8;
    color: #17a2b8;
    background: transparent;
}

.badge-outline-secondary {
    border: 1px solid #6c757d;
    color: #6c757d;
    background: transparent;
}

.badge-outline-dark {
    border: 1px solid #343a40;
    color: #343a40;
    background: transparent;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid #ddd;
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Breadcrumb styling */
.breadcrumb {
    background: #f8f9fa;
    border-radius: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* Card improvements */
.card {
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.card-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-bottom: 1px solid rgba(0,0,0,.125);
    padding: 1rem 1.25rem;
    border-radius: 7px 7px 0 0;
}

/* Form improvements */
.form-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.form-label {
    font-weight: 500;
    color: #495057;
}

/* List improvements */
.list-marked li {
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.list-marked li:last-child {
    border-bottom: none;
}

/* Trust indicators */
.trust-indicators {
    text-align: center;
    padding: 20px 0;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    margin: 0 15px 10px 15px;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}

.trust-item i {
    margin-right: 5px;
}

/* Trust badges styling */
.trust-badges {
    margin-top: 15px;
}

.trust-badges .badge {
    font-size: 12px;
    padding: 6px 12px;
    margin: 3px;
    font-weight: 600;
    text-shadow: none;
}

/* Feature items */
.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon i {
    background: rgba(255,255,255,0.2);
    padding: 15px;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* Process steps */
.process-step {
    position: relative;
    text-align: center;
    padding: 30px 15px;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #007bff;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

/* Contact methods */
.contact-method {
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.contact-method:hover {
    transform: translateY(-5px);
}

/* Quick order section */
.quick-order-section {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

/* Service cards grid */
.service-card {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card img {
    object-fit: cover;
    border-radius: 4px;
}

.service-description {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
}

.service-features {
    margin-top: auto;
    padding-top: 15px;
}

/* Specialized services */
.specialized-service {
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;
}

.specialized-service:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

.specialized-service h3 i {
    width: 20px;
    text-align: center;
}

/* Price tag */
.price-tag {
    display: inline-block;
    background: linear-gradient(45deg, #007bff, #28a745);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Enhanced CTA buttons */
.button-lg {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.button-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    border: none;
}

.button-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
}

.button-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Conversion-focused styling */
.conversion-highlight {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    color: #333;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

/* Footer improvements */
.footer-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-services-list li {
    padding: 6px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-services-list li:last-child {
    border-bottom: none;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}

.highlight-item i {
    margin-right: 10px;
    margin-top: 2px;
    width: 16px;
    flex-shrink: 0;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-whatsapp, 
.float-phone {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.float-whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.float-phone {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
}

.float-whatsapp:hover,
.float-phone:hover {
    color: white;
    text-decoration: none;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}

.float-whatsapp i,
.float-phone i {
    font-size: 24px;
    z-index: 2;
    position: relative;
}

/* Tooltip */
.float-tooltip {
    position: absolute;
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10000;
}

.float-tooltip::after {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: rgba(0,0,0,0.8);
}

.float-whatsapp:hover .float-tooltip,
.float-phone:hover .float-tooltip {
    opacity: 1;
}

/* Pulse animation */
@keyframes float-pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(0,0,0,0.4);
    }
    100% { 
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
}

/* Ripple effect */
.float-whatsapp::before,
.float-phone::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: width 0.6s, height 0.6s;
}

.float-whatsapp:active::before,
.float-phone:active::before {
    width: 120px;
    height: 120px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 15px;
        left: 15px;
        gap: 12px;
    }
    
    .float-whatsapp, 
    .float-phone {
        width: 55px;
        height: 55px;
    }
    
    .float-whatsapp i,
    .float-phone i {
        font-size: 22px;
    }
    
    .float-tooltip {
        display: none;
    }
}

/* Small screen adjustments */
@media (max-width: 480px) {
    .floating-buttons {
        bottom: 10px;
        left: 10px;
    }
    
    .float-whatsapp, 
    .float-phone {
        width: 50px;
        height: 50px;
    }
    
    .float-whatsapp i,
    .float-phone i {
        font-size: 20px;
    }
}

/* Accessibility */
.float-whatsapp:focus,
.float-phone:focus {
    outline: 3px solid rgba(255,255,255,0.5);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .float-whatsapp,
    .float-phone {
        border: 2px solid white;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .float-whatsapp,
    .float-phone {
        animation: none !important;
        transition: none !important;
    }
}

/* Responsive improvements */
@media (max-width: 768px) {
    .service-card {
        margin-bottom: 20px;
    }
    
    .process-step {
        margin-bottom: 30px;
    }
    
    .trust-item {
        display: block;
        margin: 10px 0;
        text-align: center;
    }
    
    .feature-item {
        margin-bottom: 30px;
    }
    
    .button-group .button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .quick-order-section {
        text-align: center;
    }
    
    .swiper-slide h1,
    .swiper-slide h2,
    .swiper-slide h3 {
        font-size: 1.4rem;
        line-height: 1.2;
        margin-bottom: 10px;
    }
    
    .button-lg {
        font-size: 14px;
        padding: 12px 20px;
        margin: 8px 0;
    }
    
    .trust-badges {
        text-align: center;
        margin-top: 20px;
    }
    
    .trust-badges .badge {
        display: inline-block;
        margin: 5px 3px;
        font-size: 11px;
    }
}

/* Responsive layout fixes */
@media (max-width: 991px) {
    .rd-navbar-collapse .button {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .rd-navbar-aside-right {
        flex-direction: column;
        align-items: center;
    }
    
    .swiper-slide-caption {
        padding: 20px 0;
    }
    
    .h6, .h5, .h4, .h3, .h2, .h1 {
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .service-card,
    .box-categories-list {
        min-height: 300px;
        margin-bottom: 20px;
    }
    
    .button-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .button-group .button {
        width: 100%;
        margin: 5px 0;
    }
    
    .swiper-slide h1,
    .swiper-slide h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .trust-indicators .row {
        flex-direction: column;
        text-align: center;
    }
    
    .trust-item {
        margin: 8px 0;
    }
}

/* Text overflow fixes */
.box-categories-title,
.box-icon-classic-title {
    word-wrap: break-word;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Hero Slider Enhancements */
.swiper-slider {
    position: relative;
    overflow: hidden;
}

.swiper-slide {
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-attachment: fixed;
}

/* Dark overlay for better text readability */
.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 1;
}

/* Ensure content is above overlay */
.swiper-slide-caption {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 60px 0;
}

/* Text styling for better visibility */
.swiper-slide h1,
.swiper-slide h2,
.swiper-slide h3 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    color: #ffffff !important;
    margin-bottom: 20px;
}

.swiper-slide p.lead {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    color: #f8f9fa !important;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Button enhancements for slider */
.swiper-slide .button-group {
    margin-top: 30px;
}

.swiper-slide .button {
    margin: 8px 10px 8px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.swiper-slide .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Navigation Arrows Styling */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Professional Slider Enhancements */
.hero-stats {
    display: flex;
    gap: 30px;
    margin: 20px 0;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
    font-weight: 500;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
    }
}

.gradient-text {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Enhanced button animations */
.pulse {
    animation: phoneCall 1.5s infinite;
}

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

.pulse-animation {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
        transform: scale(1.05);
    }
}

/* Professional badge styling */
.badge-lg {
    padding: 8px 15px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.badge-lg:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* Remove any potential horizontal scrollbars */
* {
    box-sizing: border-box !important;
}

*::-webkit-scrollbar-track {
    display: none !important;
}

*::-webkit-scrollbar {
    width: 0px !important;
    background: transparent !important;
}

/* Service content fixes */
.service-content {
    overflow: hidden !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
}

.service-content p {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-wrap: break-word !important;
    line-height: 1.5 !important;
    max-height: 4.5em !important; /* 3 lines max */
}

/* Text content overflow fixes */
.slide-content {
    overflow: hidden !important;
    max-width: 100% !important;
}

.slide-content p {
    word-wrap: break-word !important;
    overflow: hidden !important;
}

/* Icon circles for trust section */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.trust-item:hover .icon-circle {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Service Cards Equal Height and Size Fix */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 480px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.service-image {
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    flex-shrink: 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.service-header {
    margin-bottom: 1rem;
}

.service-features {
    flex: 1;
    margin-bottom: 1rem;
}

.service-actions {
    margin-top: auto;
}

/* Trust Section Icon Background Fix */
.trust-section .icon-circle {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    position: relative !important;
    overflow: hidden !important;
}

.trust-section .icon-circle.bg-primary {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
}

.trust-section .icon-circle.bg-success {
    background: linear-gradient(135deg, #28a745, #1e7e34) !important;
}

.trust-section .icon-circle.bg-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800) !important;
}

.trust-section .icon-circle.bg-info {
    background: linear-gradient(135deg, #17a2b8, #138496) !important;
}

.trust-section .icon-circle i {
    color: white !important;
    font-size: 1.8rem !important;
    z-index: 2 !important;
    position: relative !important;
}

/* Badge Positioning Fix */
.service-card {
    position: relative !important;
    overflow: visible !important;
}

.featured-badge,
.urgent-badge {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 20 !important;
    padding: 8px 16px !important;
    border-radius: 25px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: white !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    text-align: center !important;
    min-width: 90px !important;
    justify-content: center !important;
}

.featured-badge {
    background: linear-gradient(45deg, #007bff, #0056b3) !important;
    animation: featuredGlow 3s ease-in-out infinite !important;
}

.urgent-badge {
    background: linear-gradient(45deg, #dc3545, #c82333) !important;
    animation: urgentPulse 2s infinite !important;
}

.featured-badge i,
.urgent-badge i {
    font-size: 0.7rem !important;
    margin: 0 !important;
}

/* Badge Animation Keyframes */
@keyframes featuredGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4) !important;
        transform: scale(1) !important;
    }
    50% {
        box-shadow: 0 6px 25px rgba(0, 123, 255, 0.6) !important;
        transform: scale(1.05) !important;
    }
}

@keyframes urgentPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4) !important;
        transform: scale(1) !important;
    }
    50% {
        box-shadow: 0 6px 25px rgba(220, 53, 69, 0.6) !important;
        transform: scale(1.08) !important;
    }
}

/* Service Image Container Fix */
.service-image {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 15px 15px 0 0 !important;
    height: 200px !important;
}

.service-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Trust Section Responsive */
@media (max-width: 768px) {
    .trust-section .icon-circle {
        width: 60px !important;
        height: 60px !important;
    }
    
    .trust-section .icon-circle i {
        font-size: 1.5rem !important;
    }
    
    .featured-badge,
    .urgent-badge {
        top: 10px !important;
        right: 10px !important;
        padding: 6px 12px !important;
        font-size: 0.7rem !important;
        min-width: 80px !important;
    }
}

@media (max-width: 480px) {
    .trust-section .icon-circle {
        width: 50px !important;
        height: 50px !important;
    }
    
    .trust-section .icon-circle i {
        font-size: 1.3rem !important;
    }
    
    .featured-badge,
    .urgent-badge {
        top: 8px !important;
        right: 8px !important;
        padding: 4px 10px !important;
        font-size: 0.65rem !important;
        min-width: 70px !important;
    }
}

/* CTA Button Layout Fixes - Final */
.cta-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
    margin: 2rem 0 !important;
    width: 100% !important;
}

.cta-buttons.justify-content-center {
    justify-content: center !important;
}

.cta-buttons .button {
    flex: 0 0 auto !important;
    min-width: 200px !important;
    max-width: 300px !important;
    margin: 0.5rem !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
}

/* Service Section CTA Fix */
#detayli-hizmetler .cta-buttons {
    display: flex !important;
    justify-content: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    margin-top: 1rem !important;
}

#detayli-hizmetler .cta-buttons .button {
    min-width: 180px !important;
    margin: 0.5rem !important;
}

/* Parallax CTA Section Button Fix */
#iletisim-cta .cta-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
    margin: 2rem 0 !important;
}

#iletisim-cta .cta-buttons .button {
    min-width: 220px !important;
    margin: 0.5rem !important;
    background: transparent !important;
    border: 2px solid transparent !important;
}

#iletisim-cta .button-secondary {
    background: linear-gradient(45deg, #6c757d, #5a6268) !important;
    border-color: #6c757d !important;
    color: white !important;
}

#iletisim-cta .button-primary {
    background: linear-gradient(45deg, #007bff, #0056b3) !important;
    border-color: #007bff !important;
    color: white !important;
}

#iletisim-cta .button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Remove conflicting styles */
.btn-group {
    display: none !important;
}

.group-md {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1rem !important;
}

.group-md .button {
    margin: 0.5rem !important;
    min-width: 180px !important;
}

/* Responsive CTA Button Fixes */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
    }
    
    .cta-buttons .button {
        width: 100% !important;
        max-width: 280px !important;
        min-width: auto !important;
        margin: 0.25rem 0 !important;
    }
    
    #detayli-hizmetler .cta-buttons .button,
    #iletisim-cta .cta-buttons .button {
        width: 100% !important;
        max-width: 280px !important;
    }
}

@media (max-width: 480px) {
    .cta-buttons .button {
        max-width: 250px !important;
        font-size: 0.9rem !important;
        padding: 0.65rem 1.25rem !important;
    }
}

/* Text Center Override */
.text-center .cta-buttons {
    justify-content: center !important;
    text-align: center !important;
}

/* ====== SERVICES PAGE SPECIFIC STYLES ====== */

/* Services Page Header */
.section-badge {
    margin-bottom: 1rem;
}

.section-badge .badge {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    background: linear-gradient(45deg, #007bff, #17a2b8);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Specialized Services Cards */
.specialized-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.specialized-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #007bff, #17a2b8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.specialized-card:hover:before {
    transform: scaleX(1);
}

.specialized-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.specialized-icon {
    margin-bottom: 1rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.specialized-card:hover .specialized-icon {
    opacity: 1;
    transform: scale(1.1);
}

.price-info {
    background: linear-gradient(45deg, #007bff, #17a2b8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

/* Service Process Steps */
.process-step {
    padding: 2rem 1rem;
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #007bff, #17a2b8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.process-icon {
    margin: 1rem 0;
    opacity: 0.7;
}

.process-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #007bff, transparent);
    z-index: 1;
}

@media (max-width: 991px) {
    .process-step:not(:last-child):after {
        display: none;
    }
}

/* Coverage Areas */
.area-badge {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.area-badge:hover {
    border-color: #007bff;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.2);
    background: linear-gradient(45deg, #007bff, #17a2b8);
    color: white;
}

.area-badge i {
    transition: color 0.3s ease;
}

.area-badge:hover i {
    color: white !important;
}

/* CTA Section Enhancements */
.cta-section {
    background: linear-gradient(135deg, #007bff 0%, #17a2b8 100%);
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="1000,0 1000,100 0,100"/></svg>') no-repeat;
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-buttons {
    position: relative;
    z-index: 2;
}

.cta-buttons .btn {
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-buttons .btn-light:hover {
    background: #f8f9fa;
    color: #007bff !important;
}

.cta-buttons .btn-success:hover {
    background: #218838;
}

.trust-info {
    opacity: 0.9;
}

.trust-info small {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Feature Items in Service Cards */
.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.feature-item i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Service Actions Buttons */
.service-actions .btn {
    border-radius: 25px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.service-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.service-actions .btn-primary {
    background: linear-gradient(45deg, #007bff, #0056b3);
}

.service-actions .btn-success {
    background: linear-gradient(45deg, #28a745, #1e7e34);
}

.service-actions .btn-danger {
    background: linear-gradient(45deg, #dc3545, #c82333);
}

.service-actions .btn-warning {
    background: linear-gradient(45deg, #ffc107, #e0a800);
    color: #212529;
}

/* Responsive Adjustments for Services Page */
@media (max-width: 768px) {
    .specialized-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .service-actions .btn {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
    
    .cta-buttons .btn {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .area-badge {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
}

/* Animation for Process Steps */
@keyframes stepAnimation {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.process-step {
    animation: stepAnimation 0.6s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }

/* Hover Effects for Area Badges */
.coverage-areas .row .col-lg-2:nth-child(odd) .area-badge:hover {
    background: linear-gradient(45deg, #007bff, #17a2b8);
}

.coverage-areas .row .col-lg-2:nth-child(even) .area-badge:hover {
    background: linear-gradient(45deg, #17a2b8, #007bff);
}
