@import url('https://fonts.googleapis.com/css2?family=Michroma&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');
:root{
    --primary-color:rgba(4, 118, 70,1);
    --primary-color-deep:rgb(4, 180, 118);
    --primary-glass:rgba(102, 193, 113, .3);
    --secondary-color:#A08963;
    --secondary-color-deep:#eaaf50;
    --secondary-btn-color:rgb(10, 107, 167);
    --text-color-deep:rgb(0, 0, 0, 1);
    --text-color-light: #555;
    --footer-bg:rgba(1, 135, 88, 1);
    --text-white:rgb(255, 255, 255);
    --extra-large-font: clamp(1.875rem, -2.215909090909091rem + 6.8181818181818175vw, 3.75rem);
    --large-font: clamp(1.25rem, -1.4772727272727275rem + 4.545454545454546vw, 2.5rem);
    --medium-font: clamp(1.125rem, -0.5113636363636362rem + 2.727272727272727vw, 1.875rem);
    --sub-title-font:clamp(1.125rem, 0.8212025316455696rem + 0.6329113924050633vw, 1.375rem);
    --card-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --para-font:clamp(0.875rem, 0.6875rem + 0.390625vw, 1rem);

    --news-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --news-card-hover-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}
body{
    padding: 0;
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: clamp(0.875rem, 0.6875rem + 0.390625vw, 1rem) !important;
    line-height: 1.5;
}
*,*::after, *::before{
    text-decoration: none;
    box-sizing: border-box;
    list-style: none;
    padding: 0;
}
figure {
    margin: 5px;
    display: inline-block;
}
a{
    color: var(--text-color-deep);
}
section{
    padding: 0 3%;
}
img{
    max-width: 100%;
    width: 100%;
    border-radius: 10px;
}
.hide{
    display: none !important;
}
.hidden{
    display: none !important;
}
.sec-pad{
    padding-top: 60px;
}
.mobile-view{
    display: none;
}
.main-title{
    font-size: var(--large-font);
    text-transform: uppercase;
    background: linear-gradient(90deg, #f3b001, rgb(0 176 21));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block !important;
    margin: 40px 0;
    position: relative;
}
.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #b5f301, rgb(0 176 21));
    border-radius: 2px;
}
.content-title{
    font-size: var(--sub-title-font);
}
.btn {
    display: inline-block;
    padding: 8px 30px;
    border-radius: 7px;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: none;
    outline: none;
    text-align: center;
    min-width: 150px;
    z-index: 1;
    cursor: pointer;
}
.pb-60{
    padding-bottom: 60px;
}
.btn-normal {
    background-color: var(--secondary-btn-color);
    color: var(--text-white);
}
.btn-normal:hover {
    background-color: var(--footer-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(1, 167, 108, 0.3);
}
.btn-pulse {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color-deep);
    overflow: visible;
    animation: pulse 1.6s infinite;
}
.btn-pulse:hover {
    animation: none;
    transform: scale(1.05);
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(102, 193, 113, 0.7); }
    70% { box-shadow: 0 0 0 25px rgba(102, 193, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 193, 113, 0); }
}
.disable-btn {
    background-color: #ccc;
    cursor: not-allowed;
    animation: none;
    transition: none;
    color: black;
    box-shadow: none;
}

.relative {
    position: relative;
}

.breadcrumb{
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 3% 80px;
    text-align: center;
    color: #fff;
    /* overflow: hidden; */
    height: 90vh;
}
/*.breadcrumb::before,*/
/*.breadcrumb .overlay {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    z-index: 1;*/
/*    background:linear-gradient(90deg, rgb(42 123 155 / 32%) 0%, rgb(87 199 133 / 32%) 50%, rgb(237 221 83 / 28%) 100%);*/

/*}*/

.breadcrumb .container {
    position: relative;
    z-index: 2;
}

.breadcrumb h1 {
    font-size: var(--extra-large-font);
    margin-bottom: 10px;
    color: var(--text-color-deep);
}

.breadcrumb p {
    font-size: var(--sub-title-font);
    color: var(--text-color-deep);
}

header.header{
    position:sticky;
    top:0;
    right:0;
    left:0;
    z-index:999;
    background: linear-gradient(90deg, #ffffff, #047646);
    padding: 10px 0;
}
nav {
    padding: 0 3%;
}
nav .logo {
    font-size: var(--medium-font);
    font-weight: 700;
    color: var(--text-white);
    display: flex;
}
.logo img{
    max-width: 200px;
    border-radius: 0;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar .menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}
.navbar .menu li {
    position: relative;
    margin-left: 10px;
    text-transform: capitalize;
}
.navbar .menu li a {
    text-decoration: none;
    color: var(--text-white);
    padding: 8px 12px;
    display: block;
    border-radius: 8px;
}
.navbar .menu li a:hover {
    background-color: var(--secondary-color-deep);
}
.navbar .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ccc;
    min-width: 150px;
    z-index: 10;
    padding: 0;
    list-style: none;
}
.navbar .dropdown-menu li a {
    padding: 8px 12px;
    color: var(--text-color-deep);
}
.navbar .dropdown:hover .dropdown-menu {
    display: block;
}
.navbar .menu li a.active {
    background-color: var(--secondary-color-deep);
}
/* Hamburger Toggle */
.menu-toggle {
    display: none;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}
.menu-toggle .bar {
    height: 4px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    color: white;
    width: 100%;
}
.menu-toggle.active .top {
    transform: rotate(45deg) translateY(10px);
}
.menu-toggle.active .middle {
    opacity: 0;
}
.menu-toggle.active .bottom {
    transform: rotate(-45deg) translateY(-10px);
}

/* Blurred backdrop */
.backdrop {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    backdrop-filter: blur(6px);
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.backdrop.show {
    display: block;
    opacity: 1;
}
/* Mobile Responsive Styles */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }

    .navbar .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px;
        gap: 16px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .navbar .menu.show {
        right: 0;
    }

    .navbar .menu li {
        margin: 0;
        width: 100%;
    }

    .navbar .menu li a {
        width: 100%;
        padding: 12px;
    }
}
/* hero section css start */
#hero {
    height: 90vh;
    /* background-image: url('../images/home-hero.webp'); */
    background-size: cover;
    /* background-position: center; */
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}
#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}
.hero-content h1.name {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: var(--extra-large-font);
}
.hero-content p.desc {
    margin-top: 10px;
    font-size: var(--medium-font);
}
/* hero section css end */



/* home about section start */
section#home-about {
    background: #0080000f;
}
#aboutMe .about {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 4vw, 60px);
}
#aboutMe .about .profile, #aboutMe .about .content{
    width: 50%;
}
#aboutMe .about .content .content-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 2rem;
}
#aboutMe .about .content .content-list li{
    letter-spacing: 2px;
    display: flex;
    align-items: center;
}
#aboutMe .about .content .content-list i{
    font-size: var(--sub-title-font);
    margin-right: 10px;
    color: var(--primary-color);
    padding: 7px;
    background-color: var(--primary-glass);
}
#about .contact-info{
    box-shadow: none;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    padding: 0 0 100px 0;
}
/* home about section end */


/* about page css start */
#about .about-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}
#about .about-image {
    flex: 1 1 40%;
}
#about .about-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
#about .about-content {
    flex: 1 1 55%;
}
#about .about-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}
#about .about-content p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}
#about .btn-primary {
    padding: 10px 20px;
    border-radius: 6px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}
#about .btn-primary:hover {
    background: #0056b3;
}

/* Chairman */
#about-chairman .chairman-box {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}
#about-chairman .chairman-image {
    flex: 1 1 40%;
}
#about-chairman .chairman-image img {
    border-radius: 12px;
}
#about-chairman .chairman-content {
    flex: 1 1 60%;
    font-style: italic;
}

/* Stats */
#about-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    margin-top: 30px;
}
#about-stats .stat-card {
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
background-image: linear-gradient(-225deg, #FFFEFF 0%, #D7FFFE 100%);
color: var(--text-color-deep);
flex-direction: column;
gap: 0;
border: 1px solid greenyellow;
}
#about-stats .stat-card .digits {
    font-size: 2rem;
    margin: 5px 0;
}
#about-stats .stat-card:hover {
background-image: linear-gradient(-225deg, #DFFFCD 0%, #90F9C4 48%, #39F3BB 100%);
    color: #fff;
}

/* FAQ */
#about-faq .faq-item {
    border-bottom: 1px solid var(--primary-color);
    padding: 15px 0;
}
#about-faq .faq-question {
    font-weight: 600;
    cursor: pointer;
    position: relative;
    padding: 10px;
    margin: 0;
    font-size: 1.2rem;
}
#about-faq .faq-question::after {
    content: "+";
    position: absolute;
    right: 0;
}
#about-faq .faq-item.active .faq-question::after {
    content: "-";
}
#about-faq .faq-answer {
    margin-top: 8px;
    display: none;
}
#about-faq .faq-item.active .faq-answer {
    display: block;
    padding: 10px;
}
/* about page css end */


/* service page css start */
#services {
    background-color: #80808012;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.service-card {
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
    max-width: 320px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 10px;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgb(231, 255, 235);
    background: rgb(238, 254, 241);
}
.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--card-radius) var(--card-radius) 0 0;
    transition: transform 0.6s ease;
}

.service-card .card-content {
    text-align: left;
    margin:0;
}

.service-card h3 {
    margin:10px 0;
    font-size: 1.1rem;
    color: var(--text-color-deep);
}

.service-card p {
    margin: 0 0 12px;
    color: #444;
}

.service-card .btn {
    display: inline-block;
    background-color: #63a079;
    color: var(--text-white);
    /* border-radius: var(--card-radius); */
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: 100%;
}

.service-card .btn:hover {
    background-color: var(--footer-bg);
}

/* service page css end */

/* service detail css start */
.service-detail {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
}

.service-detail img {
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--card-radius);
}

.service-detail .description {
    font-size: var(--para-font);
    line-height: 1.8;
    color: var(--text-color-light);
}

.related-services {
    margin-top: 50px;
}

.related-services h3 {
    font-size: var(--medium-font);
    margin-bottom: 20px;
}

/* service detail css end */


/* contact page css start */
        .contact-container {
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
        }
        
        .contact-info {
            background: rgba(255, 255, 255, 0.85);
            border-radius: var(--card-radius);
            padding: 40px;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        .contact-info .social-links a{
            background-color: var(--primary-color);
        }
        .info-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 30px;
            transition: var(--transition);
            align-items: center;
        }
        
        .info-item:hover {
            transform: translateX(5px);
        }
        
        .info-icon {
            width: 50px;
            height: 50px;
            background: var(--primary-glass);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 20px;
            color: var(--primary-color-deep);
            font-size: 20px;
            transition: var(--transition);
        }
        
        .info-item:hover .info-icon {
            color: white;
            transform: scale(1.1);
        }
        
        .info-content h3 {
            font-size: var(--sub-title-font);
            margin-bottom: 5px;
            color: var(--text-color-deep);
        }
      .info-content p {
            color: var(--text-color-deep);
            margin: 0;
            padding: 5px;
            background: #00ff000a;
            margin-bottom: 7px;
            border-radius: 5px;
        }
        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }
        
        .social-icon {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(240, 240, 240, 0.8);
            color: var(--text-color-light);
            font-size: 18px;
            transition: var(--transition);
        }
        
        .social-icon:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-5px);
        }
        
        .contact-form-wrapper {
            background: rgba(255, 255, 255, 0.85);
            border-radius: var(--card-radius);
            padding: 40px;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .form-group {
            position: relative;
            margin-bottom: 30px;
        }
        
        .form-group label {
            position: absolute;
            top: 12px;
            left: 15px;
            color: var(--text-color-light);
            pointer-events: none;
            transition: var(--transition);
            background: white;
            padding: 0 5px;
        }
        
        .form-group input,
        .form-group textarea,
        .comment-form input,
        .comment-form textarea {
            width: 100%;
            padding: 15px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 16px;
            transition: var(--transition);
            background: rgba(255, 255, 255, 0.7);
        }
        
        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 3px var(--primary-glass);
        }
        
        .form-group input:focus + label,
        .form-group input:not(:placeholder-shown) + label,
        .form-group textarea:focus + label,
        .form-group textarea:not(:placeholder-shown) + label {
            top: -10px;
            left: 10px;
            font-size: 14px;
            color: var(--primary-color);
            background: white;
        }
        
        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }

        .submit-btn {
            display: flex;
            justify-content: center;
            margin-top: 20px;
        }
        .contact-map{
            margin-top: 40px;
            height: 400px;
        }
        iframe {
            width: 100% !important;
            height:100%;
        }
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(102, 193, 113, 0.7); }
            70% { box-shadow: 0 0 0 25px rgba(102, 193, 113, 0); }
            100% { box-shadow: 0 0 0 0 rgba(102, 193, 113, 0); }
        }
        .floating-shapes {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
            z-index: -1;
            overflow: hidden;
        }
        
        .shape {
            position: absolute;
            border-radius: 50%;
            opacity: 0.15;
            animation: float 15s infinite linear;
        }
        
        .shape-1 {
            width: 150px;
            height: 150px;
            background: var(--primary-color);
            top: 10%;
            left: 5%;
            animation-duration: 20s;
        }
        
        .shape-2 {
            width: 100px;
            height: 100px;
            background: var(--secondary-color);
            top: 70%;
            left: 80%;
            animation-duration: 25s;
            animation-delay: -5s;
        }
        
        .shape-3 {
            width: 70px;
            height: 70px;
            background: var(--primary-color-deep);
            top: 40%;
            left: 90%;
            animation-duration: 15s;
            animation-delay: -10s;
        }
        
        @keyframes float {
            0% {
                transform: translate(0, 0) rotate(0deg);
            }
            25% {
                transform: translate(20px, 30px) rotate(90deg);
            }
            50% {
                transform: translate(0, 60px) rotate(180deg);
            }
            75% {
                transform: translate(-20px, 30px) rotate(270deg);
            }
            100% {
                transform: translate(0, 0) rotate(360deg);
            }
        }
        /* Spinner animation */
        .btn-loading {
        position: relative;
        pointer-events: none;
        opacity: 0.8;
        }

        .btn-loading::after {
        content: "";
        position: absolute;
        right: 12px;
        top: 50%;
        width: 16px;
        height: 16px;
        margin-top: -8px;
        border: 2px solid #fff;
        border-top-color: transparent;
        border-radius: 50%;
        animation: spin 0.6s linear infinite;
        }

        @keyframes spin {
        to { transform: rotate(360deg); }
        }
/* contact page css end */


/* project page css start */
#project-page{
    position: relative;
}
/* project page css end */



/*404 error page style*/
.error-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.error-animation {
    position: relative;
    width: 300px;
    height: 300px;
    margin-bottom: 40px;
}

.error-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-glass), transparent 70%);
    box-shadow: 0 10px 30px rgba(102, 193, 113, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
}

.error-number {
    font-size: 8rem;
    font-weight: 800;
    color: var(--primary-color-deep);
    text-shadow: 0 5px 15px rgba(4, 180, 118, 0.3);
    line-height: 1;
}

.error-icon {
    position: absolute;
    font-size: 3rem;
    color: var(--primary-color-deep);
    animation: bounce 2s ease-in-out infinite;
}

.error-icon:nth-child(1) {
    top: 20px;
    left: 30px;
    animation-delay: 0s;
}

.error-icon:nth-child(2) {
    top: 40px;
    right: 50px;
    animation-delay: 0.3s;
}

.error-icon:nth-child(3) {
    bottom: 60px;
    left: 60px;
    animation-delay: 0.6s;
}

.error-icon:nth-child(4) {
    bottom: 30px;
    right: 30px;
    animation-delay: 0.9s;
}

.error-content h1 {
    font-size: var(--large-font);
    color: var(--text-color-deep);
    margin-bottom: 20px;
    font-weight: 700;
}

.error-content p {
    font-size: var(--para-font);
    margin-bottom: 30px;
    color: var(--text-color-light);
    max-width: 600px;
    line-height: 1.8;
}

@keyframes float {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
        box-shadow: 0 5px 15px rgba(102, 193, 113, 0.2);
    }
    50% {
        transform: translate(-50%, -55%) rotate(5deg);
        box-shadow: 0 15px 30px rgba(102, 193, 113, 0.3);
    }
    100% {
        transform: translate(-50%, -50%) rotate(0deg);
        box-shadow: 0 5px 15px rgba(102, 193, 113, 0.2);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@media (max-width: 768px) {
    .error-animation {
        width: 220px;
        height: 220px;
    }
    
    .error-circle {
        width: 180px;
        height: 180px;
    }
    
    .error-number {
        font-size: 6rem;
    }
    
    .error-icon {
        font-size: 2rem;
    }

}


/* Looking service start */
.other-service-container-buttons{
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}
.other-service {
    display: flex;
    /* align-items: center; */
    gap: 30px;
    margin-bottom: 30px;
}
.other-service .profile{
    max-width: 40%;
}
.other-service .profile img{
    aspect-ratio: 2/1;
}
.other-service .content{
    max-width: 60%;
}
/* Looking service end */

/* coupon start */
#couponBox {
  margin-top: 10px;
}
#couponBox input {
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
#applyCouponBtn {
  margin-left: 5px;
  padding: 6px 12px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#applyCouponBtn:hover {
  background: #45a049;
}
#applyCouponBtn.applied {
  background: gray;
  cursor: not-allowed;
}
#coupon_error {
  margin-top: 0px;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 14px;
  display: inline-block;
  width: 100%;
}
#coupon_error.error {
  background: #ffe6e6;
  color: #cc0000;
  border: 1px solid #ff9999;
}
#coupon_error.warning {
  background: #fff5cc;
  color: #996600;
  border: 1px solid #ffdd66;
}
a#toggleCoupon {
    font-weight: bold;
    color: var(--primary-color);
}
/* coupon end */
#training .training-list{
    display: flex;
    align-items: start;
}
.top-training-content {
    z-index: 5;
    position: relative;
}
.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-items: center;
    width: 100%;
}
.training-card {
    max-width: 335px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 15px;
}
.training-title{
    font-size: 16px;
    margin: 3px 0 0 0;
}
.training-card p{
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}
.training-card b.ratings {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
input.search-input {
    padding: 8px 20px;
    border-radius: 5px;
    max-width: 500px;
    width: 100%;
    border:1px solid var(--primary-color);
    outline: none;
}
.search-bar form {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 50%;
}
.search-bar {
    display: flex;
    justify-content: space-between;
}
p#final_cost_display {
    font-weight: bold;
    word-spacing: 5px;
    letter-spacing: 1px;
}
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex; justify-content: center; align-items: center;
}
.training-buttons{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
}
.training-card img{
    aspect-ratio: 2/1;
}
.training-buttons .btn{
    min-width: 100px;
}
p.date {
    margin-bottom: -14px;
    display: flex;
    justify-content: space-between;
}
.two-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}
/* Modal overlay */
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}
#registerModal .form-group {
    position: relative;
    margin: 0;
  }
#registerModal .form-text {
    display: none;
    font-size: 13px;
    color: #ff0000;
    margin-top: -10px;
    margin-bottom: 15px;
}
/* #registerModal .form-group:hover .form-text, */
#registerModal .form-group input:focus + .form-text {
    display: block;
  }
/* Modal content box */
.modal-content {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    position: relative;
    animation: slideUp 0.3s ease-in-out;
}

/* Close button */
.close {
    position: absolute;
    top: 12px;
    right: 15px;
    font-size: 35px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}
.close:hover {
    color: #ff4b5c;
}

/* Modal heading */
.modal-content h2 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

/* Input fields */
.modal-content input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease-in-out;
    background: #f9f9f9;
}
.modal-content input:focus {
    border-color: #4e9af1;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(78,154,241,0.2);
    outline: none;
}

/* Submit button */
.modal-content .btn-normal {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #4e9af1, #3461c1);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}
.modal-content .btn-normal:hover {
    background: linear-gradient(135deg, #3461c1, #4e9af1);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

#toast-container {
  position: fixed;
  z-index: 9999999;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  justify-content: center;
  width: 100%;
  align-items: center;
}

.toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #22c55e;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  min-width: 280px;
  max-width: 400px;
  pointer-events: auto;
  animation: fadeInSlide 0.4s ease forwards;
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 15px;
}

.toast-success { background: #22c55e; }
.toast-error { background: #ef4444; }
.toast-info { background: #3b82f6; }

.toast-text {
  flex: 1;
}

.toast-close {
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.toast-close:hover {
  transform: scale(1.2);
  color: #f1f1f1;
}

@keyframes fadeInSlide {
  0% {
    opacity: 0;
    transform: translateY(-15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}




/* Optional fade out effect */
@keyframes fadeOutSlide {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.home-news-section .news marquee {
    margin: 0;
    background: #ffc9c93d;
}
.home-news-section .news marquee a p {
    display: inline;
}
.news marquee {
    background: var(--text-white);
    color: var(--text-color-deep);
    margin-top: 120px;
}
.certificate-section {
    max-width: 700px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

.page-title {
    font-size: 28px;
    margin-bottom: 20px;
}

/* Verification Form */
.verify-form {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 10px;
}

.input-field {
    width: 60%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}
/* Error message */
.error-message {
    color: red;
    margin-top: 15px;
}

/* Certificate Result */
.certificate-result {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f5fff5;
    text-align: left;
}

/* training details start */
.training-detail {
  margin: 50px auto;
  padding: 20px;
  background: linear-gradient(45deg, #d4ffd1, transparent);
}

/* Hero Banner */
.training-hero {
  position: relative;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  width: 61%;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
}

.hero-overlay h1 {
  font-size: 2.2rem;
  font-weight: 600;
}

/* Training Info Card */
.training-detail .training-header {
    display: flex;
    position: relative;
}
.training-info-card {
    background: rgb(123, 226, 255);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 50px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    width: 35%;
    position: fixed;
    right:20px;

}

.training-info-card .description {
  margin-bottom: 20px;
  color: #444;
}

.info-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.info-list li {
  margin-bottom: 10px;
  color: #333;
}

.info-list i {
  margin-right: 8px;
}

/* Register Button */
.btn-register {
  background: linear-gradient(135deg, #007bff, #00d4ff);
  color: white;
  padding: 14px 30px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 1.1rem;
}

.btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

/* ===== Modules Timeline ===== */
.modules {
    max-width: 61%;
}
.modules h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #222;
}

.timeline {
  position: relative;
  border-left: 3px solid var(--secondary-btn-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-dot {
  position: absolute;
  left: -12px;
  top: 10px;
  width: 20px;
  height: 20px;
  background: var(--secondary-btn-color);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(0,123,255,0.2);
}

.timeline-content {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.2s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--secondary-btn-color);
}

.timeline-content p,
.timeline-content li {
  color: #555;
  line-height: 1.6;
}
/* Accordion Styling */
.accordion {
  border-radius: 12px;
  overflow: hidden;
}

.accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.accordion-item:hover {
  transform: translateY(-3px);
}

.accordion-header {
  width: 100%;
  background: linear-gradient(135deg, #24cd73, #30b9ff);
  color: #fff;
  padding: 16px 22px;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}
.accordion-body {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  background: #fff;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-body.open {
  padding: 16px 22px;
  max-height: 800px; /* large enough to fit content */
}

.accordion-body p,
.accordion-body li {
  color: #444;
  line-height: 1.6;
}

.accordion-body ul {
  margin-left: 20px;
}

.accordion-header .arrow {
  transition: transform 0.3s ease;
}

.accordion-header.active .arrow {
  transform: rotate(180deg);
}


.more-trainings {
  margin-top: 60px;
  padding: 30px;
  background: linear-gradient(45deg, #f9f9f9, #f0faff);
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  width: 61%;
}

.more-trainings h2 {
  margin-bottom: 30px;
}

.more-trainings .trainings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.more-trainings .training-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.more-trainings .training-card:hover {
  transform: translateY(-5px);
}

.more-trainings .training-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.more-trainings .training-info h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 14px;
}

.more-trainings .training-info p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 15px;
}

.more-trainings .btn-view {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-white);
  padding: 4px 8px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.more-trainings .btn-view:hover {
  background: linear-gradient(135deg, #0056b3, #00a8cc);
  transform: scale(1.05);
}
.star-gold {
  color: gold !important;
}
.star-faded {
  color: #00000094 !important;
  opacity: 0.3;
}

#hero-section {
  position: relative;
  width: 100%;
  height: auto;
  padding: 0;
}

#hero-section .video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

#hero-section .hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  /* min-height: 100vh; */
  /* min-width: 177.78vh; */
  transform: translate(-50%, -50%);
  border: none;
  z-index: 1;
  pointer-events: none;
}

#hero-section .image-banner {
  position: relative;
  width: 100%;
  height: 100vh;
}
#hero-section .image-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#hero-section .banner-content {
position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: white;
    z-index: 2;
    max-width: 650px;
    background: #00000038;
    padding: 20px;
    z-index: 5; /* make sure it's above the iframe */
}

/* About */
#home-about .about-wrapper {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}
#home-about .about-image {
  flex: 1 1 40%;
}
#home-about .about-content {
  flex: 1 1 55%;
}
/* CLIENTS SECTION */
.clients-section {
  background: #f9f9f9;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
  /* margin-top: 40px; */
}

.client-logo img {
  max-width: 200px;
  height: auto;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.client-logo img:hover {
  opacity: 1;
  transform: scale(1.05);
}
section#home-contact {
    background-image: linear-gradient(120deg, #bad5ff 0%, #dcf4ff 100%);
    padding-bottom: 2rem;
}
#home-contact .contact-wrapper {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
      background: white;
    padding: 40px;
    border-radius: var(--card-radius);
}
#home-contact .contact-info {
  flex: 1 1 40%;
  box-shadow: none;
  background-color: transparent;
}
#home-contact .contact-form {
  flex: 1 1 50%;
}
#home-services .services-grid{
    margin-bottom: 30px;
}
/* home page css end */

/* footer css start */
.footer {
    color: var(--text-white);
    padding: 4rem 0 0;
    margin-top: 3rem;
    background-image: url('../images/bg4.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 0;
    overflow: hidden;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 109, 63, 0.9);
    z-index: 1;
}

/* Make sure footer content stays above the overlay */
.footer > * {
    position: relative;
    z-index: 2;
}
.footer-container {
    margin: 20px;
    padding: 0 3%;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col {
    padding: 0 1rem;
}

.footer-title {
    font-size: var(--sub-title-font);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}
.footer-col p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}
.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-contact a {
    color: var(--text-white);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    transform: translateX(5px);
}

.footer-contact i {
    margin-right: 0.8rem;
    width: 20px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-btn-color);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    margin-top: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
}

.newsletter-form button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0 1.2rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}
.footer-bottom p {
    font-size: 12px;
    word-spacing: 2px;
    letter-spacing: 1px;
}
.footer-bottom a{
    color: white;
}

/* footer css end */


/* ------------------ Form Wrapper ------------------ */
.form-wrapper {
    max-width: 500px;
    margin: 80px auto;
    padding: 40px 30px;
    background: rgba(255,255,255,0.95);
    border-radius: var(--card-radius);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 40px rgba(0,0,0,0.15);
}

.form-wrapper h2 {
    font-size: var(--large-font);
    color: var(--primary-color-deep);
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 1px;
}

.form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-wrapper input {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}

.form-wrapper input:focus {
    border-color: var(--primary-color-deep);
    box-shadow: 0 0 10px var(--primary-glass);
    outline: none;
}

.form-wrapper button.btn {
    background: var(--primary-color);
    color: var(--text-white);
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

.form-wrapper button.btn:hover {
    background: var(--primary-color-deep);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102,193,113,0.4);
}

.form-wrapper p {
    font-size: 0.95rem;
    color: var(--text-color-light);
}

.form-wrapper p a {
    color: var(--primary-color-deep);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.form-wrapper p a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Dashboard Styles */
#user-dashboard-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Section */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.welcome-section h1 {
    color: var(--primary-color-deep);
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.welcome-section p {
    color: #666;
    margin: 5px 0 0 0;
    font-size: 1.1rem;
}

.btn-logout {
    background: var(--secondary-btn-color);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.btn-logout:hover {
    background: var(--footer-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-card:nth-child(4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.9;
}

.stat-info h3 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 700;
}

.stat-info p {
    margin: 5px 0 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Dashboard Content */
.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.content-section {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f5f5f5;
}

.section-header h2 {
    color: var(--primary-color-deep);
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.count-badge {
    background: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Registrations Grid */
.registrations-grid {
    display: grid;
    gap: 20px;
}

.registration-card {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    background: white;
}

.registration-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(102, 193, 113, 0.15);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.card-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
    line-height: 1.4;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.confirmed {
    background: #d4edda;
    color: #155724;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
}

.card-content {
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.info-item i {
    color: var(--primary-color);
    width: 16px;
}

.card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-view, .btn-download {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-view {
    background: var(--primary-color);
    color: white;
}

.btn-view:hover {
    background: var(--primary-color-deep);
    transform: translateY(-1px);
}

.btn-download {
    background: #6c757d;
    color: white;
}

.btn-download:hover {
    background: #545b62;
    transform: translateY(-1px);
}

/* Certificates List */
.certificates-list {
    display: grid;
    gap: 15px;
}

.certificate-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.certificate-item:hover {
    border-color: var(--primary-color);
    background: #f8fff9;
}

.certificate-icon {
    font-size: 2rem;
    color: #ffc107;
}

.certificate-info {
    flex: 1;
}

.certificate-info h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1rem;
}

.certificate-info p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

.certificate-id {
    font-size: 0.8rem;
    color: #999;
    font-family: monospace;
}

.certificate-actions {
    display: flex;
    gap: 8px;
}

.btn-download-cert, .btn-preview {
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-download-cert {
    background: #28a745;
    color: white;
}

.btn-download-cert:hover {
    background: #218838;
    transform: translateY(-1px);
}

.btn-preview {
    background: #17a2b8;
    color: white;
}

.btn-preview:hover {
    background: #138496;
    transform: translateY(-1px);
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    margin: 0 0 10px 0;
    color: #999;
}

.empty-state p {
    margin: 0 0 20px 0;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--primary-color-deep);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #user-dashboard-page {
        padding: 15px;
    }

    .dashboard-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-row {
        flex-direction: column;
        gap: 8px;
    }

    .card-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .certificate-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .certificate-actions {
        justify-content: center;
    }

}
@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .card-actions {
        flex-direction: column;
    }

    .btn-view, .btn-download {
        width: 100%;
        justify-content: center;
    }
}





/* Training Videos Section */
.training-videos {
  background: #f9fafb;
}

.training-videos .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
}

.training-videos .section-subtitle {
  color: #555;
  font-size: 1.1rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 31%));
  gap: 2rem;
  margin-bottom: 3rem;
}

.module-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Responsive Video Wrapper */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  /* overflow: hidden; */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.module-content {
  padding: 1.2rem;
}

.module-content h3 {
  font-size: 1.2rem;
  color: #222;
  margin-bottom: 0.5rem;
}

.module-content p {
  font-size: 0.95rem;
  color: #555;
}

.video-link {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.video-link:hover {
  background: #1e40af;
}

.no-videos {
  font-size: 1.1rem;
  color: #777;
  padding: 2rem 0;
}
.module-card.locked {
  opacity: 0.5;
  pointer-events: none;
  position: relative;
}

.module-card.locked .video-wrapper::after {
  content: "🔒 Locked — Complete previous video";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgb(255, 0, 0);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  width: 100%;
}

.quiz-section {
  display: none;
}
.quiz-section.visible {
  display: block;
}




/* global css start */
.swiper-button-prev, .swiper-button-next {
    background: #bbffccb0;
    padding: 16px;
    border-radius: 30px;
    box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.523);
}
.swiper-button-next:after, .swiper-button-prev:after{
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-color-deep);
    
}
.swiper-button-prev, .swiper-rtl .swiper-button-next{
    left: var(--swiper-navigation-sides-offset, 30px);
    right: auto;
}
.swiper-button-next, .swiper-rtl .swiper-button-prev
 {
    right: var(--swiper-navigation-sides-offset, 30px);
    left: auto;
}
/* global css end */


/* News Grid Styles */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.news-card {
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--news-card-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--news-card-hover-shadow);
}

.news-image {
    height: 220px;
    overflow: hidden;
}

.news-image img {
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-card .news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--text-color-light);
    font-size: 0.85rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-color-deep);
}

.news-excerpt {
    color: var(--text-color-light);
    margin-bottom: 15px;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--primary-color-deep);
    gap: 10px;
}

.category-tag {
    display: inline-block;
    background: var(--primary-glass);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Featured News */
.featured-news {
    margin-bottom: 60px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--news-card-shadow);
}

.featured-image {
    height: 400px;
}

.featured-image img {
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-title {
    font-size: var(--large-font);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-excerpt {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-color-light);
}

/* News Detail Page */
.news-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 3%;
}

.news-detail-header {
    margin-bottom: 40px;
    text-align: center;
}

.news-detail-title {
    font-size: var(--large-font);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-detail-container .news-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--text-color-light);
    margin-bottom: 20px;
}

.news-detail-container .news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-detail-image {
    margin-bottom: 30px;
    border-radius: var(--card-radius);
    overflow: hidden;
}

.news-detail-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.news-detail-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 1.05rem;
}

.news-detail-content p {
    margin-bottom: 20px;
}

.news-detail-content h2, .news-detail-content h3 {
    margin: 30px 0 15px;
    color: var(--primary-color);
}

.news-detail-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-color-light);
}

.news-tags {
    display: flex;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.news-tag {
    background: #f0f0f0;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.news-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Pagination */
.news-detail-container .pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    gap: 10px;
}

.news-detail-container .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--text-color-deep);
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.news-detail-container .page-link:hover, .news-detail-container .page-link.active {
    background: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.gallery-item .caption {
    padding: 8px;
    text-align: center;
    font-size: 14px;
    color: #555;
    background: #f8f8f8;
}


/* Responsive Styles */
@media (max-width: 992px) {
    .featured-card {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .news-meta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .news-actions {
        flex-direction: column;
        gap: 20px;
    }
    
    .share-buttons {
        justify-content: center;
    }
}





/* Notice Board Styles */
.notice-layout {
    display: grid;
    /* grid-template-columns: 1fr 300px; */
    gap: 40px;
    align-items: start;
}

.notice-main {
    min-height: 500px;
}

.notice-filters {
    background: white;
    padding: 20px;
    border-radius: var(--card-radius);
    box-shadow: var(--news-card-shadow);
    margin-bottom: 30px;
}

.filter-group {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: white;
    min-width: 150px;
}

.search-box {
    display: flex;
    flex: 1;
    min-width: 200px;
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    border-right: none;
}

.search-box button {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.notices-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.notice-item {
    background: white;
    padding: 25px;
    border-radius: var(--card-radius);
    box-shadow: var(--news-card-shadow);
    border-left: 4px solid #ddd;
    transition: var(--transition);
    position: relative;
}

.notice-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--news-card-hover-shadow);
}

.notice-item.pinned {
    border-left-color: var(--secondary-color-deep);
    background: linear-gradient(135deg, #fff9e6 0%, white 100%);
}

.notice-item.urgent {
    border-left-color: #e74c3c;
    background: linear-gradient(135deg, #ffe6e6 0%, white 100%);
}

.pin-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color-deep);
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: 500;
}

.notice-header {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.notice-category {
    background: var(--primary-glass);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.notice-priority {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
}

.priority-low { background: #27ae60; }
.priority-normal { background: #3498db; }
.priority-high { background: #f39c12; }
.priority-urgent { background: #e74c3c; }

.notice-expired {
    background: #95a5a6;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.notice-title {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
}

.notice-title a {
    color: var(--text-color-deep);
    text-decoration: none;
}

.notice-title a:hover {
    color: var(--primary-color);
}

.notice-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    color: var(--text-color-light);
    font-size: 0.9rem;
}

.notice-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.notice-excerpt {
    color: var(--text-color-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.notice-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.download-btn {
    background: var(--secondary-btn-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.download-btn:hover {
    background: var(--footer-bg);
    color: white;
}

/* Sidebar Styles */
.notice-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-widget {
    background: white;
    padding: 20px;
    border-radius: var(--card-radius);
    box-shadow: var(--news-card-shadow);
    margin-bottom: 25px;
}

.widget-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-color-deep);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pinned-list,
.recent-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pinned-item,
.recent-item {
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.pinned-item:last-child,
.recent-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pinned-item h4,
.recent-item h4 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
}

.pinned-item h4 a,
.recent-item h4 a {
    color: var(--text-color-deep);
    text-decoration: none;
}

.pinned-item h4 a:hover,
.recent-item h4 a:hover {
    color: var(--primary-color);
}

.notice-date {
    color: var(--text-color-light);
    font-size: 0.8rem;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color-deep);
    transition: var(--transition);
}

.category-item:hover,
.category-item.active {
    background: var(--primary-color);
    color: white;
}

.category-count {
    background: white;
    color: var(--text-color-deep);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

.category-item.active .category-count {
    background: var(--primary-color-deep);
    color: white;
}

/* Notice Detail Styles */
.notice-detail-layout {
    display: grid;
    /* grid-template-columns: 1fr 300px; */
    gap: 40px;
    align-items: start;
}

.notice-detail-main {
    background: white;
    padding: 30px;
    border-radius: var(--card-radius);
    box-shadow: var(--news-card-shadow);
}

.notice-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.notice-meta-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.notice-detail-meta {
    display: flex;
    gap: 20px;
    color: var(--text-color-light);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.notice-detail-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.notice-detail-content {
    line-height: 1.8;
    margin-bottom: 30px;
}

.notice-detail-content p {
    margin-bottom: 15px;
}

.notice-attachment {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--card-radius);
    margin-bottom: 30px;
}

.attachment-file {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-top: 15px;
}

.file-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.file-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.file-extension {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 500;
}

.file-info h4 {
    margin: 0 0 10px 0;
    font-size: 1rem;
}

.notice-detail-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.action-buttons {
    display: flex;
    gap: 10px;
}
.btn-secondary:hover {
    background: #5a6268;
}

/* Related Notices */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.related-item {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
}

.related-item h4 {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
}

.related-item h4 a {
    color: var(--text-color-deep);
    text-decoration: none;
}

.related-item h4 a:hover {
    color: var(--primary-color);
}

.notice-priority-small {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
    color: white;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color-deep);
    transition: var(--transition);
}

.quick-link:hover {
    background: var(--primary-color);
    color: white;
}

/* No Notices State */
.no-notices {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-color-light);
}

.no-notices i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #ddd;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .notice-layout,
    .notice-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .notice-sidebar,
    .notice-detail-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group select,
    .search-box {
        min-width: auto;
    }
    
    .notice-detail-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .notice-detail-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .action-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .notice-item {
        padding: 20px;
    }
    
    .notice-header {
        flex-direction: column;
        align-items: start;
        gap: 8px;
    }
    
    .notice-actions {
        flex-direction: column;
        align-items: stretch;
    }
}






/* Rating System Styles */
.rating-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.07);
    padding: 30px;
    margin: 40px 0;
    width: 61%;
}

.rating-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.rating-stats {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    display: none;
}

.overall-rating {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dee2e6;
}

.rating-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.rating-stars {
    margin: 10px 0;
}

.total-ratings {
    color: var(--text-color-light);
    font-size: 0.9rem;
}

.rating-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.rating-bar .stars {
    min-width: 50px;
    color: var(--text-color-light);
}

.bar-container {
    flex: 1;
    background: #e9ecef;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 1s ease-in-out;
}

.rating-bar .count {
    min-width: 30px;
    text-align: right;
    color: var(--text-color-light);
}

.rating-user-section {
    display: flex;
    flex-direction: column;
}

.user-rating-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
}

.star-rating-input {
    margin-bottom: 20px;
}

.star-rating-input .stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.star-rating-input input[type="radio"] {
    display: none;
}

.star-rating-input label {
    cursor: pointer;
    font-size: 2rem;
    color: #e4e5e9;
    transition: color 0.2s;
}

.star-rating-input input[type="radio"]:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
    color: #ffc107;
}

.star-rating-input input[type="radio"]:checked + label {
    color: #ffc107;
}

.rating-text {
    margin-top: 10px;
    color: var(--text-color-light);
    font-style: italic;
}

.comment-section {
    margin-bottom: 20px;
}

.comment-section textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 12px;
    resize: vertical;
    min-height: 100px;
}

.char-count {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-color-light);
    margin-top: 5px;
}

.rating-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rating-notice {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.rating-notice a{
    color: var(--primary-color-deep);
}
.rating-notice i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.reviews-section {
    border-top: 1px solid #e9ecef;
    padding-top: 30px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.review-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 10px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.reviewer-details {
    display: flex;
    flex-direction: column;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-color-light);
}

.review-rating {
    display: flex;
    gap: 2px;
}

.review-comment {
    color: var(--text-color-deep);
    line-height: 1.5;
}

.no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-color-light);
}

.no-reviews i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ddd;
}

.reviews-footer {
    text-align: center;
}

.hero-rating {
    margin-top: 15px;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgb(0 255 129 / 40%);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.rating-stars-large {
    display: flex;
    gap: 2px;
}

.rating-stars-large i {
    font-size: 1.5rem;
}

.rating-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.rating-count {
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.training-rating-small {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 8px 0;
}

.training-rating-small i {
    font-size: 0.9rem;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rating-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .rating-stats {
        order: 2;
    }
    
    .rating-user-section {
        order: 1;
    }
    
    .review-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .rating-actions {
        flex-direction: column;
    }
    
    .rating-section {
        width: 100%;
    }
}
/* Existing Rating Styles */
.existing-rating {
    text-align: center;
    padding: 20px;
}

.rating-display-existing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.your-comment {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: 10px 0;
    text-align: left;
}

.your-comment p {
    margin: 0;
    font-style: italic;
    color: var(--text-color-deep);
}

.rating-notice-text {
    display: block;
    background: #fff3cd;
    color: #856404;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ffeaa7;
    margin: 10px 0;
    font-size: 0.9rem;
}

.rating-notice-text i {
    margin-right: 5px;
}

/* Disabled form state */
.rating-form.disabled {
    opacity: 0.6;
    pointer-events: none;
}






/* Training Filter Styles */
.training-filter {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
    flex-direction: column;
}

.filter-btn {
    padding: 10px 20px;
    background: #edf6ff;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color-deep);
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
}

.filter-btn:hover {
    background: #e9ecef;
    border-color: var(--primary-color-deep);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color:var(--primary-color-deep);
    color: white;
}

/* Training Badge Styles */
.training-card {
    position: relative;
}

.training-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    padding: 4px 20px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: bold;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-badge {
    background: linear-gradient(45deg, #ff0018, #e35d6a);
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3);
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: livepulse 2s infinite;
}

@keyframes livepulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.1;
    }
    100% {
        transform: scale(0.8);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .training-filter {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .training-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
}

.quiz-section form {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
    padding-bottom: 3rem;
}
.quiz-section form .btn{
        background: wheat;
}

.currency-selection .currency {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}
.currency-selection .currency label {
    background: #00807729;
    border-radius: 10px;
    width: 50%;
    padding: 10px;
    cursor: pointer;
}
.currency-selection .currency label:hover{
        background: #00807758;
}
.currency-selection .currency label input{
    width: 20px;
    height: 20px;
    margin: 0;
}

