.footer-row2 .navbar-brand img {
    height: 80px !important;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 6px 12px;
}

.text-justify{
    text-align: justify;
}
.ptb-30{
    padding : 30px 0;
}

.ptb-60{
    padding : 60px 0;
}
/* Dottokey Theme Overrides */
:root {
    --primary-color: #e3312d;
    --secondary-color: #545454;
}

.bg-btn, .bg-btn2, .bg-btn3, .btn-main, .fab-btn, .bg-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.bg-btn:hover, .bg-btn2:hover, .bg-btn3:hover, .btn-main:hover {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.text-primary, .text-second, .menu-links:hover {
    color: var(--primary-color) !important;
}

footer, .footer-row2, .dark-bg2, .nav-bg-b {
    background-color: var(--secondary-color) !important;
    color: #fff !important;
}

/* Footer — all text white */
footer p, footer a, footer h2, footer h3, footer h4, footer h5, footer h6, footer li, footer span,
.footer-row2 p, .footer-row2 a, .footer-row2 h5, .footer-row2 li, .footer-row2 span {
    color: #fff !important;
}

/* Footer contact detail label & value */
.ftr-details li p, .ftr-details li p span, .ftr-details li p a,
.footer-address-list li, .footer-address-list li a {
    color: #fff !important;
}
.ftr-details li span i { color: #e3312d !important; }

/* Footer copyright link */
footer .border-top, footer .border-top b a { color: #fff !important; }

/* Dark bg2 sections */
.dark-bg2 p, .dark-bg2 h2, .dark-bg2 h3, .dark-bg2 h4, .dark-bg2 h5, .dark-bg2 span {
    color: #fff;
}

/* Offcanvas Get In Touch panel */
.getintouchblock h4, .getintouchinfo a, .contact-data h4, .social-media-linkz a {
    color: #050748 !important;
}
.getintouchinfo a { color: #545454 !important; }
.getintouchinfo a:hover { color: #e3312d !important; }

.service-card-app {
    background-color: #fff;
    border: none;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.service-card-app::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #c0221e);
    z-index: 2;
    transition: height 0.4s ease;
}
.service-card-app:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(227, 49, 45, 0.12);
}
.service-card-app:hover::before {
    height: 100%;
    z-index: -1;
    opacity: 0.05;
}
.service-card-app p {
    color: #6a6a8e !important;
    font-size: 15px;
    line-height: 1.7;
    margin-top: 15px !important;
}
.service-card-app h4 {
    color: #050748 !important;
    font-weight: 700;
    font-size: 20px;
    transition: color 0.3s ease;
}
.service-card-app:hover h4 {
    color: var(--primary-color) !important;
}

.nav-bg-b .custom-nav .nav-list li a.menu-links {
    color: #fff !important;
}

.nav-bg-b .custom-nav .nav-list li a.menu-links:hover {
    color: var(--primary-color) !important;
}

.text-white {
    color: #fff !important;
}

.hero-style .slide-title h3 {
    color: #fff !important;
}
.hero-style .slide-text p {
    color: #fff !important;
}

.nav-bg-w {
    background-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0,0,0,.05);
}
.nav-bg-w .custom-nav .nav-list li a.menu-links {
    color: #050748 !important;
}
.nav-bg-w .custom-nav .nav-list li a.menu-links:hover {
    color: var(--primary-color) !important;
}

/* Fix Offcanvas Get In Touch Layout */
.getintouchblock .media {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}
.getintouchblock .icondive {
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
    flex-shrink: 0;
}
.getintouchblock .getintouchinfo {
    flex-grow: 1;
}
.getintouchblock .getintouchinfo a {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    line-height: 1.4;
}
.getintouchblock .getintouchinfo a span {
    font-size: 13px;
    color: #6a6a8e !important;
    margin-top: 2px;
}

/* Mobile Responsive Fixes */
@media (max-width: 767px) {
    .btn-main, .btn-white, .btn-outline-white {
        font-size: 12px !important;
        padding: 10px 16px !important;
        white-space: normal !important;
        line-height: 1.4 !important;
        display: inline-flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        max-width: 75% !important; /* Prevents overlapping with floating buttons on right */
        text-align: center !important;
        margin-bottom: 10px !important;
    }
    .slide-title h3 {
        font-size: 26px !important;
        line-height: 1.3 !important;
    }
    .slide-text p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }
}
