/*!
Template:	Pearl IMS - Modern Theme
Preset: 	Blue Teal
Version	 :	2.0.0
Updated	 :	2024
*/

/* Override legacy styles with modern theme */
.active .steps h4,
.heading span,
.box-icon .fa,
.box-icon .ti,
.contact-form h3,
.contact-info h6 .fa,
.footer-navigation li a:hover,
.social-list li a:hover,
.footer-links li a:hover {
    color: #0077dd;
}

/* Video play button - modern style */
.video-play,
.video-play:hover,
.video-play:focus {
    color: #0077dd;
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 119, 221, 0.2);
}

.video-play:hover {
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 119, 221, 0.2);
}

/* Carousel styles */
.owl-theme .owl-nav [class*=owl-],
.owl-theme .owl-nav [class*="owl-"]:hover {
    color: #0077dd;
}

/* Feature icons */
.single-features .ti,
.single-features .fa {
    color: #0077dd;
}

/* Check/close icons */
.pricing-bottom .ti-check {
    color: #00c9a7;
}

.pricing-bottom .ti-close {
    color: #ff6b6b;
}

/* Carousel dots */
.owl-theme .owl-dots .owl-dot span:after,
.affix .navbar-default .navbar-toggle, 
.navbar-default .navbar-toggle:hover, 
.navbar-default .navbar-toggle:focus {
    border-color: #0077dd;
}

/* Primary backgrounds */
.primary-bg {
    background: #0077dd;
}

.secondary-bg {
    background: #00c9a7;
}

/* Carousel dots active */
.owl-theme .owl-dots .owl-dot.active span, 
.owl-theme .owl-dots .owl-dot:hover span,
.affix .navbar-default .navbar-toggle, 
.navbar-default .navbar-toggle:hover, 
.navbar-default .navbar-toggle:focus {
    background: #0077dd;
}

/* Buttons - override with modern styles */
.button {
    background: linear-gradient(135deg, #0077dd, #00c9a7);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.button:hover,
.button:focus {
    background: linear-gradient(135deg, #0066cc, #00b894);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 221, 0.3);
}

/* Header buttons */
.header-texts .button {
    background: linear-gradient(135deg, #0077dd, #00c9a7);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 119, 221, 0.3);
}

.header-texts .button:hover {
    background: #fff;
    color: #0077dd;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Transparent button */
.button.button-transparent {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.button.button-transparent:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

/* Nav button */
.navbar-default .navbar-nav > li > a.button,
.navbar-default .navbar-nav > li > a.button:focus {
    border: 2px solid #0077dd;
    background: #0077dd;
    color: #fff;
}

.navbar-default .navbar-nav > li > a.button:hover {
    color: #0077dd;
    background: #fff;
}

.affix .navbar-default .navbar-nav > li > a.button:hover,
.affix .navbar-default .navbar-nav > li.active > a.button,
.affix .navbar-default .navbar-nav > li.active > a.button:focus {
    color: #0077dd;
    border-color: #0077dd;
    background: #fff;
}

/* Legacy gradient backgrounds - disabled in favor of modern-saas.css */
/* These are overridden by the modern-saas.css file */

/* Meta heading */
.meta-heading {
    color: #0077dd;
    margin-bottom: 5px;
}

/* Feature icons */
.feature-col .icon {
    background: linear-gradient(135deg, rgba(0, 119, 221, 0.1), rgba(0, 201, 167, 0.1));
    color: #0077dd;
}

/* Button variants */
.button.alt {
    background: #fff;
    color: #0077dd;
}

.button.alt:hover {
    background: #0077dd;
    color: #fff;
}

.button.light {
    background: rgba(0, 119, 221, 0.1);
    color: #0077dd;
}

.button.light:hover {
    background: #0077dd;
    color: #fff;
}

/* Background circles */
.bg-circle .small, 
.bg-circle .big {
    background: rgba(0, 119, 221, 0.05);
}

.bg-circle .big:before {
    background: linear-gradient(157deg, #fff 0%, #4da6ff 100%);
}

.bg-circle .big:after {
    background: linear-gradient(157deg, #fff 0%, #00c9a7 100%);
}

/* Pricing box */
.pricing-box.alt h5 {
    color: #0077dd;
}

/* Solid button */
.solid-btn {
    background: linear-gradient(135deg, #0077dd, #00c9a7) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.solid-btn:hover,
.solid-btn:focus {
    background: linear-gradient(135deg, #0066cc, #00b894) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 119, 221, 0.3) !important;
}

/* Mobile responsive overrides */
@media only screen and (max-width: 991px) {
    .navbar-default .in .navbar-nav > li > a:hover,
    .navbar-default .in .navbar-nav > li > a:focus,
    .affix .navbar-default .navbar-nav > li > a:hover,
    .affix .navbar-default .navbar-nav > li > a:focus,
    .affix .navbar-default .navbar-nav > .active > a, 
    .affix .navbar-default .navbar-nav > .active > a:hover, 
    .affix .navbar-default .navbar-nav > .active > a:focus {
        background: linear-gradient(135deg, #0077dd, #00c9a7);
        color: #fff;
    }
}
