:root {
    /* Mapped from kailasha.html's :root for consistency */
    --bs-primary: #721C24;
    --bs-secondary: #343a40;
    
    /* New custom variables used in the sleek sticky elements */
    --primary-color: var(--bs-primary);
    --primary-hover: #5a171d; /* Darkened primary color on hover */
    --secondary-color: var(--bs-secondary); /* Dark color for the sticky elements */
    --accent-color: var(--bs-primary); /* Using primary color for social hover */
}


/* ------------------------------------------------------------------------------------------------------
 * DESKTOP STICKY ELEMENTS (LEFT CTA & RIGHT SOCIAL)
 * ------------------------------------------------------------------------------------------------------ */

.sleek-sticky-btn {
    position: fixed;
    top: 50%; /* Center vertically */
    transform: translateY(-50%); 
    z-index: 1050;
    
    /* Flex Layout: Vertical stack of Icon + Text */
    display: flex;
    flex-direction: column; /* Icon above text */
    align-items: center;
    justify-content: center;
    gap: 8px; 

    /* Design */
    background-color: var(--secondary-color);
    color: white;
    font-size: 1rem;
    font-weight: 500;
    padding: 20px 10px; /* Adjusted padding for vertical text */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
    text-decoration: none; /* Ensure it looks like a clean button */
    
    /* Animation setup */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    
    /* Placement (Default is Left) */
    left: 0;
    border-radius: 0 6px 6px 0; /* Rounded edge on the right */
}

/* --- VERTICAL TEXT STYLING for Enquire Now --- */
.sleek-sticky-btn span {
    display: block;
    writing-mode: vertical-rl; /* Vertical writing mode */
    text-orientation: mixed; 
    transform: rotate(180deg); /* Reads top-to-bottom */
    
    margin-top: 5px; 
    margin-bottom: 5px;
    white-space: nowrap; 
}

/* --- Icon Size --- */
.sleek-sticky-btn i, .sleek-social-btn i {
    font-size: 1.1rem;
    line-height: 1; 
}

.sleek-sticky-btn:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); 
    /* Slide out left */
    transform: translateY(-50%) translateX(5px); 
}


/* --- RIGHT SIDE: Social Wrapper Positioning --- */
.sleek-sticky-social-wrapper {
    position: fixed;
    top: 50%; /* Center vertically */
    right: 0;
    transform: translateY(-50%); 
    z-index: 1050;
    
    /* Stacks the social buttons vertically */
    display: flex;
    flex-direction: column;
    gap: 5px; /* Small space between the icons */
}

.sleek-social-btn {
    /* Uses a darker color for distinction */
    background-color: var(--secondary-color); 
    color: white;
    padding: 10px; 
    width: 45px; 
    height: 45px; 
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
    text-decoration: none;
    
    /* Placement */
    border-radius: 6px 0 0 6px; 
}

/* RIGHT SOCIAL BUTTON Hover - Slides slightly outwards */
.sleek-social-btn:hover {
    background-color: var(--accent-color); 
    /* Slide out right */
    transform: translateX(-5px); 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); 
}


/* --- BONUS: Subtle Entrance Animation --- */
@keyframes sleekSlideIn {
    from { transform: translateY(-50%) translateX(-100%); opacity: 0; }
    to { transform: translateY(-50%) translateX(0); opacity: 1; }
}

@keyframes sleekSlideInReverse {
    from { transform: translateY(-50%) translateX(100%); opacity: 0; }
    to { transform: translateY(-50%) translateX(0); opacity: 1; }
}

/* Applies to the Left Button */
.sleek-sticky-btn {
    animation: sleekSlideIn 0.5s ease-out 0.2s forwards;
}

/* Applies to the Right Social Wrapper (the group) */
.sleek-sticky-social-wrapper {
    animation: sleekSlideInReverse 0.5s ease-out 0.2s forwards;
}

/* ------------------------------------------------------------------------------------------------------
 * MOBILE STICKY FOOTER
 * ------------------------------------------------------------------------------------------------------ */

.sticky-footer-mobile {
    position: fixed;
    bottom: 0;
    
    left: 0; 
    right: 0;
    width: 100%; 

    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #fff;
    border-top: 1px solid #ddd;
    z-index: 1000;
    padding: 8px 0;
}


.sticky-footer-mobile a {
    text-decoration: none;
}
/* Mobile footer button specific alignment */
.sticky-footer-mobile .footer-btn {
    flex: 1;
    flex-basis: 50%; /* Ensures equal width */
    white-space: nowrap; /* Prevents text wrap */
    text-align: center;
    padding: 10px 0;
    margin: 0 8px; /* Slight increase in margin for spacing */
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem; /* Reduced font size for better fit on mobile */
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    transition: background 0.3s, color 0.3s, transform 0.3s;
    transform: scale(1);
    /* animation: pulse-fade 3s infinite ease-in-out; */
}
.sticky-footer-mobile .footer-btn i {
    font-size: 1.1rem;
    margin-bottom: 3px;
    display: block;
}
.footer-btn:hover {
    animation-play-state: paused;
    opacity: 1;
    transform: scale(0.98);
}

.contact-btn {
    background: var(--primary-color);
    color: #fff;
}
.contact-btn:hover {
    background: var(--primary-hover);
    color: #fff;
}

.brochure-btn {
    background: var(--primary-color);
    color: #fff;
}
.brochure-btn:hover {
    background: var(--primary-hover);
    color: #fff;
}

@media (max-width: 991px) {
    body {
        padding-bottom: 60px; /* IMPORTANT: Adds space at the bottom of the page */
    }
    .brochure-btn, .contact-btn {
        box-shadow: none !important; transform: none !important; animation: none !important;
        padding-left: 0 !important; padding-right: 0 !important;
    }
    .sticky-footer-mobile {
        width: 100%; 
        left: 0;
        right: 0;
    }
}