*{
    margin: 0;
    padding: 0;
    
    
    }
    
    /* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    display: block;
}

.main-container-c {
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* background-color: #f5f4f4 !important; */
}

.containers {
    max-width: 1200px;
    /* margin: 0 auto; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* Left Side Text */
.content-container {
    max-width: 600px;
    text-align: left;
}

.content-container h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: bold;
    color: #222;
}

.content-container p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    opacity: 0.9;
}

button.cta {
    background: #ff5722;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    margin-top: 15px;
}

button.cta:hover {
    background: #e64a19;
}

/* Right Side Image */
.hero-image-container {
    max-width: 500px;
    flex: 1;
}
a{
    text-decoration: none !important;
}
.hero-image {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); */
    animation: fadeIn 1.5s ease-in-out;
}


/* Related Courses Section */
.links-grid-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.links-grid-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.links-grid-item:hover {
    transform: scale(1.05);
    background: #eaeaea;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        text-align: center;
    }
    
    .content-container {
        text-align: center;
    }

    .hero-image-container {
        max-width: 100%;
        margin-top: 20px;
    }

    .hero-image {
        width: 100%;
    }
}

    .COURSECARDSECTION{
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    

/* feature section */
.AC-second-section {
    position: relative;
    margin-top: -30px; /* Slight overlap effect */
    display: flex;
    justify-content: center;
    padding: 0 15px; /* Prevent white space issue */
}

.AC-program-details {
    display: flex;
    flex-wrap: wrap ;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 25px;
    max-width: 1300px;
    width: 100%;
    gap: 20px;
}

.AC-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* Icons Styling */
.AC-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #eef5ff;
    border-radius: 50%;
}

.AC-icon img {
    width: 30px;
    height: auto;
}

/* Text Styling */
.AC-detail-title {
    font-size: 0.9rem;
    color: #777;
}

.AC-detail-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #222;
}

/* Divider between items */
.AC-detail-item:not(:last-child) {
    position: relative;
    padding-right: 20px;
}

.AC-detail-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: #ddd;
}

/* 📌 Tablets (1024px - 1300px): 2 items per row */
@media (max-width: 1300px) {
    .AC-program-details {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* max-width: 900px; */
        gap: 15px;
    }

    .AC-detail-item {
        flex: 1 1 calc(50% - 20px);
        /* max-width: 45%; */
        justify-content: center;
        text-align: center;
    }
    
    .AC-detail-item:not(:last-child)::after {
        display: none;
    }
}

/* 📌 Smaller Tablets (768px - 1023px): Stack in 2 columns */
@media (max-width: 1024px) {
    .AC-program-details {
    display: grid;
    grid-template-columns: repeat(2,1fr);
        justify-content: center;
        padding: 20px;
    }

    .AC-detail-item {
        flex: 1 1 calc(50% - 20px);
        /* max-width: 50%; */
        text-align: center;
    }
}

/* 📌 Mobile (Below 768px): 1 item per row */
@media (max-width: 768px) {
    .AC-program-details {
        grid-template-columns: repeat(1,1fr);
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .AC-detail-item {
        flex-direction: column;
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .AC-icon {
        width: 60px;
        height: 60px;
    }

    .AC-icon img {
        width: 32px;
    }
}

/* feature section end */

.container-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Default: 4 columns */
    gap: 20px;
}

/* 📌 Tablets (1024px - 1330px): 3 items per row */
@media (max-width: 1330px) {
    .container-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 📌 Smaller Tablets (768px - 1023px): 2 items per row */
@media (max-width: 1024px) {
    .container-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 📌 Mobile (Below 768px): 1 item per row */
@media (max-width: 768px) {
    .container-cards {
        grid-template-columns: repeat(1, 1fr);
    }
}

    
    .custom-underline {
        /* position: absolute; */
        /* top: 70%; */
        /* left: 0; */
        height: 10px;  /* छोटा कर दिया */
        width:100px;
        fill: #ff6600; /* नारंगी रंग */
        opacity: 0.8;  /* हल्का ट्रांसपेरेंट */
    }
    .division-line {
        border: none;
        height: 4px;
        width: 60%;
        margin: 20px auto;
        background: linear-gradient(to right, #2f6999, #3380be);
        border-radius: 5px;
    }
    
    
    
    
    .cardss {
        background-color: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 0;
        width: 300px;
        /* height: fit-content; */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .cardss img {
        width: 100%;
        height: 190px;
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .cardss h3 {
        font-size: 1.2rem;
        margin: 0 4px;
    }
    
    .cardss p {
        font-size: 0.9rem;
        color: #555;
        padding: 10px;
        margin: 4px 0 0 4px;
    }
    
    .rating {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 10px;
        margin-top: 4px;
        margin-bottom: 10px;
    }
    
    .star {
        font-size: 1.2rem;
        color: #f39c12;
    }
    
    .star.half {
        position: relative;
        display: inline-block;
        width: 9px; /* Half size */
        overflow: hidden;
        color: #f39c12;
        
    }
    .numRate{
        position: relative;
        display: inline;
        font-weight: 700;
        padding-right: 4px;
        padding-top: 4px
    
    }
    .totalRate{
        position: relative;
        display: inline;;
        padding-left: 8px;
        padding-top: 2px;
    }
    
    .cardss .price {
        font-size: 1rem;
        font-weight: 700;
        margin: 4px 0 10px 4px;
    }
    .priceNot{
        font-size: 1rem;
        font-weight: 100;
        text-decoration: line-through;
        margin: 0 0 10px 4px;
    }
    
    .cardss:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
    }
    