/* =====================================================
   CRYSTAL THREAD COMMON FOOTER
   SAME ON ALL PAGES
===================================================== */

.crystal-footer,
.crystal-footer * {
    box-sizing: border-box;
}

.crystal-footer {
    width: 100%;
    background: #17191c;
    color: #ffffff;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* Footer Main */

.crystal-footer-main {
    width: 100%;
    padding: 45px 0 30px;
    background: #17191c;
}

.crystal-footer-main .container {
    width: 100%;
}

.crystal-footer-main .row {
    margin-top: 0;
    margin-bottom: 0;
    row-gap: 20px;
}


/* Logo */

.crystal-footer-logo {
    display: inline-block;
}

.crystal-footer-logo img {
    display: block;
    width: 145px;
    height: auto;
    margin: 0 0 15px 0;
}


/* About */

.crystal-footer-about p {
    color: #c9c9c9;
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 0 12px 0;
}

css
.crystal-footer-since {
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    margin: 0;
    text-align: center;
    line-height: 1.6;
}



/* Headings */

.crystal-footer h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 18px 0;
    padding: 0 0 8px 0;
    position: relative;
}

.crystal-footer h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 2px;
    background: #d71920;
}


/* Links */

.crystal-footer-links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.crystal-footer-links li {
    list-style: none !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}

.crystal-footer-links li:last-child {
    margin-bottom: 0 !important;
}

.crystal-footer-links a {
    display: inline-block;
    color: #c9c9c9;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.3s ease;
}

.crystal-footer-links a i {
    color: #d71920;
    font-size: 10px;
    margin-right: 8px;
}

.crystal-footer-links a:hover {
    color: #d71920;
    padding-left: 5px !important;
}


/* Contact */

.crystal-footer-contact {
    margin: 0;
    padding: 0;
}

.crystal-footer-contact p {
    color: #c9c9c9;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
}

.crystal-footer-contact p:last-child {
    margin-bottom: 0 !important;
}

.crystal-footer-contact p i {
    color: #d71920;
    width: 22px;
    margin-right: 7px;
}


/* Bottom Area */

.crystal-footer-bottom-area {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 20px 0;
    background: #17191c;
}

.crystal-footer-bottom-area .row {
    margin-top: 0;
    margin-bottom: 0;
}


/* Call */

.crystal-footer-call {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
}

.crystal-footer-call-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: #d71920;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.crystal-footer-call small {
    display: block;
    color: #d71920;
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 3px 0;
}

.crystal-footer-call strong {
    display: block;
    color: #ffffff;
    font-size: 18px;
    margin: 0;
}


/* Social */

.crystal-footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
}

.crystal-footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.crystal-footer-social a:hover {
    background: #d71920;
    color: #ffffff;
    transform: translateY(-4px);
}


/* Newsletter */

.crystal-footer-newsletter {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
}

.crystal-footer-newsletter-title {
    color: #d71920;
    font-weight: 700;
    line-height: 1.2;
    min-width: 90px;
}

.crystal-footer-newsletter-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.10);
    border-radius: 40px;
    overflow: hidden;
    height: 48px;
}

.crystal-footer-newsletter-box input {
    flex: 1;
    width: 100%;
    height: 48px;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #ffffff !important;
    padding: 0 20px !important;
    font-size: 14px;
}

.crystal-footer-newsletter-box input::placeholder {
    color: #c7c7c7;
}

.crystal-footer-newsletter-box button {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border: 0;
    background: #d71920;
    color: #ffffff;
    border-radius: 50%;
    margin: 0;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.crystal-footer-newsletter-box button:hover {
    background: #b51218;
    transform: rotate(-10deg);
}


/* Copyright */

.crystal-footer-copyright {
    width: 100%;
    background: #111315;
    padding: 14px 0;
}

.crystal-footer-copyright .row {
    margin-top: 0;
    margin-bottom: 0;
}

.crystal-footer-copyright p {
    margin: 0 !important;
    padding: 0 !important;
    color: #c9c9c9;
    font-size: 14px;
}

.crystal-footer-copyright a {
    color: #ffffff;
    margin-left: 20px;
    text-decoration: none !important;
    font-size: 14px;
    transition: all 0.3s ease;
}

.crystal-footer-copyright a:hover {
    color: #d71920;
}


/* Back To Top */

.crystal-footer-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 8px;
    background: #d71920;
    color: #ffffff;
    font-size: 18px;
    z-index: 9999;
    cursor: pointer;
    transition: all 0.3s ease;
}

.crystal-footer-top:hover {
    background: #b51218;
    transform: translateY(-5px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .crystal-footer-main {
        padding: 40px 0 25px;
    }

    .crystal-footer-social {
        justify-content: flex-start;
        margin-top: 15px;
    }

    .crystal-footer-newsletter {
        margin-top: 15px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .crystal-footer-main {
        padding: 40px 0 25px;
    }

    .crystal-footer h4 {
        margin-top: 20px;
    }

    .crystal-footer-bottom-area {
        padding: 20px 0;
    }

    .crystal-footer-call {
        margin-bottom: 15px;
    }

    .crystal-footer-social {
        justify-content: flex-start;
        margin-bottom: 15px;
    }

    .crystal-footer-newsletter {
        display: block;
    }

    .crystal-footer-newsletter-title {
        margin-bottom: 10px;
    }

    .crystal-footer-copyright {
        text-align: center;
    }

    .crystal-footer-copyright a {
        display: inline-block;
        margin: 8px 8px 0;
    }

    .crystal-footer-top {
        right: 15px;
        bottom: 15px;
        width: 45px;
        height: 45px;
    }
}
    
/* CRYSTAL THREAD FOOTER */
.ct-footer {
    background: #111111;
    color: #eeeeee;
    font-family: 'Poppins', sans-serif;
}

.ct-footer-main {
    padding: 90px 5% 55px;
    background-color: #111111;
    background-image:
        repeating-radial-gradient(
            ellipse at 80% 40%,
            transparent 0,
            transparent 32px,
            rgba(255,255,255,.09) 33px,
            transparent 35px,
            transparent 55px,
            rgba(214,40,40,.12) 57px,
            transparent 59px
        );
}

.ct-footer-grid {
    max-width: 1500px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.7fr .85fr 1.15fr 1.25fr;
    gap: 55px;
}

.ct-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 35px;
}

.ct-footer-logo img {
    width: 150px;
    max-height: 155px;
    object-fit: contain;
}

.ct-footer-logo span {
    display: inline-block;
    background: #df1824;
    border-radius: 8px;
    padding: 12px;
}

.ct-footer-company p {
    line-height: 1.8;
    color: #dddddd;
    margin: 0 0 18px;
}

.ct-footer-company h3 {
    color: #ed1c2a;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1px;
}

.ct-footer-column h4 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 10px 0 25px;
    padding-bottom: 10px;
    position: relative;
}

.ct-footer-column h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 82px;
    height: 2px;
    background: #e31b2b;
}

.ct-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ct-footer-column li {
    margin-bottom: 18px;
    color: #dddddd;
    line-height: 1.7;
}

.ct-footer-column li::before {
    content: "▫";
    color: #ed1c2a;
    margin-right: 12px;
}

.ct-footer-column a {
    color: #dddddd;
    text-decoration: none;
    transition: color .2s ease;
}

.ct-footer-column a:hover {
    color: #ed1c2a;
}

.ct-footer-middle {
    background: #191a1c;
    padding: 20px 5%;
}

.ct-footer-middle-inner {
    max-width: 1500px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.ct-footer-phone {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ct-footer-round {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #df1824;
    display: grid;
    place-items: center;
    color: white;
    font-size: 23px;
}

.ct-footer-phone small {
    display: block;
    color: #ed1c2a;
    font-weight: 700;
    margin-bottom: 5px;
}

.ct-footer-phone a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
}

.ct-footer-social {
    display: flex;
    gap: 10px;
}

.ct-footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #303134;
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.ct-footer-social a:hover {
    background: #df1824;
}

.ct-footer-newsletter {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ct-footer-newsletter label {
    color: #ed1c2a;
    font-size: 20px;
    font-weight: 800;
    max-width: 110px;
    line-height: 1.25;
}

.ct-newsletter-input {
    display: flex;
    align-items: center;
    background: #303134;
    border-radius: 40px;
    padding: 5px;
    min-width: 280px;
}

.ct-newsletter-input input {
    min-width: 0;
    width: 100%;
    background: transparent;
    color: white;
    border: 0;
    outline: none;
    padding: 12px 18px;
}

.ct-newsletter-input input::placeholder {
    color: #dddddd;
}

.ct-newsletter-input button {
    flex: 0 0 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: #df1824;
    color: white;
    cursor: pointer;
    font-size: 20px;
}

.ct-footer-bottom {
    background: #101112;
    border-top: 1px solid #292929;
    padding: 22px 5%;
}

.ct-footer-bottom-inner {
    max-width: 1500px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ct-footer-bottom p {
    margin: 0;
    color: #dddddd;
}

.ct-footer-bottom-inner div {
    display: flex;
    gap: 25px;
}

.ct-footer-bottom a {
    color: white;
    text-decoration: none;
}

.ct-footer-bottom a:hover {
    color: #ed1c2a;
}

@media (max-width: 1000px) {
    .ct-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }

    .ct-footer-middle-inner {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .ct-footer-main {
        padding: 50px 22px 30px;
    }

    .ct-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ct-footer-logo img {
        width: 95px;
    }

    .ct-footer-middle {
        padding: 25px 22px;
    }

    .ct-footer-middle-inner,
    .ct-footer-newsletter {
        align-items: flex-start;
        flex-direction: column;
        width: 100%;
    }

    .ct-newsletter-input {
        width: 100%;
        min-width: 0;
    }

    .ct-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ct-footer-bottom-inner div {
        flex-wrap: wrap;
        gap: 15px;
    }
}
     
/* CRYSTAL THREAD FOOTER */
.ct-footer {
    background: #111111;
    color: #eeeeee;
    font-family: 'Poppins', sans-serif;
}

.ct-footer-main {
    padding: 90px 5% 55px;
    background-color: #111111;
    background-image:
        repeating-radial-gradient(
            ellipse at 80% 40%,
            transparent 0,
            transparent 32px,
            rgba(255,255,255,.09) 33px,
            transparent 35px,
            transparent 55px,
            rgba(214,40,40,.12) 57px,
            transparent 59px
        );
}

.ct-footer-grid {
    max-width: 1500px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.7fr .85fr 1.15fr 1.25fr;
    gap: 55px;
}

.ct-footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 25px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 35px;
}

.ct-footer-logo img {
    width: 150px;
    max-height: 155px;
    object-fit: contain;
}

.ct-footer-logo span {
    display: inline-block;
    background: #df1824;
    border-radius: 8px;
    padding: 12px;
}

.ct-footer-company p {
    line-height: 1.8;
    color: #dddddd;
    margin: 0 0 18px;
}

.ct-footer-company h3 {
    color: #ed1c2a;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 1px;
}

.ct-footer-column h4 {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 10px 0 25px;
    padding-bottom: 10px;
    position: relative;
}

.ct-footer-column h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 82px;
    height: 2px;
    background: #e31b2b;
}

.ct-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ct-footer-column li {
    margin-bottom: 18px;
    color: #dddddd;
    line-height: 1.7;
}

.ct-footer-column li::before {
    content: "▫";
    color: #ed1c2a;
    margin-right: 12px;
}

.ct-footer-column a {
    color: #dddddd;
    text-decoration: none;
    transition: color .2s ease;
}

.ct-footer-column a:hover {
    color: #ed1c2a;
}

.ct-footer-middle {
    background: #191a1c;
    padding: 20px 5%;
}

.ct-footer-middle-inner {
    max-width: 1500px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.ct-footer-phone {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ct-footer-round {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #df1824;
    display: grid;
    place-items: center;
    color: white;
    font-size: 23px;
}

.ct-footer-phone small {
    display: block;
    color: #ed1c2a;
    font-weight: 700;
    margin-bottom: 5px;
}

.ct-footer-phone a {
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 800;
}

.ct-footer-social {
    display: flex;
    gap: 10px;
}

.ct-footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #303134;
    color: white;
    text-decoration: none;
    font-weight: 700;
}

.ct-footer-social a:hover {
    background: #df1824;
}

.ct-footer-newsletter {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ct-footer-newsletter label {
    color: #ed1c2a;
    font-size: 20px;
    font-weight: 800;
    max-width: 110px;
    line-height: 1.25;
}

.ct-newsletter-input {
    display: flex;
    align-items: center;
    background: #303134;
    border-radius: 40px;
    padding: 5px;
    min-width: 280px;
}

.ct-newsletter-input input {
    min-width: 0;
    width: 100%;
    background: transparent;
    color: white;
    border: 0;
    outline: none;
    padding: 12px 18px;
}

.ct-newsletter-input input::placeholder {
    color: #dddddd;
}

.ct-newsletter-input button {
    flex: 0 0 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    background: #df1824;
    color: white;
    cursor: pointer;
    font-size: 20px;
}

.ct-footer-bottom {
    background: #101112;
    border-top: 1px solid #292929;
    padding: 22px 5%;
}

.ct-footer-bottom-inner {
    max-width: 1500px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ct-footer-bottom p {
    margin: 0;
    color: #dddddd;
}

.ct-footer-bottom-inner div {
    display: flex;
    gap: 25px;
}

.ct-footer-bottom a {
    color: white;
    text-decoration: none;
}

.ct-footer-bottom a:hover {
    color: #ed1c2a;
}

@media (max-width: 1000px) {
    .ct-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 35px;
    }

    .ct-footer-middle-inner {
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .ct-footer-main {
        padding: 50px 22px 30px;
    }

    .ct-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .ct-footer-logo img {
        width: 95px;
    }

    .ct-footer-middle {
        padding: 25px 22px;
    }

    .ct-footer-middle-inner,
    .ct-footer-newsletter {
        align-items: flex-start;
        flex-direction: column;
        width: 100%;
    }

    .ct-newsletter-input {
        width: 100%;
        min-width: 0;
    }

    .ct-footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ct-footer-bottom-inner div {
        flex-wrap: wrap;
        gap: 15px;
    }
}
      css
/* ===== CRYSTAL THREAD ANIMATION ===== */

.ct-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.ct-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            168deg,
            transparent 0px,
            transparent 17px,
            rgba(237, 28, 42, 0.18) 18px,
            transparent 20px,
            transparent 31px,
            rgba(255, 255, 255, 0.10) 32px,
            transparent 34px
        );
    background-size: 200% 200%;
    animation: ctThreadFlow 16s linear infinite;
}

@keyframes ctThreadFlow {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Social media hover animation */
.ct-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.ct-footer-social a:hover {
    transform: translateY(-5px) scale(1.08);
    background-color: #d71920;
}

/* Footer links */
.ct-footer-column a {
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.ct-footer-column a:hover {
    color: #ff424c;
    padding-left: 4px;
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
    .ct-footer::before {
        animation: none;
    }

    .ct-footer-social a,
    .ct-footer-column a {
        transition: none;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .ct-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ct-footer-main {
        padding: 45px 6% 35px;
    }

    .ct-footer-middle-inner {
        flex-wrap: wrap;
        gap: 22px;
    }

    .ct-footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
     
/* ===== MOVING THREAD ANIMATION ===== */
.ct-footer-main {
    position: relative;
    overflow: hidden;
    background-color: #111111;
    background-image:
        repeating-linear-gradient(
            120deg,
            transparent 0px,
            transparent 18px,
            rgba(215, 25, 32, 0.45) 19px,
            transparent 21px,
            transparent 32px,
            rgba(255, 255, 255, 0.18) 33px,
            transparent 35px
        );
    background-size: 200% 200%;
    animation: movingThreads 8s linear infinite;
}

@keyframes movingThreads {
    0%   { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

/* ===== SOCIAL ICON COLOURS ===== */
.ct-footer-social a:nth-child(1) {
    background: #1877F2;
    color: #ffffff;
}

.ct-footer-social a:nth-child(2) {
    background: #E1306C;
    color: #ffffff;
}

.ct-footer-social a:nth-child(3) {
    background: #0A66C2;
    color: #ffffff;
}

.ct-footer-social a:nth-child(4) {
    background: #25D366;
    color: #ffffff;
}

.ct-footer-social a:hover {
    transform: translateY(-5px) scale(1.1);
    filter: brightness(1.12);
}
     /* Reduce Crystal Thread Footer Logo Size */
.ct-footer-logo img {
    width: 100px;
    max-height: 100px;
    object-fit: contain;
}
