/* Custom overrides for breadcrumb and header sizes */

/* Enforce fixed height for the breadcrumb banner section without breaking parallax */
.jarallax {
    min-height: 240px;
    padding-top: 160px;
    padding-bottom: 40px;
}

/* Reduce the massive page titles (h1) on desktop and mobile */
.jarallax .container h1,
.jarallax .container .fs-sm-10vw {
    font-size: 3rem !important; /* Cap it at a reasonable size on desktop */
}

/* Reduce the breadcrumb links size */
ul.crumb li,
ul.crumb li a {
    font-size: 14px !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .jarallax .container h1,
    .jarallax .container .fs-sm-10vw {
        font-size: 2.5rem !important; /* Smaller on mobile */
    }
    
    ul.crumb li,
    ul.crumb li a {
        font-size: 12px !important; /* Smaller on mobile */
    }
    
    .hero-desc {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}
.contact-from .form-control {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

/* Footer Responsive Adjustments */
@media (min-width: 992px) {
    .footer-services-col {
        padding-left: 100px !important;
    }
}
@media (max-width: 991px) {
    .footer-services-col {
        padding-left: 15px !important; /* Reset padding for smaller screens */
    }
    .widget {
        margin-bottom: 30px; /* Ensure widgets don't stick together when stacked */
    }
}

/* ==========================================================================
   Floating Call Us & WhatsApp Buttons (Matched Sizing & Responsive)
   ========================================================================== */

.floating-call {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 150px;
    right: 20px;
    background: linear-gradient(135deg, #f7bf38 0%, #eea311 100%);
    color: #ffffff !important;
    border-radius: 50%;
    text-align: center;
    font-size: 26px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    animation: callPeriodicBounce 5s ease-in-out infinite;
}

/* Subtle Glowing Outline Ring Wave */
.floating-call-pulse {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid rgba(238, 163, 17, 0.7);
    background: transparent;
    z-index: -1;
    animation: callPulseWave 2.2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    pointer-events: none;
}

/* Phone Icon Styling */
.floating-call i {
    color: #ffffff !important;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Hover Interaction */
.floating-call:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(238, 163, 17, 0.5), 0 3px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffd359 0%, #f5b124 100%);
    color: #ffffff !important;
}

.floating-call:hover i {
    transform: rotate(12deg) scale(1.05);
}

/* Hover Tooltip */
.floating-call-tooltip {
    position: absolute;
    right: 72px;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    background: rgba(12, 13, 14, 0.95);
    color: #ffffff;
    border: 1px solid rgba(238, 163, 17, 0.4);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.floating-call-tooltip::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 0 5px 5px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(12, 13, 14, 0.95);
}

.floating-call:hover .floating-call-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Keyframe Animations */
@keyframes callPulseWave {
    0% {
        transform: scale(1);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

@keyframes callPeriodicBounce {
    0%, 85%, 100% {
        transform: scale(1) translateY(0);
    }
    88% {
        transform: scale(1.06) translateY(-3px);
    }
    91% {
        transform: scale(0.97) translateY(1px);
    }
    94% {
        transform: scale(1.04) translateY(-1px);
    }
    97% {
        transform: scale(1) translateY(0);
    }
}

/* Mobile Responsiveness (≤ 768px) */
@media (max-width: 768px) {
    .floating-call {
        width: 50px !important;
        height: 50px !important;
        bottom: 135px !important;
        right: 20px !important;
        font-size: 22px !important;
    }
    
    .floating-call-tooltip {
        display: none !important;
    }
}

/* Small Mobile Screens (≤ 480px) */
@media (max-width: 480px) {
    .floating-call {
        width: 46px !important;
        height: 46px !important;
        bottom: 124px !important;
        right: 16px !important;
        font-size: 20px !important;
    }
    
    .floating-whatsapp {
        width: 46px !important;
        height: 46px !important;
        bottom: 68px !important;
        right: 16px !important;
        font-size: 23px !important;
    }
}

/* ==========================================================================
   Gallery Tabs + Category Filter (Responsive & Clean)
   ========================================================================== */

/* Segmented tabs (Images / Videos) */
.custom-gallery-tabs {
    position: relative;
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(238, 163, 17, 0.35);
    border-radius: 999px;
    list-style: none;
    margin: 0 !important;
}

.custom-gallery-tabs .gallery-tab-btn {
    position: relative;
    z-index: 2;
    border: 0 !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 26px !important;
    border-radius: 999px !important;
    cursor: pointer;
    transition: color 0.25s ease;
}

.custom-gallery-tabs .gallery-tab-btn:focus-visible {
    outline: 2px solid var(--primary-color-light, #f7bf38);
    outline-offset: 2px;
}

.custom-gallery-tabs .gallery-tab-btn.active {
    color: #111111 !important;
}

.custom-gallery-tabs .tab-indicator {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 4px;
    background: var(--primary-color, #eea311);
    background: linear-gradient(135deg, #f7bf38 0%, #eea311 100%);
    border-radius: 999px;
    z-index: 1;
    box-shadow: 0 4px 14px rgba(238, 163, 17, 0.35);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Category filter row */
.gallery-category-filter {
    position: relative;
    margin: 0 0 35px;
    width: 100%;
}

.gallery-category-filter .filter-scroll {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 4px 0;
}

.gallery-category-btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px !important;
    font-size: 13.5px !important;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: capitalize;
    color: rgba(255, 255, 255, 0.8) !important;
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1.5px solid rgba(238, 163, 17, 0.45) !important;
    border-radius: 999px !important;
    cursor: pointer;
    text-decoration: none !important;
    outline: none;
    white-space: nowrap;
    user-select: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.gallery-category-btn:hover:not(.active) {
    color: #ffffff !important;
    border-color: var(--primary-color, #eea311) !important;
    background-color: rgba(238, 163, 17, 0.14) !important;
}

@media (hover: hover) {
    .gallery-category-btn:hover:not(.active) {
        transform: translateY(-2px);
    }
}

.gallery-category-btn:active {
    transform: translateY(0);
}

.gallery-category-btn.active {
    color: #111111 !important;
    background: var(--primary-color, #eea311) !important;
    background: linear-gradient(135deg, #f7bf38 0%, #eea311 100%) !important;
    border-color: var(--primary-color, #eea311) !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(238, 163, 17, 0.4) !important;
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 991px) {
    .custom-gallery-tabs {
        margin: 0 auto !important;
    }
    
    .gallery-category-filter {
        margin-bottom: 28px;
    }
}

@media (max-width: 768px) {
    .custom-gallery-tabs .gallery-tab-btn {
        padding: 7px 18px !important;
        font-size: 13px !important;
    }

    .gallery-category-filter .filter-scroll {
        gap: 8px 8px;
    }

    .gallery-category-btn {
        padding: 6px 14px !important;
        font-size: 12.5px !important;
    }
}

@media (max-width: 480px) {
    .custom-gallery-tabs .gallery-tab-btn {
        padding: 6px 14px !important;
        font-size: 12px !important;
        letter-spacing: 0.3px;
    }

    .gallery-category-filter .filter-scroll {
        gap: 6px 6px;
    }

    .gallery-category-btn {
        padding: 5px 12px !important;
        font-size: 12px !important;
    }
}

/* ==========================================================================
   Hero Section Social Bar
   ========================================================================== */
.hero-social-bar {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    z-index: 100;
}

.hero-social-bar .line {
    width: 2px;
    height: 55px;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 2px;
    margin-bottom: 4px;
}

.hero-social-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: #ffffff;
    color: #111111;
    border-radius: 50%;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.hero-social-bar a:hover {
    background-color: var(--primary-color, #EFC36F);
    color: #111111;
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 18px rgba(239, 195, 111, 0.5);
}

.hero-social-bar .follow-text {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-top: 8px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

@media (max-width: 991px) {
    .hero-social-bar {
        display: none !important;
    }
}
/* Reduce size and hide the bottom text of the scroll logo */
header.smaller img.logo-scroll,
header.smaller img.logo-main,
img.logo-scroll {
    object-fit: cover !important;
    object-position: top !important;
    width: 230px !important; /* Increased width */
    height: 100px !important; /* Increased height to maintain crop ratio */
    max-height: 100px !important;
}
