@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Dancing+Script:wght@400..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'Poppins';
    scroll-behavior: smooth;
}

:root{
    --prime-color: #A234FD;
    --secondary-color: #5D00F7;
    --third-color: #FE7524;
    --bg-color: #241B38;
    --text-color: #07000E;
    --light-text: #716f73;
    --black-color: #000;
    --white-color: #fff;
    --prim-icon-gradient: linear-gradient(50deg, #a234fd 0%, #ff31ab 49%, #ff6f05 100%);
    --prim-text-gradient: linear-gradient(90deg, #7512a2 0%, #ff31ab 48.53%, #ff6f05 100%);
    --nav-menu-gradient: linear-gradient(180deg, #fe7524 0%, rgba(254, 117, 36, 0) 80%);
    --nav-gradient: linear-gradient(90deg, #a234fd 0%, #ff31ab 2%, #ff6f05 100%);
    --service-gradient: linear-gradient(-90deg, #a234fd 0%, rgba(162, 52, 253, 0) 100%);
    --service-gradient-mask: linear-gradient(#fff 0 0) content-box, (#fff 0 0);

    --kaushan-font: "Dancing Script", cursive;
    --DM-sans-font: "DM Sans", sans-serif;

    --transition-regular:.3s;
    --transition-slow:.6s;
}

/* =================== SERVICE SECTION =================== */
.service-page {
    background-color: var(--black-color);
    display: flex;
    flex-direction: column;
    gap: 50px;
    transform: translateY(-55px);
    border-top-right-radius: 50px;
    border-top-left-radius: 50px;
    color: var(--white-color);
    padding: 60px 5%;
    position: relative;
}

.sps-top {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.sps-top h2 {
    font-size: 4rem;
    line-height: 4.5rem;
    font-family: var(--DM-sans-font);
    font-weight: 600;
}

.sps-cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.sps-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 20px;
    padding: 25px;
    height: 100%;
    min-height: 350px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sps-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px var(--prime-color);
}

.sps-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.sps-title h3 {
    font-size: 1.8rem;
    font-weight: 600;
    font-family: var(--DM-sans-font);
}

.sps-title i {
    font-size: 1.6rem;
    color: var(--prime-color);
}

.sps-card p {
    font-size: 1rem;
    line-height: 1.6rem;
    margin-bottom: 20px;
    font-family: var(--DM-sans-font);
    color: rgba(255, 255, 255, 0.8);
}

.sps-card .btn {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.sps-card .btn button {
    padding: 10px 20px;
    border: none;
    background-color: var(--prime-color);
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.sps-card .btn button:hover {
    background-color: #7b29c4; /* Slightly darker shade */
}

.sps-card .btn i {
    font-size: 1.2rem;
    color: var(--white-color);
}

/* Optional: background image on hover */
.sps-card:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -50px;
    width: 100%;
    height: 100%;
    background: url(/lovelace/image/service-page-1.webp) center/cover no-repeat;
    opacity: 0.07;
    z-index: 0;
    pointer-events: none;
}

/* Specific backgrounds for other cards */
.sps-cards .sps-card:nth-child(2):after {
    background-image: url(/lovelace/image/service-page-2.png);
}
.sps-cards .sps-card:nth-child(3):after {
    background-image: url(/lovelace/image/service-page-3.webp);
}


.btn-link {
    padding: 10px 20px;
    background-color: var(--prime-color);
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-link:hover {
    background-color: #7b29c4;
}
/* MARQUEE  */
.events-marquee {
    background-color: var(--black-color); /* Whole section is black */
    color: var(--white-color);
    padding: 60px 20px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.marquee-container {
    background: var(--nav-gradient);
    padding: 15px;
    border-radius: 10px;
    font-family: var(--DM-sans-font);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white-color);
}

.event-highlight h2 {
    font-size: 3rem;
    font-family: var(--DM-sans-font);
    background: var(--prim-text-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.event-highlight p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 800px;
    margin-bottom: 25px;
}

.event-cta .register-btn {
    background-color: var(--prime-color);
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--white-color);
    font-weight: 600;
    font-family: var(--DM-sans-font);
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    margin-top: 20px;
    border: none;
}

.event-cta .register-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

.event-eligibility {
    margin-top: 30px;
}

.event-eligibility h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--white-color);
}

.event-eligibility ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.8;
}
