﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
    .scard {
        transform: none !important; /* Disable zoom on small devices */
        box-shadow: none !important;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    /*margin-bottom: 60px;*/
   /* padding-top: 43px;*/
}


/*Offer Card div*/
/*.offer-card {
    position: relative;
    overflow: visible;
    border: 5px solid red;
    border-radius: 10px;
}

.offer-image {
    width: 100%;
    height: 280px;
   
}

.offer-content {
    position: absolute;
    bottom: -60px;*/ /* এইখানে নিচে নামানোর পরিমাণ */
    /*left: 60px;
    right: 60px;
    background-color: white;
    border-radius: 10px;
    padding: 4px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.offer-button {
    background-color: #000;
    color: #fff;
    border-radius: 10px;
    padding: 8px 20px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.offer-content:hover {
    background-color: red;
}*/



/*Spppiner*/

@keyframes drive {
    0% {
        transform: translateX(-150px) rotate(0deg);
    }

    50% {
        transform: translateX(150px) rotate(0deg);
    }

    100% {
        transform: translateX(-150px) rotate(0deg);
    }
}


.home2 {
    text-align: center;
    color: #fff;
    background-image: url("../assets/img/Grid.jpg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
}
/*Services*/
.services {
    text-align: center;
    color: #fff;
    background-image: url("../assets/img/Grid.jpg");
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: center center;
    background-size: cover;
}

/*ServiceCardDivStyle*/
.feature-card {
    background-color: #111;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid red;
    height: 100%;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
    .feature-card:hover {
        background-color: ;
    }

    .feature-card h5 {
        font-weight: bold;
    }

.feature-icon {
    font-size: 28px;
    margin-bottom: 15px; /* স্পেস আইকনের নিচে */
}

.feature-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px; /* সব title এর নিচে same space */
}

.feature-desc {
    font-size: 14px;
    line-height: 1.6;
    flex-grow: 1;
}

.homecar-image {
    max-width: 300px;
    width: 100%;
}

.btn-orange {
    background-color: orange;
    color: white;
    border: none;
    margin: 10px;
}

    .btn-orange:hover {
        background-color: darkorange;
    }

/*Services Card Design*/
.sbody {
    
    background-image: url(../assets/img/SBody.jpg);
}


.s-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}

.s-card:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        z-index: 10;
 }


.s-card {
    min-height: 500px; /* সব কার্ডের জন্য বেস height */
    display: flex;
    flex-direction: column;
}

    .s-card .card-body {
        display: flex;
        flex-direction: column;
    }

        .s-card .card-body p {
            flex-grow: 1;
        }


/*.custom-text {
    text-align: justify;*/ /* পুরো লাইন সুন্দর করে সমান হবে */
    /*line-height: 1.6;*/ /* লাইনের মাঝে কিছু ফাঁকা রাখবে */
/*}*/

.custom-text {
    text-align: justify; /* দুই পাশ সমান */
    text-justify: inter-word; /* শুধু শব্দের মাঝে ফাঁকা, letter না */
    line-height: 1.6; /* লাইনের মধ্যে সুন্দর স্পেস */
    hyphens: auto; /* দরকার হলে শব্দ ভেঙে যাবে */
    word-break: break-word; /* লম্বা শব্দ ভেঙে যাবে */
}


/*contact section*/

.contact-dark-section {
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    color: #fff;
}

.contact-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 2px;
}

    .contact-title span {
        color: #d4af37;
    }

.contact-subtitle {
    color: #bbb;
}

.contact-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 50px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.contact-item {
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .contact-item:hover {
        background: rgba(212, 175, 55, 0.1);
        transform: translateY(-5px);
    }

    .contact-item h5 {
        color: #d4af37;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .contact-item p {
        margin: 0;
        color: #ddd;
    }

    .contact-item a {
        color: #fff;
        text-decoration: none;
    }

        .contact-item a:hover {
            color: #d4af37;
        }

.address-box {
    margin-top: 20px;
    padding: 30px;
    background: rgba(255,255,255,0.04);
    border-radius: 15px;
}