﻿/* Generic helpers */
.font-hind {
    font-family: 'HindSiliguriWeb' !important;
}

.font-bahnschrift {
    font-family: 'BahnschriftWeb' !important;
}

.no-underline {
    text-decoration: none;
}

.text-red {
    color: #d30000;
}

.justify-text {
    text-align: justify;
    font-size: 19px;
}

/*hero section css*/
.hero {
    position: relative;
    padding: 30px 1% 50px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.text-box {
    max-width: 50%;
}

.hero .sub-heading {
    background-color: #f5f7ffcc;
    color: #8470d2;
    font-size: 16px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    border: 1px solid #E0E5EB;
    padding: 5px 15px 5px 5px;
    border-radius: 100px;
}

.hero .sub-heading .heading-icon {
    background-color: rgba(7, 8, 166, 0.15);
    color: #ae44a9;
    font-size: 14px;
    height: 28px;
    width: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .banner-title-1 {
    font-size: 40px;
    font-weight: 700;
    background: linear-gradient(90deg, #0A4EC2, #1FB6CE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .banner-title-1 #auto-type {
    background: rgba(10, 78, 194, 0.12);
    color: #0A4EC2;
    padding: 6px 10px;
    border-radius: 6px;
}

.hero .banner-title-2 {
    font-family: 'HindSiliguriWeb' !important;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.5;
    color: #687acf;
}

.hero .banner-title-3 {
    font-family: 'LiAdorNoirritWeb' !important;
    margin-top: 28px;
    background: #6079ff;
    display: inline-block;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
}

.btn-box {
    margin-top: 40px;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, #0A4EC2, #1FB6CE);
    padding: 10px 18px;
    border-radius: 8px;
    color: white !important;
    font-weight: 600;
    margin-right: 10px;
    transition: 0.3s;
}

.hero-btn:hover {
    transform: scale(1.06);
}

.hero-image {
    width: 350px;
    max-width: 100%;
    z-index: 2;
}

.animated-shapes {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.animated-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.25;
    animation: float 10s infinite ease-in-out alternate;
}

.shape:nth-child(1) {
    top: 8%;
    left: 75%;
    width: 70px;
    height: 70px;
    background: #1FB6CE55; 
}

.shape:nth-child(2) {
    top: 55%;
    left: 60%;
    width: 90px;
    height: 90px;
    background: #0A4EC255; 
}

.shape:nth-child(3) {
    top: 20%;
    left: 20%;
    width: 55px;
    height: 55px;
    background: #8AB6FF55; 
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    100% {
        transform: translateY(-25px);
    }
}

@media(max-width: 576px) {
    .shape:nth-child(1) {
        top: 12%;
        left: 80%;
        width: 50px;
        height: 50px;
    }

    .shape:nth-child(2) {
        top: 70%;
        left: 50%;
        width: 60px;
        height: 60px;
    }

    .shape:nth-child(3) {
        top: 15%;
        left: 10%;
        width: 40px;
        height: 40px;
    }
}

.blob {
    width: 450px;
    height: 450px;
    position: absolute;
    right: 5%;
    top: 15%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10,70,180,0.25), rgba(31,182,206,0.18), transparent 70%);
    filter: blur(70px);
    opacity: 0.55;
}

.hero,
.hero *:not(a):not(button):not(.hero-btn) {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.hero-image {
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Social Card css */
.social-card {
    position: relative;
    border-radius: 1.4rem;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    border: 1px solid transparent;
    background-clip: padding-box;
    transition: all 0.4s ease;
}

.social-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.8px;
    background: linear-gradient( 140deg, rgba(106, 79, 245, 0.28), rgba(229, 58, 58, 0.22), rgba(255, 126, 179, 0.22), rgba(106, 79, 245, 0.28) );
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.social-card:hover::before {
    opacity: 1;
}

.social-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.07), 0 6px 18px rgba(130, 80, 255, 0.10);
}

.card-icon {
    font-size: 2rem;
    color: #6A4FF5 !important;
    transition: transform 0.3s ease;
}

.bg-glass-red .card-icon {
    color: #E53A3A !important;
}

.social-card:hover .card-icon {
    transform: scale(1.10);
}

.card-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #4A3F6E;
}

.card-content p {
    color: #6A6A85;
    line-height: 1.45;
}

.action-btn {
    display: flex;
    gap: 6px;
    align-items: center;
    font-weight: 600;
    color: #6A4FF5;
    transition: all 0.3s ease;
}

.bg-glass-red .action-btn {
    color: #E53A3A;
}

.action-btn i {
    transition: transform 0.3s ease;
}

.social-card:hover .action-btn i {
    transform: translateX(4px);
}

.bg-glass-blue {
    background: rgba(130, 80, 255, 0.08);
}

.bg-glass-red {
    background: rgba(255, 92, 150, 0.10);
}


/* Course Card CSS*/
.course-card {
    margin: 6px !important;
}

.course-footer {
    background: #effaf6;
}

.price {
    color: #029216;
    font-weight: 600;
}

.price-old {
    color: #92cba7;
    text-decoration: line-through;
}

.btn-primary-action {
    background: #27ae60;
    border: none;
}

.rating-section {
    display: flex;
    align-items: center;
}

.stars {
    color: #ffd700;
    margin-right: 8px;
}

.review-count {
    font-size: 0.85em;
    color: #666;
}

.course-description {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.6em;
    font-weight: 600;
    text-transform: uppercase;
}

.registration-open {
    background: #48bb78;
    color: white;
}

.registration-closed {
    background: #f56565;
    color: white;
}

.course-type {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #667eea;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.6em;
    font-weight: 600;
}

.course-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: #718096;
    flex-wrap: wrap;
    min-height: 80px;
    border-top: 1px solid #ecf0f1;
    border-bottom: 1px solid #ecf0f1;
    padding: 10px 0px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    font-size: 1rem;
    color: rgb(45, 152, 218);
}

.carousel-inner {
    border-radius: 15px;
    border: 5px solid #ffa500;
}

/* Success section background */
.success-section {
    background-image: linear-gradient( 0deg, hsl(0deg 45% 96%) 0%, hsl(0deg 45% 96%) 13%, hsl(0deg 46% 96%) 18%, hsl(0deg 46% 96%) 23%, hsl(0deg 46% 96%) 27%, hsl(0deg 46% 97%) 30%, hsl(0deg 46% 97%) 33%, hsl(0deg 46% 97%) 37%, hsl(0deg 46% 97%) 40%, hsl(0deg 46% 97%) 43%, hsl(0deg 46% 98%) 46%, hsl(0deg 46% 98%) 49%, hsl(0deg 46% 98%) 51%, hsl(0deg 46% 98%) 54%, hsl(0deg 46% 98%) 57%, hsl(0deg 46% 98%) 60%, hsl(0deg 46% 99%) 63%, hsl(0deg 46% 99%) 67%, hsl(0deg 46% 99%) 70%, hsl(0deg 46% 99%) 73%, hsl(0deg 46% 99%) 77%, hsl(0deg 46% 100%) 82%, hsl(0deg 46% 100%) 87%, hsl(0deg 0% 100%) 100% );
}

.success-title {
    font-family: 'HindSiliguriWeb' !important;
    color: navy;
    font-weight: 600;
    padding: 20px;
}

@media(max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        min-height: auto;
    }

    .text-box {
        max-width: 100%;
    }

    .banner-title-1 {
        font-size: 32px !important;
    }

    .banner-title-2 {
        font-size: 28px !important;
    }

    .hero-image {
        margin-top: 40px;
        width: 320px;
    }

    .blob {
        width: 300px;
        height: 300px;
        top: unset;
        bottom: 10%;
        right: 20%;
    }
}

@media(max-width: 576px) {

    .hero {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .banner-title-1 {
        font-size: 28px !important;
    }

    .banner-title-2 {
        font-size: 24px !important;
    }

    .banner-title-3 {
        font-size: 18px !important;
    }

    .hero-image {
        order: 2;
        margin-top: 20px;
        width: 260px;
    }

    .btn-box {
        margin-top: 25px !important;
    }
}