/* Custom Brand Colors for Drayce Software Company */
:root {
    --brand-primary: rgb(24, 46, 115);
    --brand-secondary: rgb(49, 156, 214);
    --brand-accent: #dc3545;
    --brand-gradient: linear-gradient(135deg, rgb(24, 46, 115) 0%, rgb(49, 156, 214) 100%);
    --brand-gradient-soft: linear-gradient(to right, rgba(24, 46, 115, 0.9), rgba(49, 156, 214, 0.9));
}

/* ===== STICKY NAVBAR WITH BACKGROUND - Always Visible ===== */
.main-header {
    background: linear-gradient(135deg, rgb(24, 46, 115) 0%, rgb(49, 156, 214) 100%) !important;
    position: relative;
    width: 100%;
    z-index: 999;
    box-shadow: 0 2px 15px rgba(24, 46, 115, 0.2);
}

.main-header__top {
    background-color: rgba(24, 46, 115, 0.95) !important;
    backdrop-filter: blur(10px);
}

.main-menu {
    background: linear-gradient(135deg, rgb(24, 46, 115) 0%, rgb(49, 156, 214) 100%) !important;
    transition: all 0.3s ease;
}

/* Navbar when sticky/scrolling */
.main-header.stricky-fixed .main-menu,
.stricky-header.stricked-menu {
    background: linear-gradient(135deg, rgb(24, 46, 115) 0%, rgb(49, 156, 214) 100%) !important;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(24, 46, 115, 0.3);
}

.main-menu__list > li > a {
    color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.main-menu__list > li:hover > a,
.main-menu__list > li.current > a {
    color: var(--brand-secondary) !important;
}

/* ===== BUTTONS WITH GRADIENT ===== */
.thm-btn {
    background: var(--brand-gradient) !important;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
}

.thm-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgb(24, 46, 115);
    transition: left 0.4s ease;
    z-index: -1;
}

.thm-btn:hover:before {
    left: 0;
}

.thm-btn:hover {
    border-color: rgb(24, 46, 115);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24, 46, 115, 0.5);
}

/* ===== SECTIONS WITH BRAND COLORS ===== */
.section-title__tagline {
    color: var(--brand-secondary) !important;
}

.section-title__title {
    color: var(--brand-primary) !important;
}

.section-title-shape {
    filter: hue-rotate(200deg) saturate(1.5);
}

/* ===== SERVICES SECTION ===== */
.services-two {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

/* Service cards with shadow - REMOVE ALL PURPLE */
.services-two__single {
    box-shadow: 0 5px 20px rgba(24, 46, 115, 0.1) !important;
    transition: all 0.4s ease !important;
    border: 1px solid rgba(24, 46, 115, 0.08) !important;
    background: #ffffff !important;
}

.services-two__single:hover {
    border-color: var(--brand-secondary) !important;
    box-shadow: 0 15px 40px rgba(49, 156, 214, 0.25) !important;
    transform: translateY(-10px) !important;
    background: #ffffff !important;
}

/* Remove any purple overlays or backgrounds */
.services-two__single::before,
.services-two__single::after,
.services-two__single:hover::before,
.services-two__single:hover::after {
    display: none !important;
    background: transparent !important;
}

/* Icon styling - support both span and i tags */
.services-two__icon {
    color: var(--brand-secondary) !important;
    font-size: 60px !important;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.services-two__icon span,
.services-two__icon i {
    display: inline-block !important;
    color: var(--brand-secondary) !important;
}

.services-two__single:hover .services-two__icon {
    color: #ffffff !important;
    background: var(--brand-gradient) !important;
    transform: scale(1.1) rotate(5deg) !important;
}

.services-two__single:hover .services-two__icon span,
.services-two__single:hover .services-two__icon i {
    color: #ffffff !important;
}

/* Service title */
.services-two__title a {
    color: var(--brand-primary) !important;
    transition: color 0.3s ease !important;
}

.services-two__single:hover .services-two__title a {
    color: var(--brand-secondary) !important;
}

/* Service text */
.services-two__text {
    color: #666666 !important;
}

/* Learn More buttons - white text that changes on hover */
.services-two__btn {
    background: var(--brand-gradient) !important;
    color: #ffffff !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
}

.services-two__btn:hover {
    background: rgb(24, 46, 115) !important;
    color: rgb(49, 156, 214) !important;
    border-color: var(--brand-secondary) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(24, 46, 115, 0.3) !important;
}

/* ===== CTA SECTION WITH GRADIENT ===== */
.cta-one__inner {
    background: var(--brand-gradient) !important;
    position: relative;
    overflow: hidden;
}

.cta-one-bg {
    opacity: 0.15;
}

.cta-one__title {
    color: #ffffff !important;
}

.cta-one__text {
    color: rgba(255, 255, 255, 0.9) !important;
}

.cta-one__btn {
    background-color: #ffffff !important;
    color: var(--brand-primary) !important;
    border: 2px solid #ffffff !important;
    transition: all 0.3s ease !important;
}

.cta-one__btn:hover {
    background-color: rgb(24, 46, 115) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

/* ===== DELIVERING IT SECTION ===== */
.delivering-it {
    background: var(--brand-gradient) !important;
    position: relative;
    padding: 80px 0;
}

.delivering-it::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(24, 46, 115, 0.95) 0%, rgba(49, 156, 214, 0.95) 100%);
    z-index: 0;
}

.delivering-it .container {
    position: relative;
    z-index: 1;
}

/* White text for section title and tagline on blue background */
.delivering-it .section-title__tagline {
    color: #ffffff !important;
}

.delivering-it .section-title__title {
    color: #ffffff !important;
}

.delivering-it__top-text {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* Card styling */
.delivering-it__content {
    background: #ffffff !important;
    transition: all 0.3s ease;
    border: none !important;
}

.delivering-it__content-title {
    color: var(--brand-primary) !important;
    transition: color 0.3s ease;
}

.delivering-it__single {
    transition: all 0.3s ease;
    border: none !important;
}

.delivering-it__single:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2) !important;
}

.delivering-it__single:hover .delivering-it__content {
    background: #ffffff !important;
    border: none !important;
}

.delivering-it__single:hover .delivering-it__content-title {
    color: var(--brand-secondary) !important;
}

/* Remove any purple/unwanted background colors */
.delivering-it__single:hover .delivering-it__img::after,
.delivering-it__single:hover::before,
.delivering-it__single:hover::after {
    background: transparent !important;
}

/* ===== TRUSTED COMPANY ===== */
.trusted-company__solution {
    background: var(--brand-gradient) !important;
    color: #ffffff !important;
}

.icon-check {
    color: var(--brand-secondary) !important;
}

/* ===== PROGRESS BARS ===== */
.bar-inner {
    background: var(--brand-gradient) !important;
}

.count-text {
    color: var(--brand-primary) !important;
    font-weight: 700;
}

.we-stand__progress-title {
    color: var(--brand-primary);
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(to bottom, rgb(24, 46, 115) 0%, rgb(15, 30, 75) 100%) !important;
}

.site-footer__top {
    background: rgba(49, 156, 214, 0.15) !important;
}

.site-footer__btn {
    background-color: var(--brand-secondary) !important;
    border-color: var(--brand-secondary) !important;
}

.site-footer__btn:hover {
    background-color: #ffffff !important;
    color: var(--brand-primary) !important;
}

.footer-widget__title {
    color: var(--brand-secondary);
}

.footer-widget__newsletter-btn {
    background: var(--brand-gradient) !important;
}

.site-footer__social a {
    border-color: rgba(49, 156, 214, 0.3);
    transition: all 0.3s ease;
}

.site-footer__social a:hover {
    background: var(--brand-gradient) !important;
    border-color: var(--brand-secondary);
    transform: translateY(-3px);
}

/* ===== LINKS ===== */
a {
    color: var(--brand-secondary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--brand-primary);
}

/* ===== MAIN SLIDER - REDUCED HEIGHT ===== */
.main-slider,
.main-slider-two {
    height: 70vh !important;
    min-height: 500px !important;
    max-height: 650px !important;
    position: relative;
}

.main-slider .swiper-slide,
.main-slider-two .swiper-slide {
    height: 70vh !important;
    min-height: 500px !important;
    max-height: 650px !important;
    display: flex !important;
    align-items: center !important;
}

.main-slider .container,
.main-slider-two .container {
    position: relative;
    z-index: 10;
}

/* ===== SLIDER PAGINATION DOTS ===== */
.swiper-pagination {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    z-index: 20 !important;
    text-align: center !important;
    padding: 10px 20px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 30px !important;
    backdrop-filter: blur(5px) !important;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
    margin: 0 6px !important;
    border: 2px solid transparent !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.15) !important;
}

.swiper-pagination-bullet-active {
    background: rgb(49, 156, 214) !important;
    border-color: #ffffff !important;
    width: 14px !important;
    height: 14px !important;
    box-shadow: 0 0 12px rgba(49, 156, 214, 0.9) !important;
}

.main-slider__content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.main-slider__content h2 {
    color: #ffffff;
    text-shadow: 2px 2px 20px rgba(24, 46, 115, 0.3);
    margin-top: 0 !important;
    margin-bottom: 30px !important;
    line-height: 1.2 !important;
    font-size: 60px !important;
}

.main-slider-two__btn-box {
    margin-top: 10px !important;
}

.main-slider-two__big-text-1,
.main-slider-two__big-text-2 {
    color: rgba(49, 156, 214, 0.1);
}

/* Responsive adjustments for slider */
@media (max-width: 991px) {
    .main-slider,
    .main-slider-two {
        height: 60vh !important;
        min-height: 450px !important;
    }
    
    .main-slider .swiper-slide,
    .main-slider-two .swiper-slide {
        height: 60vh !important;
        min-height: 450px !important;
    }
    
    .main-slider__content h2 {
        font-size: 48px !important;
        margin-bottom: 25px !important;
    }
    
    .swiper-pagination {
        bottom: 15px !important;
        padding: 8px 15px !important;
    }
    
    .swiper-pagination-bullet {
        width: 10px !important;
        height: 10px !important;
        margin: 0 5px !important;
    }
    
    .swiper-pagination-bullet-active {
        width: 12px !important;
        height: 12px !important;
    }
}

@media (max-width: 767px) {
    .main-slider,
    .main-slider-two {
        height: 60vh !important;
        min-height: 450px !important;
    }
    
    .main-slider .swiper-slide,
    .main-slider-two .swiper-slide {
        height: 60vh !important;
        min-height: 450px !important;
    }
    
    .main-slider__content h2 {
        font-size: 36px !important;
        margin-bottom: 20px !important;
    }
    
    .main-slider-two__btn-box {
        margin-top: 5px !important;
    }
    
    .swiper-pagination {
        bottom: 10px !important;
        padding: 6px 12px !important;
    }
    
    .swiper-pagination-bullet {
        width: 8px !important;
        height: 8px !important;
        margin: 0 4px !important;
    }
    
    .swiper-pagination-bullet-active {
        width: 10px !important;
        height: 10px !important;
    }
}

/* ===== REMOVE ALL GRAYSCALE/BLACK-WHITE FILTERS FROM SLIDER IMAGES ===== */
/* Force all slider images to show in full color */
.main-slider .image-layer,
.main-slider-two .image-layer,
.swiper-slide .image-layer,
.swiper-slide > .image-layer,
[class*="image-layer"] {
    filter: none !important;
    -webkit-filter: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    background-blend-mode: normal !important; /* This was causing the black and white effect */
    background-color: transparent !important;
}

.main-slider .swiper-slide,
.main-slider-two .swiper-slide,
.swiper-slide {
    filter: none !important;
    -webkit-filter: none !important;
}

/* Remove any pseudo-elements that might add overlays */
.main-slider .swiper-slide::before,
.main-slider .swiper-slide::after,
.main-slider-two .swiper-slide::before,
.main-slider-two .swiper-slide::after,
.swiper-slide::before,
.swiper-slide::after,
.image-layer::before {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
    background: none !important;
}

/* Keep only a very light overlay for text readability */
.main-slider-two .image-layer::after {
    content: '' !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(24, 46, 115, 0.2), rgba(49, 156, 214, 0.05)) !important;
    pointer-events: none;
    z-index: 1;
}

.main-slider__content,
.main-slider-two__content {
    position: relative;
    z-index: 2;
}

/* ===== PROJECT SECTION ===== */
.project-two__content {
    background: rgba(24, 46, 115, 0.95);
}

.project-two__content:hover {
    background: var(--brand-gradient) !important;
}

.project-two__arrow a {
    color: var(--brand-secondary);
}

.project-two__arrow a:hover {
    color: #ffffff;
    background-color: var(--brand-secondary);
}

/* ===== PAGE HEADER ===== */
.page-header {
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--brand-gradient-soft);
    opacity: 0.85;
}

.page-header h2,
.thm-breadcrumb li {
    color: #ffffff;
}

/* ===== ACCENT COLOR (RED) for Emphasis ===== */
.delivering-it__top-text strong,
.section-title__title span,
.pricing-one__price,
.funfact-one__content h3 {
    color: var(--brand-accent) !important;
}

/* ===== ICON COLORS ===== */
.icon-tick,
.icon-check {
    color: var(--brand-secondary) !important;
}

/* ===== MOBILE MENU ===== */
.mobile-nav__content {
    background: linear-gradient(to bottom, rgb(24, 46, 115) 0%, rgb(15, 30, 75) 100%) !important;
}

.mobile-nav__close {
    color: var(--brand-secondary);
}

.mobile-nav__toggler i {
    color: #ffffff;
}

/* ===== PRELOADER ===== */
.preloader {
    background: linear-gradient(135deg, rgb(24, 46, 115) 0%, rgb(49, 156, 214) 100%);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 991px) {
    .main-header {
        background: var(--brand-gradient) !important;
    }
    
    .main-menu {
        background-color: transparent !important;
    }
}

/* ===== ANIMATION & EFFECTS ===== */
.wow {
    visibility: hidden;
}

.wow.fadeInUp,
.wow.fadeInLeft,
.wow.fadeInRight {
    animation-duration: 0.8s;
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    background: var(--brand-gradient) !important;
    border: 2px solid transparent;
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(49, 156, 214, 0.4);
}

/* ===== SEARCH POPUP ===== */
.search-popup__content .thm-btn {
    background: var(--brand-gradient) !important;
}

/* ===== FORM INPUTS ===== */
input:focus,
textarea:focus {
    border-color: var(--brand-secondary) !important;
    box-shadow: 0 0 10px rgba(49, 156, 214, 0.2);
}

/* ===== ODOMETER / COUNTERS ===== */
.odometer {
    color: var(--brand-secondary) !important;
}

