/* Custom CSS for DEVKILINK MERCHANTS */

.opening-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 178px;
    cursor: pointer;
}

.capital {
    text-transform: capitalize !important;
}

.testimonials-box {
    min-height: 232px;
}

/* ==========================================================================
   Contact Page & Get In Touch Styling (Matching Site Theme #00353B & #22A45A)
   ========================================================================== */
.contact-hero {
    background-color: #00353B;
    padding: 70px 0 50px 0;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-section {
    position: relative;
    padding: 80px 0;
    background-color: #00353B;
    color: #ffffff;
}

.contact-card-info {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-card-info:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #22A45A;
    box-shadow: 0 10px 30px rgba(0, 53, 59, 0.5);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(34, 164, 90, 0.15);
    border: 1px solid rgba(34, 164, 90, 0.35);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
}

.contact-form-card .form-label {
    font-size: 14px;
    font-weight: 600;
    color: #E2E8F0;
    margin-bottom: 8px;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    background: rgba(0, 35, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.contact-form-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    background: rgba(0, 35, 40, 0.85);
    border-color: #22A45A;
    box-shadow: 0 0 0 3px rgba(34, 164, 90, 0.25);
    color: #ffffff;
}

.contact-form-card .form-select option {
    background-color: #00353B;
    color: #ffffff;
}

.btn-whatsapp-submit {
    background-color: #22A45A;
    color: #ffffff;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 10px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-whatsapp-submit:hover {
    background-color: #1b8a4a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 164, 90, 0.4);
}

.btn-email-submit {
    background-color: #ECE0CE;
    color: #00353B;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 10px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-email-submit:hover {
    background-color: #ffffff;
    color: #00353B;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 224, 206, 0.3);
}

.quick-action-link {
    font-size: 13px;
    color: #22A45A;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.quick-action-link:hover {
    color: #4ade80;
    text-decoration: underline;
}

.contact-feature-badge {
    background: rgba(34, 164, 90, 0.15);
    border: 1px solid rgba(34, 164, 90, 0.3);
    color: #22A45A;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ==========================================================================
   Mobile Layout Fixes: About Us & Header Spacing
   ========================================================================== */
@media (max-width: 991px) {
    /* Home Banner & Header */
    .home-banner {
        padding: 120px 0 30px !important;
    }

    .home-banner .banner-title {
        font-size: 32px !important;
        line-height: 1.25 !important;
        padding-bottom: 15px !important;
    }

    .home-banner img {
        max-width: 90% !important;
        margin: 25px auto 0 !important;
        display: block !important;
    }

    /* Reset logo section spacing */
    .logo-section {
        padding-bottom: 20px !important;
    }

    /* About Us Block */
    .Codershut {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
        position: relative !important;
        z-index: 5 !important;
        clear: both !important;
    }

    .codershut-inner {
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        padding: 45px 25px !important;
        border-radius: 18px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    }

    .codershut-inner .badge {
        margin-bottom: 12px !important;
        display: inline-block !important;
    }

    .codershut-inner .page-title,
    .codershut-inner h3 {
        font-size: 26px !important;
        line-height: 1.3 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-top: 5px !important;
        padding-bottom: 15px !important;
        display: block !important;
        color: #00353B !important;
    }

    .codershut-inner p {
        font-size: 15px !important;
        line-height: 1.65 !important;
        padding: 0 5px !important;
        margin-bottom: 20px !important;
        text-align: left !important;
    }

    /* Services Block spacing */
    .services-block {
        padding: 60px 0 !important;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .home-banner {
        padding: 100px 0 25px !important;
    }

    .home-banner .banner-title {
        font-size: 26px !important;
        line-height: 1.25 !important;
    }

    .Codershut {
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .codershut-inner {
        margin-top: 0 !important;
        padding: 35px 18px !important;
        border-radius: 16px !important;
    }

    .codershut-inner .page-title,
    .codershut-inner h3 {
        font-size: 22px !important;
        line-height: 1.35 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-bottom: 12px !important;
    }

    .codershut-inner p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        padding: 0 !important;
    }

    .contact-form-card {
        padding: 24px 18px !important;
    }

    .contact-card-info {
        padding: 18px !important;
    }
}

@media (max-width: 425px) {
    /* Prevent image margin overflow from base css */
    img {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .img-fluid {
        max-width: 100% !important;
        margin-right: 0 !important;
    }

    .page-title {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .codershut-inner .page-title {
        font-size: 20px !important;
    }
}

/* ==========================================================================
   Refined Scroll to Top Button
   ========================================================================== */
.scroll-to-top {
    position: fixed !important;
    bottom: 25px !important;
    right: 25px !important;
    width: 52px !important;
    height: 52px !important;
    background: #22A45A !important;
    background: linear-gradient(135deg, #22A45A 0%, #15803d 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 22px rgba(34, 164, 90, 0.45) !important;
    z-index: 9999 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    line-height: normal !important;
    padding: 0 !important;
}

.scroll-to-top svg {
    stroke: #ffffff !important;
    transition: transform 0.25s ease !important;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #1ea354 0%, #00353B 100%) !important;
    border-color: #ECE0CE !important;
    transform: translateY(-4px) scale(1.08) !important;
    box-shadow: 0 10px 28px rgba(34, 164, 90, 0.6) !important;
    color: #ffffff !important;
}

.scroll-to-top:hover svg {
    transform: translateY(-2px) !important;
}

.scroll-to-top:active {
    transform: translateY(0) scale(0.96) !important;
}

@media (max-width: 576px) {
    .scroll-to-top {
        bottom: 20px !important;
        right: 18px !important;
        width: 46px !important;
        height: 46px !important;
    }

    .whatsapp-float {
        bottom: 20px !important;
        left: 18px !important;
        width: 50px !important;
        height: 50px !important;
    }
}


