/* ============================================
   Oriole Security - Custom Fixes & Enhancements
   ============================================ */

/* ---- 1. HEADER LOGO FIX ---- */
.header_home .navbar-brand {
    display: flex;
    align-items: center;
}
.header_home .navbar-brand img {
    width: auto;
    height: 45px;
    max-height: 45px;
    object-fit: contain;
}
/* Sidebar logo */
.sidepanel .sidebar a img {
    width: auto;
    height: 40px;
    max-height: 40px;
    object-fit: contain;
}
@media only screen and (max-width: 768px) {
    .header_home .navbar-brand img {
        height: 36px;
        max-height: 36px;
    }
}

/* ---- 2. FOOTER LOGO FIX ---- */
footer .col-lg-5 figure img {
    width: auto !important;
    height: 50px !important;
    max-height: 50px;
    object-fit: contain;
    margin-bottom: 20px;
    margin-top: -17px;
}

/* ---- 3. FOOTER CONTACT ALIGNMENT FIX ---- */
footer .col-lg-4 .d-flex.align-items-center {
    align-items: center !important;
}
footer .col-lg-4 .d-flex.align-items-center p {
    margin: 0;
    padding: 0 !important;
    line-height: 1.4;
}
footer .col-lg-4 .d-flex.align-items-center p a {
    padding: 0 !important;
    font-size: inherit;
    line-height: inherit;
    display: inline;
}
footer .col-lg-4 .d-flex.align-items-center i {
    min-width: 22px;
    text-align: center;
    flex-shrink: 0;
}

/* ---- 4. BANNER CARD TEXT COLOR (white) ---- */
.banner_card .container div p {
    color: #ffffff !important;
}
.banner_card .container div h4 {
    color: #ffffff !important;
}

/* ---- 5. MOBILE "PENETRATION TESTING" SECTION FIX ---- */
.experience .stdMenu {
    height: auto !important;
    padding: 12px 20px !important;
    width: auto !important;
    margin-right: 6px !important;
    margin-bottom: 8px !important;
    display: inline-flex !important;
    border-radius: 10px;
}
.experience .stdMenu p {
    margin: 0;
    white-space: nowrap;
    font-size: 14px;
}
.experience .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.experience .row .testimonial_card {
    flex: 0 0 auto;
}

@media only screen and (max-width: 768px) {
    .experience .stdMenu {
        width: 100% !important;
        padding: 14px 16px !important;
        margin-right: 0 !important;
        margin-bottom: 10px !important;
        justify-content: center;
    }
    .experience .stdMenu p {
        white-space: normal;
        text-align: center;
        font-size: 13px;
    }
    .experience .row {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .experience .row .testimonial_card {
        width: 100%;
    }
    .experience h2 {
        font-size: 22px;
        line-height: 30px;
        text-align: center;
    }
}
@media only screen and (max-width: 480px) {
    .experience .stdMenu {
        padding: 12px 14px !important;
    }
    .experience .stdMenu p {
        font-size: 12px;
    }
}

/* ---- 6. OUR SERVICES PAGE - PROFESSIONAL LAYOUT ---- */
.services .splash-layout-presentation-box {
    margin-top: 30px;
    text-align: left;
}
.services .advance-tab-button ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.services .advance-tab-button ul li {
    margin-bottom: 10px;
}
.services .advance-tab-button ul li a {
    display: block;
    padding: 12px 16px !important;
    border: 1px solid #c5c8ce;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #fff;
}
.services .advance-tab-button ul li a:hover {
    border-color: #d12bec;
    background: linear-gradient(67.94deg, #030b20 -2.93%, #0d0d2a 44.88%, #230d2b 99.07%, #d12bec 148.49%);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(209, 43, 236, 0.2);
}
.services .advance-tab-button ul li a:hover .title {
    color: #ffffff !important;
}
.services .advance-tab-button ul li a .title {
    font-size: 16px !important;
    text-align: left;
    margin-bottom: 0 !important;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
}
.services .advance-tab-button ul li a .title img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
/* Services page image */
.services .img-responsive {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media only screen and (max-width: 768px) {
    .services .advance-tab-button ul li a {
        padding: 10px 14px !important;
    }
    .services .advance-tab-button ul li a .title {
        font-size: 14px !important;
    }
}

/* ---- CAPTCHA FIELD STYLING ---- */
.captcha-wrapper input[name="captcha"] {
    padding: 10px 14px !important;
    border: 1px solid #2b8cd580;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}
.captcha-wrapper input[name="captcha"]:focus {
    border-color: #d12bec;
}

/* ---- 7. GENERAL FOOTER LINK RESET ---- */
footer .col-lg-3 a,
footer .col-lg-5 a,
footer .col-lg-4 a {
    padding: 0 !important;
}
footer .col-lg-5 span a {
    padding: 9px 9px !important;
}
footer .col-lg-5 span a:first-child {
    padding: 10px 15px 8px 14px !important;
}
footer .col-lg-5 span a:nth-child(2) {
    padding: 10px 11px 8px 11px !important;
}
footer .col-lg-5 span a:nth-child(3) {
    padding: 10px 10px 8px 11px !important;
}
