/* ===================================
   TURKMOBIL SOLUTIONS PAGE STYLES
   Modern & Creative Design
   =================================== */

/* --- GLOBAL & RESET --- */
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}



img {
    max-width: 100%;
    height: auto;
}

/* --- UTILITY CLASSES --- */
.img-cover {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.min-vh-60 {
    min-height: 60vh;
}

/* --- HERO SECTION --- */
#solutionsHero {
    position: relative;
    overflow: hidden;
}

#solutionsHero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 88, 201, 0.7), rgba(102, 126, 234, 0.6));
    z-index: 1;
}

#solutionsHero .container {
    position: relative;
    z-index: 2;
}

#solutionsHero h1 {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    -webkit-animation: fadeInUp 0.8s ease;
            animation: fadeInUp 0.8s ease;
}

#solutionsHero .h4 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    -webkit-animation: fadeInUp 1s ease;
            animation: fadeInUp 1s ease;
}

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

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

/* --- INFO SECTIONS --- */
#infoSection,
#infoSection2 {
    background: #ffffff;
}

#infoSection h2,
#infoSection2 h2 {
    font-weight: 700;
    color: #0d58c9;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

#infoSection p,
#infoSection2 p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

#infoSection img,
#infoSection2 img {
    border-radius: 16px;
    -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    -webkit-transition: -webkit-transform 0.4s ease;
    transition: -webkit-transform 0.4s ease;
    transition: transform 0.4s ease;
    transition: transform 0.4s ease, -webkit-transform 0.4s ease;
}

#infoSection img:hover,
#infoSection2 img:hover {
    -webkit-transform: scale(1.02) translateY(-5px);
            transform: scale(1.02) translateY(-5px);
}

#infoSection2 ul li {
    font-size: 15px;
    color: #444;
    padding: 8px 0;
    position: relative;
    padding-left: 8px;
}

/* --- BUTTONS --- */
.em-btn {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.em-btn-primary {
    background: linear-gradient(135deg, #0d58c9, #4a90e2);
    color: white;
    -webkit-box-shadow: 0 4px 12px rgba(13, 88, 201, 0.3);
            box-shadow: 0 4px 12px rgba(13, 88, 201, 0.3);
}

.em-btn-primary:hover {
    background: linear-gradient(135deg, #0a4aa8, #3d7bc7);
    -webkit-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-box-shadow: 0 6px 20px rgba(13, 88, 201, 0.4);
            box-shadow: 0 6px 20px rgba(13, 88, 201, 0.4);
    color: white;
}

.em-btn-soft {
    background: rgba(13, 88, 201, 0.1);
    color: #0d58c9;
    border: 2px solid transparent;
}

.em-btn-soft:hover,
.em-btn-soft.active {
    background: #0d58c9;
    color: white;
    border-color: #0d58c9;
}

.em-btn-md {
    padding: 10px 24px;
    font-size: 14px;
}

.em-bt-lg {
    padding: 10px 20px;
    font-size: 14px;
}

/* --- MOBILE SLIDER SECTION --- */
#solutionsSlider {
    padding: 60px 0;
    position: relative;
}

#solutionsSlider .title-wrap h3 {
    color: #0d58c9;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
}

#solutionsSlider .title-wrap h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
}

/* Custom Carousel - Mobile */
.custom-carousel {
    width: 100%;
    overflow: hidden;
}

.custom-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
}

.custom-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    -webkit-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    min-width: 300px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.custom-card:hover {
    -webkit-transform: translateY(-5px);
            transform: translateY(-5px);
    -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.custom-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #0d58c9;
    margin-bottom: 15px;
}

.custom-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.custom-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.custom-card ul li {
    font-size: 14px;
    color: #555;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.custom-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: #10b981;
    font-weight: 700;
    font-size: 16px;
}

.custom-card img {
    border-radius: 12px;
    margin-top: 20px;
}

/* --- DESKTOP CARDS SECTION --- */
.smart-water-section {
    padding: 80px 0;
    position: relative;
}

.smart-water-section h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.smart-water-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

/* Swiper Tabs */
.swiper-tabs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    padding: 10px 0;
}

.swiper-tabs::-webkit-scrollbar {
    height: 4px;
}

.swiper-tabs::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.swiper-tabs::-webkit-scrollbar-thumb {
    background: #0d58c9;
    border-radius: 10px;
}

.swiper-tabs button {
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

/* Swiper Counter */
#swp-current,
#swp-total {
    font-weight: 600;
    color: #0d58c9;
}

/* Swiper Container */
.smartSwiper {
    width: 100%;
    padding-bottom: 40px;
}

.swiper-slide {
    height: auto;
}

/* Card Styles */
.card {
    border-radius: 16px;
    overflow: hidden;
    -webkit-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
    background: white;
}

.card:hover {
    -webkit-transform: translateY(-8px);
            transform: translateY(-8px);
    -webkit-box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
    border-color: transparent;
}

.card-img-top {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.card-img-top img {
    -webkit-transition: -webkit-transform 0.5s ease;
    transition: -webkit-transform 0.5s ease;
    transition: transform 0.5s ease;
    transition: transform 0.5s ease, -webkit-transform 0.5s ease;
}

.card:hover .card-img-top img {
    -webkit-transform: scale(1.08);
            transform: scale(1.08);
}

.card-body {
    padding: 28px;
}

.card-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-body p {
    font-size: 15px;
    line-height: 1.7;
    color: #6b7280;
}

.card-body ul {
    list-style: none;
    padding: 0;
}

.card-body ul li {
    font-size: 14px;
    color: #374151;
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    line-height: 1.6;
}

.card-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 10px;
    width: 18px;
    height: 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    color: #10b981;
    font-weight: 700;
    font-size: 14px;
}

/* --- SECURE DATA SECTION --- */
#secure {
    min-height: 500px;
    background: linear-gradient(135deg, rgba(13, 88, 201, 0.05), rgba(102, 126, 234, 0.05)),
                url('/assets/images/secure-bg.jpg') center/cover no-repeat;
    position: relative;
    padding: 80px 0;
}

.secure-data-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.9));
    z-index: 1;
}

#secure .container {
    z-index: 2;
}

#secure h3 {
    font-size: 28px;
    color: #0d58c9 !important;
}

#secure .lead {
    font-size: 18px;
    line-height: 1.8;
}

#secure h5 {
    font-size: 20px;
    margin-top: 30px;
}

#secure .fa-ul {
    margin-left: 2em;
}

#secure .fa-ul li {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

#secure .fa-li {
    font-size: 18px;
}

/* --- SWIPER NAVIGATION & PAGINATION --- */
.swiper-button-next,
.swiper-button-prev {
    color: #0d58c9;
    background: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #0d58c9;
    color: white;
    -webkit-transform: scale(1.1);
            transform: scale(1.1);
}

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

.swiper-pagination-bullet {
    background: #d1d5db;
    opacity: 1;
    width: 10px;
    height: 10px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #0d58c9;
    width: 24px;
    border-radius: 5px;
}

/* --- ANIMATIONS --- */
@-webkit-keyframes slideInLeft {
    from {
        opacity: 0;
        -webkit-transform: translateX(-50px);
                transform: translateX(-50px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        -webkit-transform: translateX(-50px);
                transform: translateX(-50px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }
}

@-webkit-keyframes slideInRight {
    from {
        opacity: 0;
        -webkit-transform: translateX(50px);
                transform: translateX(50px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        -webkit-transform: translateX(50px);
                transform: translateX(50px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateX(0);
                transform: translateX(0);
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    #solutionsHero h1 {
        font-size: 2.5rem !important;
    }

    .smart-water-section {
        padding: 60px 0;
    }

    .card-body {
        padding: 20px;
    }

    .card-body h3 {
        font-size: 18px;
    }

    .swiper-tabs {
        -webkit-box-pack: start;
            -ms-flex-pack: start;
                justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    #solutionsHero h1 {
        font-size: 2rem !important;
    }

    #solutionsSlider .title-wrap h2 {
        font-size: 24px;
    }

    .custom-card {
        padding: 20px;
    }

    #secure {
        padding: 60px 0;
    }

    #secure h3 {
        font-size: 22px;
    }

    #secure .lead {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .em-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .custom-card h4 {
        font-size: 18px;
    }

    .swiper-tabs {
        gap: 8px;
    }

    .swiper-tabs button {
        padding: 8px 16px !important;
        font-size: 13px;
    }
}

/* --- ACCESSIBILITY --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        -webkit-animation-duration: 0.01ms !important;
                animation-duration: 0.01ms !important;
        -webkit-animation-iteration-count: 1 !important;
                animation-iteration-count: 1 !important;
        -webkit-transition-duration: 0.01ms !important;
                transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid #0d58c9;
    outline-offset: 2px;
}

/* --- PRINT STYLES --- */
@media print {
    #solutionsHero,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none;
    }
    
    .card {
        page-break-inside: avoid;
    }
}