/********** Template CSS **********/
:root {
    --primary: #7F53AC;    /* Rich purple */
    --primary-gradient: linear-gradient(45deg, #7F53AC 0%, #647DEE 100%);
    --secondary: #00B4DB;  /* Bright blue */
    --secondary-gradient: linear-gradient(45deg, #00B4DB 0%, #0083B0 100%);
    --accent: #FF6B6B;    /* Coral red */
    --accent-gradient: linear-gradient(45deg, #FF6B6B 0%, #FF8E53 100%);
    --success: #00B894;   /* Mint green */
    --success-gradient: linear-gradient(45deg, #00B894 0%, #00CEC9 100%);
    --warning: #FFA502;   /* Orange */
    --warning-gradient: linear-gradient(45deg, #FFA502 0%, #FF7675 100%);
    --info: #74B9FF;      /* Light blue */
    --info-gradient: linear-gradient(45deg, #74B9FF 0%, #0984E3 100%);
    --light: #F7F9FC;     /* Light blue-white */
    --dark: #2D3436;      /* Dark gray */
    --white: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(127, 83, 172, 0.2);
}

.btn-primary:hover {
    background: var(--primary-gradient);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 83, 172, 0.3);
}

.btn-secondary {
    background: var(--secondary-gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 180, 219, 0.2);
}

.btn-secondary:hover {
    background: var(--secondary-gradient);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 219, 0.3);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
}

.navbar.sticky-top {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
    background: var(--primary-gradient);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar .navbar-brand {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.navbar .navbar-brand img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

.navbar.sticky-top .navbar-brand img {
    height: 45px;
    filter: brightness(1.2) contrast(1.2);
}

.navbar .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar.sticky-top .navbar-nav .nav-link {
    color: var(--dark);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar {
        background: var(--primary-gradient);
    }
    
    .navbar .navbar-brand img {
        height: 40px;
        filter: brightness(1.2) contrast(1.2);
    }
}


/*** Carousel ***/
.container-fluid.position-relative.p-0 {
    position: relative;
    padding: 0 !important;
    overflow: hidden;
}

#header-carousel {
    position: relative;
    height: 100vh;
    min-height: 500px;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#header-carousel .carousel-inner {
    height: 100%;
}

#header-carousel .carousel-item {
    position: relative;
    height: 100vh;
    min-height: 500px;
    background: no-repeat center center scroll;
    background-size: cover;
}

#header-carousel .carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#header-carousel .carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

#header-carousel .carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    padding: 0 15px;
    z-index: 2;
}

#header-carousel .carousel-caption h5 {
    font-size: 18px;
    font-weight: 500 !important;
}

#header-carousel .carousel-caption h1 {
    font-size: 60px;
    font-weight: 600 !important;
}

@media (max-width: 576px) {
    #header-carousel .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    #header-carousel .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

#header-carousel .carousel-control-prev,
#header-carousel .carousel-control-next {
    width: 5%;
    z-index: 3;
}

#header-carousel .carousel-control-prev-icon,
#header-carousel .carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    background-size: 50%;
}

#header-carousel .carousel-control-prev-icon:hover,
#header-carousel .carousel-control-next-icon:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#header-carousel .carousel-indicators {
    z-index: 3;
}

#header-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

#header-carousel .carousel-indicators button.active {
    background-color: var(--primary);
    border-color: #fff;
    transform: scale(1.2);
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 4px;
    left: 0;
    bottom: 0;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: var(--white);
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: all 0.3s ease;
    background: var(--white);
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(127, 83, 172, 0.2);
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--gray-300);
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

/* Basic testimonial styles */
.testimonial-card {
    background-color: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 20px;
    text-align: center;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.testimonial-img {
    width: 200px;
    height: 200px;
    margin: 20px auto;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid #7F53AC;
    border-radius: 10px;
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #7F53AC 0%, #647DEE 100%);
    border: none;
    color: white;
    margin: 15px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn i {
    font-size: 1rem;
}

.testimonial-card audio {
    display: none;
}

/* Add spacing for the carousel */
.testimonial-carousel {
    padding: 0 20px;
}

/* Ensure proper text alignment */
.testimonial-card .p-4 {
    text-align: center;
    width: 100%;
}

/* New styles for testimonial with profile photos and audio */
.testimonial-item .border-bottom {
    border-color: rgba(127, 83, 172, 0.1) !important;
}

.testimonial-item img.rounded-circle {
    border: 3px solid var(--primary);
    transition: all 0.3s ease;
}

.testimonial-item:hover img.rounded-circle {
    border-color: var(--secondary);
    transform: scale(1.05);
}

.play-audio-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 4px 10px rgba(127, 83, 172, 0.3);
    transition: all 0.3s ease;
}

.play-audio-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(127, 83, 172, 0.4);
}

.play-audio-btn i {
    font-size: 0.8rem;
}

.testimonial-item audio {
    display: none;
}


/*** Team ***/
.team-item {
    transition: all 0.3s ease;
    background-color: var(--white);
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.team-img {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
    filter: brightness(1);
}

.team-item:hover .team-img img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    background: rgba(44, 52, 54, 0.5);
    opacity: 0;
}

.team-item:hover .team-social {
    opacity: 1;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
    background: var(--white);
    color: var(--primary);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-social a.btn:hover {
    background: var(--primary-gradient);
    color: var(--white);
    transform: translateY(-2px);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.text-center.py-4 {
    padding: 1.5rem;
    background: var(--white);
}

.text-center.py-4 h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.text-center.py-4 p {
    color: var(--gray-600);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background-color: var(--primary);
}

.back-to-top:hover {
    background-color: var(--secondary);
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
    color: var(--primary);
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}

/* Add these styles for the video background */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Add a fallback background for when video doesn't load */
.carousel-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(45, 52, 54, 0.7), rgba(45, 52, 54, 0.7)), var(--primary-gradient);
    z-index: 1;
}

/* Update background colors */
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.bg-dark {
    background-color: var(--dark) !important;
}

/* Update text colors */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-light {
    color: var(--light) !important;
}

.text-dark {
    color: var(--dark) !important;
}

/* Update button styles */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(127, 83, 172, 0.2);
}

.btn-primary:hover {
    background: var(--primary-gradient);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 83, 172, 0.3);
}

.btn-secondary {
    background: var(--secondary-gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 180, 219, 0.2);
}

.btn-secondary:hover {
    background: var(--secondary-gradient);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 219, 0.3);
}

/* Update service items with gradients */
.service-item {
    background: var(--white);
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-item .service-icon {
    background: var(--primary-gradient);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(127, 83, 172, 0.2);
}

/* Update team items with gradients */
.team-item {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.team-social a.btn {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-social a.btn:hover {
    background: var(--primary-gradient);
    color: var(--white);
    transform: translateY(-2px);
}

/* Update section titles with gradients */
.section-title::before {
    background: var(--primary-gradient);
    height: 4px;
    border-radius: 2px;
}

/* Update facts section with gradients */
.facts .bg-primary {
    background: var(--primary-gradient) !important;
}

.facts .bg-light {
    background: var(--white) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* Update testimonial items */
.testimonial-item {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Update blog items */
.blog-item {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Update footer */
.footer-about {
    background: var(--primary-gradient);
}

/* Update carousel overlay */
.carousel-item:before {
    background: linear-gradient(rgba(45, 52, 54, 0.7), rgba(45, 52, 54, 0.7)), var(--primary-gradient);
}

/* Add animated gradient backgrounds */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.bg-gradient-animated {
    background-size: 200% 200%;
    animation: gradient 15s ease infinite;
}

.footer-about .navbar-brand img {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(1.2) contrast(1.2);
}

@media (max-width: 991.98px) {
    .footer-about .navbar-brand img {
        height: 50px;
    }
}

.team-img {
    position: relative;
    overflow: hidden;
}
.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(34, 34, 34, 0.85);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2;
}
.team-img:hover .team-overlay,
.team-img:focus .team-overlay {
    opacity: 1;
}
.team-details {
    text-align: left;
    width: 100%;
}
.team-details h4,
.team-details p,
.team-details ul {
    color: #fff !important;
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1001;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.image-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    max-height: 80vh;
    object-fit: contain;
}

#modalImage {
    display: block;
    margin: auto;
    width: auto;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

.image-modal-content, 
#caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}

.close {
    position: absolute;
    top: 50px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
}

/* Responsive image modal */
@media only screen and (max-width: 700px){
    .image-modal-content {
        width: 100%;
    }
}

/* Audio Player Modal Styles */
.audio-player-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.audio-player-modal.show {
    transform: translateY(0);
}

.audio-player-content {
    max-width: 800px;
    margin: 0 auto;
}

.audio-info {
    margin-bottom: 10px;
}

.audio-name {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
}

.audio-role {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.progress-container {
    margin: 10px 0;
}

.progress {
    height: 4px;
    background: #eee;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: #007bff;
    border-radius: 2px;
    width: 0;
    transition: width 0.1s linear;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

.controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #007bff;
    border: none;
    color: white;
    cursor: pointer;
    transition: background-color 0.2s;
}

.play-btn:hover {
    background: #0056b3;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-range {
    width: 100px;
}

.btn-link {
    color: #666;
    padding: 5px;
}

.btn-link:hover {
    color: #333;
}

/* Review Popup Modal Styles */
.review-popup {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.review-popup-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: popupFadeIn 0.3s ease-out;
}

@keyframes popupFadeIn {
    from {opacity: 0; transform: translateY(-50px);}
    to {opacity: 1; transform: translateY(0);}
}

.close-popup {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1003;
}

.close-popup:hover,
.close-popup:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.review-popup-body {
    padding: 30px;
}

.review-popup-body h3 {
    margin-top: 0;
    color: var(--primary);
    text-align: center;
}

.review-popup-body p {
    text-align: center;
    color: #666;
    margin-bottom: 25px;
}

.review-stars {
    text-align: center;
    margin-bottom: 25px;
}

.star {
    font-size: 30px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star:hover,
.star.active {
    color: #ffc107;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(127, 83, 172, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.review-popup .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
}
