/*-----SVG STICKY MENU  -----*/
.svg-div-zig-outer {
    position: absolute;
    bottom: 78px;
    right: 0;
    left: 0;
    z-index: 1111111;
}
.svg-div-zig{
    background: url('../images/zig-line.svg');
    background-repeat: repeat-x;
    height: 26px;
}

/* Color bar structure matching demo */
.top-color-bar {
    height: 30px;
}

.height-30 {
    height: 30px !important;
}

.svg-div-zig-multi {
    position: relative;
    margin-bottom: -8px;
}

.color-lines {
    position: relative;
    z-index: 5;
}

.bg-red {
    background-color: #ff4757 !important;
}

.bg-orange {
    background-color: #ffa726 !important;
}

.bg-blue {
    background-color: #42a5f5 !important;
}

/* White zig-zag pattern overlay */
.svg-div-zig {
    background: url('../images/zig-line-white.svg');
    background-repeat: repeat-x;
    background-size: auto 26px;
    height: 26px;
    width: 100%;
    position: relative;
    top: -21px;
    z-index: 10;
}

.remove-svg-from-sticky{
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

.remove-svg-from-sticky .svg-div-zig {
    display: none !important;
    visibility: hidden !important;
}

/* Fix sticky header overlap issue */
.fixedmenu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.height-5 {
    height: 5px !important;
}

/* Ensure smooth transition and no overlapping */
.fixedmenu .color-lines {
    margin-bottom: 0 !important;
}

/* Completely hide zig-zag when sticky menu is active */
.fixedmenu .svg-div-zig,
.fixedmenu .svg-div-zig-multi,
.fixedmenu .svg-div-zig-outer {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Also hide via the remove class that JavaScript adds */
.remove-svg-from-sticky .svg-div-zig {
    display: none !important;
    visibility: hidden !important;
}

.fixedmenu .sticky-nav-bottom-holder-svg{
    position: absolute;
    bottom: -21px;
    right: 0;
    left: 0;
    z-index: 1111111;
    transform: rotate(180deg);
}

.fixedmenu .sticky-nav-bottom-holder-svg .svg-bottom{
    background: url('../images/zig-line-white.svg');
    background-repeat: repeat-x;
    height: 26px;
}


.navbar-design{
    margin-top: 10px;
}
/*-----SVG STICKY MENU  -----*/



/*side menu*/


.side-menu-left-holder-svg{
    position: absolute;
    bottom: 0;
    right: 0;
    left: 50px;
    z-index: 1111111;
    transform: rotate(180deg);
}

.side-menu-left-svg{
    background: url('../images/zig-line-orange.svg');
    background-repeat: repeat-x;
    height: 26px;
}

/*side menu*/


/* START SLIDER */
#vertical-bullets .tp-bannertimer{
    visibility:visible;
}


.svg-slider-bottom-holder{
    position: absolute;
    bottom: -21px;
    right: 0;
    left: 0;
    transform: rotate(180deg);
}

.svg-slider-bottom-holder .svg-slider-bottom{
    background: url('../images/zig-line.svg');
    background-repeat: repeat-x;
    height: 26px;
}

/*END SLIDER*/





/* Consolidated SVG Zig-Zag Patterns */

/* Base SVG holder styles */
.svg-process-top-holder,
.svg-counter-top-holder,
.svg-testimonial-top-holder,
.svg-footer-top-holder {
    position: absolute;
    top: -21px;
    right: 0;
    left: 0;
    z-index: 11111;
}

.svg-process-bottom-holder,
.svg-counter-bottom-holder {
    position: absolute;
    bottom: -21px;
    right: 0;
    left: 0;
    z-index: 11111;
    transform: rotate(180deg);
}

.svg-counter-bottom-holder {
    bottom: -22px; /* Slight variation for counter */
}

/* Special positioning for testimonial and team */
.svg-testimonial-bottom-holder {
    position: absolute;
    bottom: 356px;
    right: 0;
    left: 0;
    transform: rotate(180deg);
}

.svg-team-bottom-holder {
    position: absolute;
    bottom: 104px;
    right: 0;
    left: 0;
}

/* Base SVG pattern styles */
.svg-process-top-holder .svg-process-top,
.svg-process-bottom-holder .svg-process-bottom,
.svg-footer-top-holder .svg-footer-top {
    background: url('../images/zig-line-red.svg');
    background-repeat: repeat-x;
    height: 26px;
}

.svg-counter-top-holder .svg-counter-top,
.svg-counter-bottom-holder .svg-counter-bottom {
    background: url('../images/zig-line-orange.svg');
    background-repeat: repeat-x;
    height: 26px;
}

.svg-testimonial-top-holder .svg-testimonial-top,
.svg-testimonial-bottom-holder .svg-testimonial-bottom {
    background: url('../images/zig-line-green.svg');
    background-repeat: repeat-x;
    height: 26px;
}

.svg-team-bottom-holder .svg-team-bottom {
    background: url('../images/zig-line.svg');
    background-repeat: repeat-x;
    height: 26px;
}



 /*Small devices (landscape phones, 576px and up)*/
@media (max-width: 576px) {

    #testimonial-slider .owl-prev {
        position: absolute;
        top: -130px;
        left: -136px !important;
    }

    #testimonial-slider .owl-next {
        position: absolute;
        top: -130px;
        left: 100px !important;
    }

    .svg-process-top-holder {
        top: -19px;
    }

    .svg-process-bottom-holder {
        bottom: -21px;
    }

    .svg-counter-top-holder {
        top: -20px;
    }

    .svg-counter-bottom-holder {
        bottom: -19px;
    }

    .svg-testimonial-bottom-holder {
        bottom: 459px;
    }

    .testimional-para{
        width: 100% !important;
    }

}


@media screen and (min-width: 1600px) {

}


@media screen and (min-width: 1900px) {

    .svg-process-top-holder {
        top: -21px;
    }

    .svg-process-bottom-holder {
        bottom: -21px;
    }

    .svg-counter-bottom-holder {
        bottom: -21px;
    }

}

/* Hero slider responsiveness: hide photos on small screens and enlarge text */
@media (max-width: 992px) {
    /* Hide Revolution Slider image layers only within the hero section */
    #home .tp-caption[data-type="image"] {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Consolidated Mobile Styles (≤ 768px) */
@media (max-width: 768px) {
    /* Hide Revolution Slider navigation bullets */
    #vertical-bullets .tp-bullets,
    #vertical-bullets .tp-bullets.simplebullets,
    .tp-bullets,
    .tp-bullets.simplebullets,
    .tp-bullets.round,
    .tp-bullets.square,
    .tp-tabs {
        display: none !important;
        visibility: hidden !important;
    }
    
    /* Allow full width text on mobile for all slides */
    #home .tp-caption[data-type="text"] {
        text-align: center !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
        width: 95vw !important;
        max-width: 95vw !important;
    }
    
    /* Social icons positioning */
    #home .social-icons.revicon {
        display: block !important;
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%);
        right: 10px !important;
        left: auto !important;
        z-index: 15 !important;
    }
    
    #home .social-icons.revicon li a {
        padding: 6px 8px !important;
        font-size: 14px !important;
    }
    
    /* Mobile circular layout features */
    .desktop-feature,
    .desktop-image {
        display: none !important;
    }
    
    /* Mobile features vertical layout styling */
    .mobile-features-row {
        margin-bottom: 2rem;
        padding: 0 20px;
    }
    
    .mobile-feature-item {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .mobile-feature {
        padding: 1.5rem 1rem;
        transition: transform 0.3s ease;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-feature:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        background: rgba(255, 255, 255, 0.08);
    }
    
    .mobile-central-image {
        margin-top: 1rem;
    }
    
    .circular-container {
        min-height: auto !important;
        padding: 1rem 0;
    }
    
    /* Colored text styling for mobile */
    .large-colored-text {
        font-size: 1.2em !important;
        font-weight: 600 !important;
    }
}

/* Better text positioning for all slides on medium screens */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Allow Revolution Slider to handle text positioning naturally on tablets */
    #home .tp-caption[data-type="text"] {
        max-width: 90% !important;
    }
}

/* Ensure Family Values (slide 1) text sits to the right of the left bullets */
@media (min-width: 769px) {
    #home li[data-index="rs-01"] .slider-middle-text,
    #home li[data-index="rs-01"] .slider-top-text,
    #home li[data-index="rs-01"] .btn.yellow-blue-btn {
        margin-left: 48px !important;
    }
}

/* Desktop responsive text sizing - clean implementation without font classes */
@media (min-width: 769px) {
    #home h1.slider-middle-text,
    #home .tp-caption h1.slider-middle-text {
        font-size: clamp(2.5rem, 4vw, 3.5rem) !important;
        line-height: 1.15 !important;
    }

    #home h2.slider-top-text,
    #home .tp-caption h2.slider-top-text {
        font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
        line-height: 1.3 !important;
    }

    #home p.slider-top-text,
    #home .tp-caption p.slider-top-text {
        font-size: clamp(0.9rem, 1.2vw, 1.1rem) !important;
        line-height: 1.4 !important;
    }
    
    /* Desktop button alignment - let Revolution Slider handle positioning */
    #home .btn.yellow-blue-btn {
        font-size: 1rem !important;
        padding: 12px 24px !important;
    }
}


/* Hide mobile-specific elements on desktop */
@media (min-width: 769px) {
    .mobile-features-row,
    .mobile-central-image {
        display: none !important;
    }
}

/* Make colored text larger in hero slider */
.large-colored-text {
    font-size: 1.15em !important;
    font-weight: 600 !important;
}


/* Fix slider box sizes - make red and blue same size, keep yellow larger */
#services-slider .service-box.bg-red,
#services-slider .service-box.bg-blue {
    padding: 3rem 2rem !important; /* Same as default */
    margin-top: 0 !important;
}

#services-slider .service-box.bg-orange {
    padding: 4.5rem 2rem !important; /* Keep orange/yellow larger */
    margin-top: -25px !important;
}

/* Ensure center item (yellow/orange) styling is consistent */
#services-slider .owl-item.center .service-box {
    padding: 4.5rem 2rem !important;
    margin-top: -25px !important;
}

/* Make sure non-center items have consistent sizing */
#services-slider .owl-item:not(.center) .service-box {
    padding: 3rem 2rem !important;
    margin-top: 0 !important;
}

/* ======================================
   APP STORE DOWNLOAD BUTTONS STYLING
   ====================================== */

/* App Store Download Buttons Container */
.download-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Base Download Button Styling */
.download-btn {
    display: inline-block;
    height: 40px;
    border-radius: 8px;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.download-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.download-btn img {
    height: 100% !important;
    width: auto !important;
    border-radius: 8px;
    max-width: 120px !important;
}

/* App Store Button Styling */
.app-store-btn {
    background: white;
    color: black;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 12px;
    line-height: 1.2;
    min-width: 135px;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.app-store-btn:hover {
    color: black;
    text-decoration: none;
    background: #f8f8f8;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.apple-logo {
    width: 20px;
    height: 20px;
    fill: black;
}

/* Google Play Button Styling */
.google-play-btn {
    background: white;
    color: black;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 12px;
    line-height: 1.2;
    min-width: 135px;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.google-play-btn:hover {
    color: black;
    text-decoration: none;
    background: #f8f8f8;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.google-play-icon {
    width: 20px;
    height: 20px;
}

/* Download Button Text Styling */
.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.download-text .small-text {
    font-size: 8px;
    opacity: 0.8;
    line-height: 1;
}

.download-text .main-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

/* Mobile Responsive Download Buttons */
@media (max-width: 768px) {
    .download-buttons {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
    }
}