/**
 * Custom CSS - Extracted from inline styles
 * This file contains styles previously embedded in Blade templates
 */

/* ==========================================================================
   NAVBAR - White background for dark logo visibility
   ========================================================================== */

.main-header {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Menu links: dark text on white background */
.main-menu-list > li > a {
    color: #0F1011 !important;
}

/* Menu link hover & active state */
.main-menu-list > li > a:hover,
.main-menu-list > li.current > a {
    color: #2a5298 !important;
}

/* Dropdown chevron icons - dark */
.main-menu-list > li > i {
    color: #0F1011 !important;
}

/* Ensure Get Started button stays visible */
.main-menu-right .btn {
    color: #fff;
}

/* ==========================================================================
   FOOTER - White backdrop for dark logo
   ========================================================================== */

.footer-one-about img {
    background: #ffffff;
    border-radius: 8px;
    padding: 10px 15px;
}

/* ==========================================================================
   FOOTER STYLES (from footer.blade.php)
   ========================================================================== */

.footer-about {
    text-align: left !important;
}

.footer-about * {
    text-align: left !important;
}

.footer-one-about,
.footer-one-about-details,
.footer-one-about-contact {
    text-align: left !important;
}

.footer-one-about-contact ul {
    text-align: left !important;
}

.footer-one-about-contact ul li {
    text-align: left !important;
}

/* Unified styling for all footer links sections */
.footer-one-link {
    text-align: left !important;
}

.footer-one-link h3 {
    margin-bottom: 20px;
    text-align: left !important;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.footer-one-link ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left !important;
}

.footer-one-link ul li {
    margin-bottom: 10px;
    text-align: left !important;
    padding-left: 0 !important;
}

.footer-one-link ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    text-align: left !important;
}

.footer-one-link ul li a:hover {
    color: #2a5298;
}

.footer-one-link ul li i {
    margin-right: 8px;
    font-size: 12px;
    min-width: 12px;
    color: #2a5298;
}

/* Service dropdown functionality */
.footer-service-item {
    margin-bottom: 10px;
}

.footer-service-item.has-dropdown .service-link-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 2px 0;
}

.footer-service-item .service-main-link {
    flex: 1;
    pointer-events: none;
}

.footer-service-item.clicked .service-main-link {
    pointer-events: auto;
}

.dropdown-indicator {
    margin-left: 8px;
    font-size: 10px !important;
    transition: transform 0.3s ease;
    color: #2a5298 !important;
}

.footer-service-item.dropdown-open .dropdown-indicator {
    transform: rotate(180deg);
}

.subservices-dropdown {
    display: none;
    margin-top: 8px;
    margin-left: 20px;
    padding-left: 0;
}

.footer-service-item.dropdown-open .subservices-dropdown {
    display: block;
}

.subservices-dropdown li {
    margin-bottom: 6px;
    list-style: none;
}

.subservices-dropdown li a {
    font-size: 13px;
    color: #ccc;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s ease;
}

.subservices-dropdown li a:hover {
    color: #2a5298;
}

.subservices-dropdown li i {
    font-size: 10px;
    margin-right: 6px;
    color: #888;
}

/* Service items without dropdown */
.footer-service-item:not(.has-dropdown) .service-main-link {
    pointer-events: auto;
}

.footer-service-item:not(.has-dropdown) .service-link-wrapper {
    display: flex;
    align-items: center;
}

/* Quick links list */
.footer-quick-links-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.footer-quick-links-list li {
    margin-bottom: 10px;
}

.footer-quick-links-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-quick-links-list li a:hover {
    color: #2a5298;
}

.footer-quick-links-list li i {
    margin-right: 8px;
    font-size: 12px;
    min-width: 12px;
}

/* Ensure proper alignment for all footer sections */
.footer-one-inner .row > div {
    text-align: left !important;
}

/* Social media styling */
.footer-one-social-media h4 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: left !important;
}

.footer-one-social-media ul {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-one-social-media ul li {
    margin: 0;
}

.footer-one-social-media ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #2a5298;
    color: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-one-social-media ul li a:hover {
    background-color: #fff;
    color: #2a5298;
    transform: translateY(-3px);
}

/* ==========================================================================
   NAVBAR DROPDOWN STYLES (from navbar.blade.php)
   ========================================================================== */

/* Multi-level dropdown that matches existing design */
.main-menu-list .menu-item-children .menu-item-children > ul {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 250px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.main-menu-list .menu-item-children .menu-item-children:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.main-menu-list .menu-item-children .menu-item-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-menu-list .menu-item-children .menu-item-children > a i {
    font-size: 10px;
    margin-left: 10px;
}

/* ==========================================================================
   SUBSERVICE CARD STYLES (from single-service.blade.php)
   ========================================================================== */

.subservice-card {
    height: 100%;
    margin-bottom: 20px;
}

.subservice-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.subservice-card-inner {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.subservice-card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #e9ecef;
}

.subservice-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.subservice-card h5 {
    color: #333;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
}

.subservice-card:hover h5 {
    color: #007bff;
}

/* ==========================================================================
   CLIENTS SWIPER STYLES (from clients-section.blade.php)
   ========================================================================== */

.clientsSwiper {
    width: 100%;
    height: 200px;
    padding: 20px 0;
}

.clientsSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-slider-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    padding: 15px;
    cursor: grab;
}

.partner-slider-logo:active {
    cursor: grabbing;
}

.partner-slider-logo img {
    max-height: 130px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
    opacity: 0.7;
}

.partner-slider-logo:hover img {
    transform: scale(1.15);
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================================================
   ARTICLES PAGE STYLES (from articles-page.blade.php)
   ========================================================================== */

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

/* Mobile responsive improvements for footer */
@media (max-width: 991px) {
    .footer-one-inner .row > div {
        margin-bottom: 30px;
    }

    .footer-one-inner .row > div:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    .footer-buttom-link {
        text-align: center !important;
        margin-top: 20px;
    }

    .footer-copy-right-one {
        text-align: center !important;
    }
}

@media (max-width: 575px) {
    .footer-One-subscribe .row .col-sm-6 {
        width: 100% !important;
        margin-bottom: 20px;
    }

    .footer-one-social-media ul {
        justify-content: center;
    }
}

@media only screen and (max-width: 768px) {
    .footer-about::after {
        right: -130px;
        height: 130%!important;
    }
}
