@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

body {
    font-family: "Nunito", sans-serif;
    background-color: #f4f6f9;
    padding-top: 0px;
    font-size: 15px;
}


h2 {
    text-align: center;
    margin-bottom: 30px;
}
.form-control, .input-group-text{
    min-height: 48px;
}
.form-group label {
    font-weight: bold;
    margin-bottom: 4px;
}

.form-control {
    margin-bottom: 5px;
    border-radius: 4px;
    font-size: 15px;
}
.formbox .btn{
    min-height: 48px;
}
.formbox .btn-primary{
    background: #092B58;
    border-color: #092B58;
}
.formbox{
    padding: 35px;
    border-radius: 20px;
    background: #ffffff1f;
}
/* button {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
} */

/* Success message styling */
#success-message {
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.error-message {
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #dc3545 !important;
    font-weight: 500;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Add padding and set maximum width for the container */

/* Adjust spacing between the cards */
.card {
    margin-top: 20px;
}

.list-group-item {
    cursor: pointer;
    margin-bottom: 10px;
}

.list-group-item:hover {
    background-color: #f8f9fa;
}

.card-body .btn {
    margin-right: 10px;
}

.dashboardNav .list-group-item{
    border: 0;
    margin-bottom: 1px;
    padding: 10px 20px;
    color: #ccc;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .5px;
    border-radius: 0;
    background: transparent;
    transition: all .3s;
}
.dashboardNav .list-group-item.active {
    background-color: #323232;
    color: #ffffff;
}
.dashboardNav .list-group-item i{
    min-width: 22px;
    opacity: .6;
}
.hero-section {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect width="1920" height="1080" fill="%23141414"/></svg>');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: 80px 0 50px;
}
.hero-section .container{
    position: relative;
    z-index: 9
}
.formbox .form-control{
    border-radius: 0;
}
.formbox .input-group-text{
    border-radius: 0;
    background: #fff;
    border: 0;
}
.formbox .btn{
    border-radius: 0;
}
.text-danger{
    color: #cc0c0c !important;
}
.btn-danger{
    background: #cc0c0c !important;
    border-color: #cc0c0c !important;
}
/* Animated movie posters background */
.movie-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 10px;
    padding: 20px;
    z-index: 1;
    opacity: 0.6;
}

.movie-poster {
    background: linear-gradient(45deg, #cc0c0c, #f40612);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.movie-poster:nth-child(odd) {
    animation-delay: -2s;
}

.movie-poster:nth-child(3n) {
    animation-delay: -4s;
}

.movie-poster::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(229, 9, 20, 0.8) 0%,
        rgba(139, 69, 19, 0.6) 25%,
        rgba(25, 25, 112, 0.7) 50%,
        rgba(139, 0, 139, 0.6) 75%,
        rgba(220, 20, 60, 0.8) 100%
    );
    opacity: 0.9;
}

.movie-poster::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 0.5;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.6; }
    50% { transform: translateY(-10px) scale(1.02); opacity: 0.8; }
}

/* Generate multiple movie poster variations */
.movie-poster:nth-child(1) { background: linear-gradient(45deg, #ff6b6b, #ee5a52); }
.movie-poster:nth-child(2) { background: linear-gradient(45deg, #4ecdc4, #44a08d); }
.movie-poster:nth-child(3) { background: linear-gradient(45deg, #45b7d1, #96c93d); }
.movie-poster:nth-child(4) { background: linear-gradient(45deg, #f093fb, #f5576c); }
.movie-poster:nth-child(5) { background: linear-gradient(45deg, #4facfe, #00f2fe); }
.movie-poster:nth-child(6) { background: linear-gradient(45deg, #43e97b, #38f9d7); }
.movie-poster:nth-child(7) { background: linear-gradient(45deg, #fa709a, #fee140); }
.movie-poster:nth-child(8) { background: linear-gradient(45deg, #30cfd0, #91a7ff); }
.movie-poster:nth-child(9) { background: linear-gradient(45deg, #a8edea, #fed6e3); }
.movie-poster:nth-child(10) { background: linear-gradient(45deg, #ff9a9e, #fecfef); }

/* Navbar */
.navbar {
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 10%, transparent);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
}

.navbar-brand {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff !important;
    text-decoration: none;
}

.btn-signin {
    background: #cc0c0c;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-signup{
    background:transparent;
    color: #fff;
    border:1px solid #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-signup:hover{
    background: #f40612;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.3);
}
.btn-signin:hover {
    background: #f40612;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(229, 9, 20, 0.3);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 100;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    margin: auto;
    color: #fff;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.8);
    animation: fadeInUp 1s ease 0.9s both;
}

/* Email Form */
.email-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 0;
    animation: fadeInUp 1s ease 1.1s both;
}

.email-input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid #333;
    border-right: none;
    border-radius: 40px 0 0 40px;
    background: rgba(22, 22, 22, 0.7);
    color: white;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.email-input:focus {
    outline: none;
    border-color: #cc0c0c;
    background: rgba(22, 22, 22, 0.9);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.2);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.btn-get-started {
    background: #cc0c0c;
    color: white;
    border: 2px solid #cc0c0c;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 0 40px 40px 0;
    white-space: nowrap;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 200px;
}

.btn-get-started::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.btn-get-started:hover::before {
    left: 100%;
}

.btn-get-started:hover {
    background: #f40612;
    border-color: #f40612;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .email-form {
        flex-direction: column;
        gap: 1rem;
    }

    .email-input {
        border-radius: 6px;
        border-right: 2px solid #333;
    }

    .btn-get-started {
        border-radius: 6px;
    }

    .movie-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(8, 1fr);
    }

    .navbar-brand {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .movie-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(10, 1fr);
    }
}

/* Additional styling for better visual appeal */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:radial-gradient(circle at 20% 80%, #71fffe33 0%, transparent 50%), radial-gradient(circle at 80% 20%, #53c7ff33 0%, transparent 50%), linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 2;
}
header{
    position: relative;
    z-index: 99;
    border-bottom: 1px solid #333;
}
.navbar-menu{
    width: 250px;
    position: fixed;
    background-color: #000;
    height: 100%;
    left: 0;
    top: 0;
    padding-top: 65px;
}
.main-content{
    margin-left: 250px;
}
.profile-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}
.dropdown-toggle::after {
    display: none;
}
.userdropdown .dropdown-toggle{
    color: #fff;
    font-size: 14px;
}
.sermonstable .btn{
    min-height: auto;
}
.sermonstable .btn.btn-sm{
    font-size: 13px;
}
.sermonstable{
    font-size: 14px;
}
.min-w-50{
    min-width: 50px;
}
.pagination .page-link{
    color: #000;
}
.pagination .active .page-link{
    background: #333;
    color: #fff;
    border-color: #333;
}
/* .sermonstable thead th {
        padding-top: 14px;
    padding-bottom: 14px;
} */
.sermonstable thead th {
    padding: 15px;
}
.sermonstable tbody td {
    padding-left: 15px;
}
.listsearch {
    position: relative;
}
.listsearch .form-control{
    height: 40px;
    min-height: 40px;
    border-radius: 5px 0 0 5px;
}
.listsearch .btn{
    background-color: #000;
    height: 40px;
    min-height: 40px; 
    color: #fff;
    border-radius: 0 5px 5px 0;
}
.sermnTabs .nav-pills .nav-link{
    background-color: #666;
    color: #fff;
}
.sermnTabs .nav-pills .nav-link.active{
    background: #000;
}
.sermnTabs .nav-item{
    margin-right: 5px;
    margin-bottom: 5px;
}
@media (max-width: 768px) {
    .col-md-3, .col-md-9 {
        margin-bottom: 20px;
    }

    .card-body .btn {
        width: 100%;
        margin-top: 10px;
    }
}