
/* Default State (No Christmas) */
.xmas-logo {
    display: none;
}

.xmas-bells-left,
.xmas-ball-right {
    display: none;
}

.xmas-active .original-logo {
    display: none;
}

.xmas-active .xmas-logo {
    display: block;
}

.xmas-active .xmas-bells-left {
    display: block;
    width: 60px;
    height: auto;
    animation: jingle 2s ease-in-out infinite;
}

.xmas-active .xmas-ball-right {
    display: block;
    width: 40px;
    height: auto;
    animation: swing 3s ease-in-out infinite;
}

/* Animations for Christmas Decorations */
@keyframes swing {
    0%, 100% {
        transform: rotate(-5deg);
    }
    50% {
        transform: rotate(5deg);
    }
}

@keyframes jingle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

@media (max-width: 1024px) {
    .xmas-active .xmas-bells-left {
        width: 32px;
    }

    .xmas-active .xmas-ball-right {
        width: 28px;
    }
}

@media (max-width: 1024px) {
    .xmas-active .xmas-bells-left,
    .xmas-active .xmas-ball-right {
        display: none;
    }
}


/* Default State - Original Text Visible */
.original-text {
    display: block;
}

.xmas-text {
    display: none;
}

.original-shapes {
    display: block;
}

.xmas-ride-container {
    display: none;
}

/* Christmas Active State */
.xmas-active .original-text {
    display: none;
}

.xmas-active .xmas-text {
    display: block;
}

.xmas-active .original-shapes {
    display: none !important;
}

.xmas-active .original-shapes picture,
.xmas-active .original-shapes img {
    display: none !important;
}

/* Christmas Hero Section - FULL BACKGROUND */
.xmas-active .xmas-hero-section {
    position: relative;
}

.xmas-active .xmas-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://res.cloudinary.com/deklnqsqn/image/upload/v1762865508/Group_1000003170_hzjgwx.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 90% auto;
    pointer-events: none;
    z-index: 1;
    opacity: 1;
}

.xmas-active .xmas-hero-section > div {
    position: relative;
    z-index: 10;
}

.xmas-active .xmas-ride-container {
    display: none;
}

/* Tablet Adjustments */
@media (max-width: 1024px) {
    .xmas-active .xmas-hero-section::before {
        background-size: 50% auto, 95% auto;
    }
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .xmas-active .xmas-hero-section::before {
        display: none !important;
    }

    .xmas-active .xmas-box-img {
        display: none !important;
    }

    .xmas-active .xmas-ride-container {
        display: block !important;
        position: relative;
        width: 100%;
        text-align: center;
    }

    .xmas-active .xmas-ride-img {
        width: 100%;
        max-width: 400px;
        height: auto;
        object-fit: contain;
        margin: 0 auto;
        display: block;
    }
}

/* Small Mobile Adjustments */
@media (max-width: 480px) {
    .xmas-active .xmas-ride-img {
        max-width: 320px;
    }
}

#services-provided {
    min-height: 100vh;
}

#services-provided h2 {
    opacity: 0;
    scale: 0.8;
    transform-origin: top center;
}

.left-scroll-container>div {
    opacity: 0;
}

.why-choose-us {
    opacity: 0;
    transform-origin: top center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.products {
    opacity: 0;
    transform-origin: top center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.products+div {
    opacity: 0;
    transform-origin: top center;
}

/* Why Choose Us section */
.wrapper {
    width: 100%;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.containerr {
    height: 350px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.card {
    width: 80px;
    background-size: cover;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: .6s cubic-bezier(.28, -0.03, 0, .99);
    border: 1px solid rgba(191, 191, 191, 0.663);
}

/* White background specific card styling */
.white-bg-card {
    background-color: #f8f9fa;
}

.white-bg-card:hover {
    background-color: #e9ecef;
}

/* Mask styles for large text */
h6.support-mask {
    background-image: url(/static/images/support-mask.webp);
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

h6.brand-mask {
    background-image: url(/static/images/brand-mask.webp);
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

h6.fixing-mask {
    background-image: url(/static/images/fixing-mask.webp);
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

h6.staffing-mask {
    background-image: url(/static/images/staffing-mask.webp);
    background-size: cover;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* Card row and icon styles */
.card>.row {
    display: flex;
    flex-wrap: nowrap;
}

.card>.row>.icon {
    background: #177B35;
    color: white;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px;
}

/* Description styles */
.card>.row>.description {
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    height: 80px;
    width: 520px;
    opacity: 0 !important;
    transform: translateY(30px);
    transition-delay: .3s;
    transition: all .3s ease;
}

.description p {
    padding-top: 5px;
}

.description h4 {
    text-transform: uppercase;
}

/* Input and label styles for white background */
input[name="slide"] {
    display: none;
}

input[name="slide"]+label {
    color: #333;
}

input[name="slide"]+label span {
    background-color: #177B35;
    color: white !important;
}

input[name="slide"]:checked+label {
    background-color: white !important;
    color: #333 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

input[name="slide"]:checked+label .card-head-title {
    color: #333;
}

input[name="slide"]:checked+label {
    width: 600px;
}

input[name="slide"]:checked+label .description {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

#c3:checked+label .c3 {
    margin: -32px 0 !important;
}

/* Mobile responsive styles */
@media (max-width: 767px) {
    #services-provided h2 {
        opacity: 1;
        scale: 0.8;
        transform-origin: top center;
    }

    .wrapper {
        height: auto;
        display: block;
    }

    .containerr {
        display: block;
        height: auto;
    }

    .card {
        width: 100%;
        background-color: white;
        border: 1px solid #ddd;
        margin-bottom: 1rem;
    }

    input[name="slide"]:checked+label {
        width: 100%;
    }

    .card div div div:first-child {
        margin: 0 0 !important;
        left: 0;
    }

    input[name="slide"]+label .card-head-title {
        color: #333 !important;
    }

    .white-bg-card {
        background-color: white;
    }
}