/**
 * Learning & Teaching Management System
 * Custom Styles - Merged with Homepage Styles
 */

/* Global Styles - ThemeWagon eLearning Template */
:root {
    --primary: #06BBCC;
    --light: #F0FBFC;
    --dark: #181d38;
    --primary-color: #06BBCC;
    --secondary-color: #764ba2;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #F0FBFC;
    --dark-color: #181d38;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* ==================== Homepage Specific Styles ==================== */

/* Modern Hero Section */
.hero-section-modern {
    position: relative;
}

.hero-section-modern .owl-carousel-item {
    height: 650px;
}

.hero-section-modern .owl-carousel-item img {
    height: 650px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .hero-section-modern .owl-carousel-item {
        height: 500px;
    }
    
    .hero-section-modern .owl-carousel-item img {
        height: 500px;
    }
}

/* Service Items for Statistics - ThemeWagon Template */
.stat-card-modern {
    background: var(--light);
    transition: .5s;
    text-align: center;
    padding: 20px 25px;
    border-radius: 0;
}

.stat-card-modern:hover {
    margin-top: -10px;
    background: var(--primary);
}

.stat-card-modern * {
    transition: .5s;
}

.stat-card-modern:hover * {
    color: var(--light) !important;
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 2rem;
}

.stat-card-modern:hover .stat-icon {
    color: var(--light);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 500;
    margin: 0;
}

/* Course/Subject Items - ThemeWagon Template */
.course-item,
.subject-card {
    background: var(--light);
    border-radius: 0;
    overflow: hidden;
    transition: .5s;
}

.course-item img,
.subject-card img {
    transition: .5s;
}

.course-item:hover img,
.subject-card:hover img {
    transform: scale(1.1);
}

.course-item {
    border-radius: 0;
}

/* Improved Section Spacing */
.container-xxl.py-5 {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* Improved Typography */
.display-3 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
}

.fw-semibold {
    font-weight: 600;
}

/* Modern Button Styles */
.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* Improved Card Hover Effects */
.rounded-3 {
    border-radius: 1rem;
}

.rounded-top-3 {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

/* Modern Scroll Animations */
.wow {
    visibility: hidden;
}

.wow.animated {
    visibility: visible;
}

/* Service Items - ThemeWagon Template */
.service-item {
    background: var(--light);
    transition: .5s;
    border-radius: 0;
    padding: 20px 25px;
}

.service-item:hover {
    margin-top: -10px;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}

/* Enhanced Notice Cards */
.notice-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    border-left: 5px solid #667eea;
    transition: all 0.3s ease;
}

.notice-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Enhanced Vacancy Cards */
.vacancy-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    border-left: 5px solid #28a745;
    transition: transform 0.3s, box-shadow 0.3s;
}

.vacancy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Team Items - ThemeWagon Template */
.team-item {
    background: var(--light);
    border-radius: 0;
    overflow: hidden;
    transition: .5s;
}

.team-item img {
    transition: .5s;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin: 20px auto;
    display: block;
}

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

/* Enhanced Blog Cards */
.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.blog-card img {
    transition: transform 0.5s ease;
}

.blog-card:hover img {
    transform: scale(1.1);
}

/* Enhanced Video Cards */
.video-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.4);
}

/* Floating Animation for Decorative Elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes floatSlow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

/* Pulse Animation for Call-to-Action */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7); }
    50% { box-shadow: 0 0 0 15px rgba(102, 126, 234, 0); }
}

.btn-pulse:hover {
    animation: pulse-glow 1.5s infinite;
}

/* Gradient Text Animation */
@keyframes gradient-text {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-text-animated {
    background: linear-gradient(270deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-text 3s linear infinite;
}

/* Ripple Effect on Buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Smooth Section Transitions */
section {
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(102, 126, 234, 0.03) 50%, transparent 100%);
    pointer-events: none;
}

/* Loading Skeleton Animation */
@keyframes skeleton-loading {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: skeleton-loading 1.5s infinite;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-section .carousel {
    position: relative;
}

.hero-section .carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-section .carousel-item img {
    height: 600px;
    object-fit: cover;
    width: 100%;
}

.hero-section .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
    z-index: 1;
}

.hero-section .carousel-caption {
    position: relative;
    z-index: 2;
    bottom: 30%;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-section .carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-section .carousel-caption .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.hero-section .carousel-caption .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
    opacity: 1;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

.hero-section .carousel-indicators {
    bottom: 20px;
    z-index: 3;
}

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

.hero-section .carousel-indicators button.active {
    background: white;
    width: 30px;
    border-radius: 15px;
}

.hero-section .carousel {
    position: relative;
}

.hero-section .carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-section .carousel-item img {
    height: 600px;
    object-fit: cover;
    width: 100%;
}

.hero-section .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
    z-index: 1;
}

.hero-section .carousel-caption {
    position: relative;
    z-index: 2;
    bottom: 30%;
    background: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-section .carousel-caption h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .carousel-caption p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-section .carousel-caption .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.hero-section .carousel-caption .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
    opacity: 1;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

.hero-section .carousel-indicators {
    bottom: 20px;
    z-index: 3;
}

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

.hero-section .carousel-indicators button.active {
    background: white;
    width: 30px;
    border-radius: 15px;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section .carousel-item {
        height: 400px;
    }
    
    .hero-section .carousel-item img {
        height: 400px;
    }
    
    .hero-section .carousel-caption {
        bottom: 20%;
        padding: 20px;
    }
    
    .hero-section .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .hero-section .carousel-caption p {
        font-size: 1rem;
    }
    
    .hero-section .carousel-caption .btn {
        padding: 10px 20px;
        font-size: 1rem;
        margin: 5px;
    }
}

/* Admin Slideshow Preview Styles */
#slideshowPreview {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#slideshowPreview .carousel-item {
    height: 400px;
    position: relative;
}

#slideshowPreview .carousel-item img {
    height: 400px;
    object-fit: cover;
    width: 100%;
}

#slideshowPreview .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    z-index: 1;
}

#slideshowPreview .carousel-caption {
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    bottom: 20px;
}

#slideshowPreview .carousel-caption h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

#slideshowPreview .carousel-caption p {
    font-size: 1rem;
    margin-bottom: 0;
}

#slideshowPreview .carousel-control-prev,
#slideshowPreview .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

#slideshowPreview .carousel-control-prev:hover,
#slideshowPreview .carousel-control-next:hover {
    background: rgba(255, 255, 255, 1);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

#slideshowPreview .carousel-control-prev-icon,
#slideshowPreview .carousel-control-next-icon {
    width: 25px;
    height: 25px;
}

#slideshowPreview .carousel-indicators {
    bottom: 10px;
    z-index: 3;
}

#slideshowPreview .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 3px;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid white;
    transition: all 0.3s ease;
}

#slideshowPreview .carousel-indicators button.active {
    background: white;
    width: 25px;
    border-radius: 12px;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.feature-icon-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.feature-icon-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.feature-icon-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: white;
}

.feature-icon-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
}

/* Notice and Vacancy Cards */
.notice-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

.vacancy-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 15px;
    border-left: 4px solid #28a745;
    transition: transform 0.3s, box-shadow 0.3s;
}

.vacancy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Navigation Styles - Exact ThemeWagon Template */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

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

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .dropdown-menu.fade-down {
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 0;
}

.footer-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}

/* Birthday Cards */
.birthday-card {
    background: white;
    border-radius: 15px;
    padding: 25px 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.birthday-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.birthday-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.birthday-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.birthday-badge .badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Footer Gallery Styles */
.footer .gallery img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 4px;
}

.footer .gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Professional Testimonial Section Styles */
.testimonial-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 80px 0;
    position: relative;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 48px;
    color: #2a5298;
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
    font-weight: bold;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2a5298;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.2);
    transition: all 0.3s ease;
}

.testimonial-avatar img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.05);
}

.testimonial-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.testimonial-profession {
    color: #2a5298;
    font-weight: 500;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.testimonial-content {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    position: relative;
    z-index: 1;
    max-height: 100px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.testimonial-rating {
    color: #ffc107;
    margin-top: 15px;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.section-title-animated {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.testimonial-carousel .owl-item {
    padding: 15px;
}

.testimonial-carousel .owl-nav {
    margin-top: 25px;
}

.testimonial-carousel .owl-prev,
.testimonial-carousel .owl-next {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2a5298;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-carousel .owl-prev:hover,
.testimonial-carousel .owl-next:hover {
    background: #2a5298;
    color: white;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .testimonial-section {
        padding: 50px 0;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
    }
    
    .section-title-animated {
        font-size: 1.8rem;
    }
}

/* Birthday Wishes Specific Styles */
.birthday-wishes-section {
    background: linear-gradient(135deg, #fff5f7 0%, #ffeef2 100%) !important;
}

.birthday-wishes-section .section-title-animated {
    color: #ff6b9d !important;
}

.birthday-wishes-section .text-white-50 {
    color: #666 !important;
}

.birthday-wish-card {
    position: relative;
}

.birthday-wishes-section .testimonial-name {
    color: #ff6b9d;
}

.birthday-wishes-section .testimonial-profession {
    color: #ff4777;
}

.avatar-placeholder-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4777 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto;
}

.wish-sender {
    color: #666;
    font-size: 0.9rem;
    margin-top: 10px;
}

.wish-date {
    margin-top: 5px;
}

.birthday-wish-card .wish-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.birthday-wish-card .comment-form-container {
    margin-top: 15px;
}

.birthday-wish-card .comments-list {
    margin-top: 10px;
}

.birthday-wish-card .comment-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

/* Refresh button spinning animation */
.fa-spin {
    animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Notices Page Specific Styles */
.notices-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.notices-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.notices-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.notices-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    min-height: 60vh;
}

.enhanced-notice-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: none;
    position: relative;
    overflow: hidden;
}

.enhanced-notice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.enhanced-notice-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
}

.notice-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.notice-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.notice-badge-high {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
}

.notice-badge-medium {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: white;
}

.notice-badge-low {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.notice-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.notice-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.notice-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

.notice-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.9rem;
}

.notice-meta-item i {
    color: #667eea;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.empty-state-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 3rem;
    color: #667eea;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
}

/* Job Application Page Styles */
body.application-page {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 40px 0;
}

.application-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.vacancy-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid #28a745;
}

.application-page .form-label {
    font-weight: 600;
    color: #333;
}

.application-page .form-control,
.application-page .form-select {
    border-radius: 10px;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.application-page .form-control:focus,
.application-page .form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 10px;
    padding: 15px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.application-page .alert {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.required-field {
    color: #dc3545;
}

@media (max-width: 768px) {
    .application-container {
        padding: 30px 20px;
    }
    body.application-page {
        padding: 20px 0;
    }
}

/* Login Page Styles */
body.login-page {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    animation: fadeInUp 0.6s ease-out;
}

.login-form {
    padding: 80px 50px;
    background: white;
}

.login-page .form-control {
    border-radius: 12px;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-page .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
}

.login-page .input-group-text {
    border-radius: 12px 0 0 12px;
    border: 2px solid #e9ecef;
    border-right: none;
    background: #f8f9fa;
    color: var(--primary-color);
}

.login-page .input-group .form-control {
    border-radius: 0 12px 12px 0;
    border-left: none;
}

.login-page .input-group:focus-within .input-group-text {
    border-color: var(--primary-color);
    background: white;
}

.btn-login {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.login-page .form-check-input {
    border-radius: 6px;
    border: 2px solid #e9ecef;
}

.login-page .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.login-page .alert {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.demo-credentials {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--secondary-color);
}

@media (max-width: 576px) {
    body.login-page {
        padding: 10px 0;
    }
    .login-form {
        padding: 40px 20px;
    }
}

/* Enhanced Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 60px 0 0 0;
    position: relative;
    overflow: hidden;
    margin: 40px 0 0 0;
    width: 100%;
}

.footer .container-fluid {
    padding: 0;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #667eea);
    background-size: 200% auto;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.footer h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.footer .btn-link {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    padding-left: 0;
    font-size: 0.95rem;
}

.footer .btn-link:hover {
    color: #667eea;
    padding-left: 10px;
    transform: translateX(5px);
}

.footer .btn-link::before {
    content: '›';
    margin-right: 8px;
    color: #667eea;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer .btn-link:hover::before {
    opacity: 1;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer p i {
    color: #667eea;
    width: 25px;
    text-align: center;
}

.footer .btn-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: transparent;
}

.footer .btn-social:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.footer .btn-social i {
    color: white;
    font-size: 1rem;
}

.footer .gallery .col-6 {
    padding: 4px;
}

.footer .gallery img {
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer .gallery img:hover {
    border-color: #667eea;
}

.footer .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 25px;
    padding: 12px 20px;
}

.footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #667eea;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.footer .btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.footer .copyright {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .copyright a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .copyright a:hover {
    color: #667eea;
}

.footer .footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer .footer-menu a:hover {
    color: #667eea;
}

.footer .footer-menu a:first-child {
    margin-left: 0;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.back-to-top i {
    font-size: 1.2rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0 0;
        margin-top: 20px;
    }
    
    .footer h4 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .footer .btn-social {
        width: 35px;
        height: 35px;
        margin-right: 8px;
    }
    
    .footer .gallery img {
        height: 80px;
    }
    
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 45px;
        height: 45px;
    }
    
    .footer .footer-menu a {
        margin-left: 15px;
        font-size: 0.85rem;
    }
    
    .footer .copyright {
        margin-top: 40px;
    }
    
    .footer .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

.footer .gallery .col-6 {
    padding: 4px;
}

/* Full Width Footer */
.footer .container {
    max-width: 1140px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Lightbox Modal Styles */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--primary);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    cursor: pointer;
    z-index: 10000;
    padding: 20px;
    transition: color 0.3s ease;
    user-select: none;
}

.lightbox-nav:hover {
    color: var(--primary);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Responsive adjustments for milestone numbers */
@media (max-width: 768px) {
    .milestone-number {
        font-size: 2.8rem;
    }
    
    .footer .gallery img {
        height: 80px;
    }
}

@media (max-width: 576px) {
    .milestone-number {
        font-size: 2.2rem;
    }
    
    .footer .gallery img {
        height: 70px;
    }
}



/* Birthday Wish Cards - Enhanced */
.wish-card {
    background: linear-gradient(135deg, #fff5f7 0%, #fff 50%, #ffeef2 100%);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.2), 0 0 0 8px rgba(255, 107, 157, 0.1), 0 0 0 12px rgba(255, 107, 157, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 107, 157, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 193, 7, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 157, 0.03) 0%, transparent 70%);
    background-clip: padding-box;
}

.wish-card::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #ff6b9d, #ffc107, #ff6b9d, #ff4777, #ffc107, #ff6b9d);
    background-size: 400% 400%;
    border-radius: 32px;
    z-index: -1;
    animation: gradientBorder 3s ease infinite;
}

@keyframes gradientBorder {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.wish-card .emoji-cake {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 3rem;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
    pointer-events: none;
}

.wish-card .emoji-balloon {
    position: absolute;
    bottom: -10px;
    left: -10px;
    font-size: 2.5rem;
    opacity: 0.3;
    animation: floatReverse 4s ease-in-out infinite;
    pointer-events: none;
}

.wish-card .confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ff6b9d;
    border-radius: 50%;
    animation: confettiFall 3s linear infinite;
}

.wish-card .confetti:nth-child(1) { top: 0; left: 20%; animation-delay: 0s; background: #ff6b9d; }
.wish-card .confetti:nth-child(2) { top: 0; left: 40%; animation-delay: 0.5s; background: #ffc107; }
.wish-card .confetti:nth-child(3) { top: 0; left: 60%; animation-delay: 1s; background: #ff6b9d; }
.wish-card .confetti:nth-child(4) { top: 0; left: 80%; animation-delay: 1.5s; background: #ffc107; }

.wish-card .sparkle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff, 0 0 20px #ffc107, 0 0 30px #ff6b9d;
    animation: sparkle 2s ease-in-out infinite;
}

.wish-card .sparkle:nth-child(5) { top: 15%; left: 10%; animation-delay: 0s; }
.wish-card .sparkle:nth-child(6) { top: 25%; right: 15%; animation-delay: 0.3s; }
.wish-card .sparkle:nth-child(7) { bottom: 30%; left: 20%; animation-delay: 0.6s; }
.wish-card .sparkle:nth-child(8) { bottom: 20%; right: 10%; animation-delay: 0.9s; }
.wish-card .sparkle:nth-child(9) { top: 50%; left: 5%; animation-delay: 1.2s; }
.wish-card .sparkle:nth-child(10) { top: 60%; right: 5%; animation-delay: 1.5s; }

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes confettiFall {
    0% { transform: translateY(-10px) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100%) rotate(360deg); opacity: 0; }
}

.tika-candle {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    cursor: pointer;
}

.tika-mark {
    position: absolute;
    top: 55px;
    left: 20px;
    width: 18px;
    height: 18px;
    background: radial-gradient(circle, #ff0000 0%, #cc0000 70%, #990000 100%);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.6);
    animation: tikaGlow 2s ease-in-out infinite;
}

.candle-flame {
    width: 25px;
    height: 35px;
    background: linear-gradient(to top, #ff6b35, #ff9500, #ffcc00);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flicker 0.5s ease-in-out infinite alternate;
    box-shadow: 0 0 25px #ff9500, 0 0 50px #ff6b35, 0 0 75px #ffcc00;
}

.candle-body {
    width: 15px;
    height: 30px;
    background: linear-gradient(to bottom, #ff6b6b, #ee5a5a);
    margin: 0 auto;
    border-radius: 3px;
    position: relative;
}

.candle-wick {
    width: 3px;
    height: 10px;
    background: #333;
    margin: 0 auto;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes flicker {
    0%, 100% { 
        transform: scale(1) rotate(-2deg); 
        opacity: 1;
    }
    25% { 
        transform: scale(1.1) rotate(2deg); 
        opacity: 0.9;
    }
    50% { 
        transform: scale(0.9) rotate(-1deg); 
        opacity: 1;
    }
    75% { 
        transform: scale(1.05) rotate(1deg); 
        opacity: 0.95;
    }
}

@keyframes flickerIntense {
    0%, 100% { 
        transform: scale(1.2) rotate(-3deg); 
        opacity: 1;
    }
    25% { 
        transform: scale(1.3) rotate(3deg); 
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.1) rotate(-2deg); 
        opacity: 1;
    }
    75% { 
        transform: scale(1.25) rotate(2deg); 
        opacity: 0.9;
    }
}

@keyframes tikaGlow {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
        transform: scale(1.1);
    }
}

@keyframes tikaGlowIntense {
    0%, 100% { 
        box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
        transform: scale(1.2);
    }
    50% { 
        box-shadow: 0 0 50px rgba(255, 0, 0, 1);
        transform: scale(1.3);
    }
}

.wish-card:hover {
    transform: translateY(-12px) scale(1.03) rotate(1deg);
    box-shadow: 0 25px 60px rgba(255, 107, 157, 0.4), 0 0 0 12px rgba(255, 107, 157, 0.2), 0 0 0 18px rgba(255, 107, 157, 0.1);
    border-color: #ff4777;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 107, 157, 0.05) 0%, transparent 70%);
}

.wish-card:hover .candle-flame {
    animation: flickerIntense 0.2s ease-in-out infinite alternate;
    box-shadow: 0 0 40px #ff9500, 0 0 80px #ff6b35, 0 0 120px #ffcc00;
}

.wish-card:hover .tika-mark {
    animation: tikaGlowIntense 0.5s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(255, 0, 0, 1);
}

.wish-header {
    text-align: center;
    margin-bottom: 20px;
}

.wish-header h6 {
    color: #ff6b9d;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.wish-header small {
    color: #666;
    font-size: 0.9rem;
}

.wish-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 4px solid transparent;
    position: relative;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4777 100%);
    margin: 0 auto 25px auto;
    flex-shrink: 0;
    box-shadow: 0 12px 35px rgba(255, 107, 157, 0.5);
    animation: pulse 2s ease-in-out infinite;
    position: relative;
}

.wish-avatar::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 3px dashed #ff4777;
    animation: spin 10s linear infinite;
}

.wish-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoom 3s ease-in-out infinite alternate;
    border-radius: 50%;
}

.wish-avatar-container {
    position: relative;
    display: inline-block;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 12px 35px rgba(255, 107, 157, 0.6); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.wish-body {
    background: linear-gradient(135deg, #fff0f3 0%, #ffeef2 100%);
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 20px;
    border: 2px dashed #ff6b9d;
    position: relative;
}

.wish-body::before {
    content: '🎉';
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 1.5rem;
    background: white;
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wish-footer {
    border-top: 2px dashed #ffcce0;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wish-message {
    font-style: italic;
    color: #333;
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 500;
}

.wish-from {
    color: #ff6b9d;
    font-weight: 600;
    font-size: 0.9rem;
}

.birthday-section-title {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff4777 50%, #ff6b9d 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    animation: gradientMove 3s ease-in-out infinite;
    letter-spacing: 1px;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.birthday-emoji {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.birthday-emoji:first-child {
    animation-delay: 0s;
}

.birthday-emoji:last-child {
    animation-delay: 0.5s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-10deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(10deg); }
}

.birthday-subtitle {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Blog Posts Section */
.blog-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.blog-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.blog-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-author-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.blog-author-name {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.blog-date {
    font-size: 0.85rem;
    color: #999;
}

.blog-featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.blog-section-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0px) rotate(-15deg); }
    50% { transform: translateY(-10px) rotate(-15deg); }
}

.wish-card::before {
    animation: float 3s ease-in-out infinite;
}

.wish-card::after {
    animation: floatReverse 4s ease-in-out infinite;
}

/* Video Gallery Section */
.video-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0;
    color: white;
}

.video-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.video-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.video-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.video-section-title {
    color: white;
    font-weight: 700;
}

/* About Page Specific Styles */
.about-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* Mission & Vision Cards */
.mission-vision-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.mission-vision-card:hover::before {
    transform: scaleX(1);
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.1);
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.mission-vision-card:hover .icon-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    transform: scale(1.1);
}

.mission-vision-card:hover .icon-circle i {
    color: white;
}

.icon-circle i {
    color: #667eea;
    transition: color 0.3s ease;
}

.mission-vision-card .card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.mission-vision-card .card-text {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .mission-vision-card {
        padding: 30px 20px;
    }
    
    .icon-circle {
        width: 70px;
        height: 70px;
    }
    
    .mission-vision-card .card-title {
        font-size: 1.3rem;
    }
}

.team-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    margin: 0 auto 20px;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-social {
    margin-top: 15px;
}

.team-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: 0 5px;
    transition: transform 0.3s;
}

.team-social a:hover {
    transform: scale(1.1);
}

.milestone-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #667eea;
    margin-bottom: 10px;
    display: inline-block;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 4px rgba(102, 126, 234, 0.2);
    position: relative;
}

.milestone-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.milestone-number:hover {
    transform: scale(1.1);
    color: #764ba2;
    text-shadow: 2px 2px 8px rgba(118, 75, 162, 0.3);
}

.milestone-number:hover::after {
    width: 80%;
}

/* Contact Page Specific Styles */
.contact-card {
    background: white;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: none;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.info-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Services Page Specific Styles */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Blog Post Page Specific Styles */
.blog-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.blog-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: 30%;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.featured-image-container {
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-image-container i {
    font-size: 5rem;
    color: white;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.blog-meta-item i {
    color: #667eea;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content h2, .blog-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2d3436;
}

.category-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.related-post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.related-post-image {
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    padding: 20px;
}

.related-post-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.related-post-date {
    font-size: 0.85rem;
    color: #999;
}

/* Gallery Page Specific Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h5 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-overlay p {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

.video-wrapper {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
}

.video-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 25px;
    margin: 5px;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #667eea;
    color: white;
}

/* Downloads Page Specific Styles */
.download-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: none;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.download-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.download-content {
    text-align: center;
}

.download-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.download-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    min-height: 40px;
}

.download-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #999;
}

.download-btn {
    width: 100%;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
}

/* ==================== Admin/General Styles ==================== */

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
}

/* Button Styles */
.btn {
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    border: none;
}

/* Form Styles */
.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    font-weight: 500;
    color: #555;
}

/* Table Styles */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.table thead th {
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table tbody tr {
    transition: background-color 0.3s;
}

.table tbody tr:hover {
    background-color: #f8f9fa;
}

/* Badge Styles */
.badge {
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500;
}

.badge-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.badge-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.badge-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.badge-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

/* Alert Styles */
.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.alert-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    color: #856404;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    color: #0c5460;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-footer {
    border-radius: 0 0 15px 15px;
}

/* Dropdown Styles */
.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.dropdown-item {
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Pagination Styles */
.pagination {
    margin-top: 20px;
}

.page-link {
    border-radius: 8px;
    margin: 0 5px;
    color: var(--primary-color);
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.page-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: var(--primary-color);
}

/* Sidebar Styles (Mobile) */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0 !important;
    }
}

/* Stat Card Styles */
.stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.stat-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.stat-card .icon-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.stat-card .icon-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.stat-card .icon-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: white;
}

.stat-card .icon-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.stat-card .icon-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    color: white;
}

.stat-card .number {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-card .label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
}

/* Progress Bar Styles */
.progress {
    height: 10px;
    border-radius: 5px;
    background-color: #e9ecef;
}

.progress-bar {
    border-radius: 5px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Breadcrumb Styles */
.breadcrumb {
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

/* Avatar Styles */
.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.avatar-lg {
    width: 80px;
    height: 80px;
}

.avatar-sm {
    width: 30px;
    height: 30px;
}

/* Status Badge Styles */
.status-active {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.status-inactive {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.status-pending {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: white;
}

/* Print Styles */
@media print {
    .sidebar,
    .top-navbar,
    .btn,
    .no-print {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

/* Loading Spinner */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* File Upload Styles */
.file-upload {
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: border-color 0.3s, background-color 0.3s;
    cursor: pointer;
}

.file-upload:hover {
    border-color: var(--primary-color);
    background-color: #f8f9fa;
}

.file-upload.dragover {
    border-color: var(--primary-color);
    background-color: #e9ecef;
}

/* Search Box Styles */
.search-box {
    position: relative;
}

.search-box input {
    padding-left: 40px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* Tooltip Styles */
.tooltip-inner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 6px;
}

/* Calendar Styles */
.calendar-day {
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.calendar-day:hover {
    background-color: #e9ecef;
}

.calendar-day.today {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.calendar-day.selected {
    background-color: var(--success-color);
    color: white;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 10px;
}

.lang-switcher button {
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: white;
    transition: all 0.3s;
}

.lang-switcher button.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: var(--primary-color);
}

/* Responsive Tables */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

/* Header Carousel - Exact ThemeWagon Template */
.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
    z-index: 10;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Header Carousel Responsive Styles */
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .header-carousel .owl-carousel-item h1 {
        font-size: 2rem !important;
    }
    
    .header-carousel .owl-carousel-item h5 {
        font-size: 1rem !important;
    }
    
    .header-carousel .owl-carousel-item p {
        font-size: 0.9rem !important;
    }
    
    .header-carousel .owl-carousel-item .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .header-carousel .owl-nav {
        right: 5%;
    }
}

@media (max-width: 576px) {
    .header-carousel .owl-carousel-item {
        min-height: 400px;
    }
    
    .header-carousel .owl-carousel-item h1 {
        font-size: 1.5rem !important;
    }
    
    .header-carousel .owl-carousel-item h5 {
        font-size: 0.875rem !important;
    }
    
    .header-carousel .owl-carousel-item p {
        font-size: 0.8rem !important;
        display: none;
    }
    
    .header-carousel .owl-carousel-item .btn {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
    }
    
    .header-carousel .owl-nav {
        right: 3%;
    }
    
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

/* Section Title Responsive Styles */
@media (max-width: 576px) {
    .section-title::before {
        width: calc(100% + 40px);
        left: -20px;
    }
    
    .section-title::after {
        width: calc(100% + 60px);
        left: -30px;
    }
    
    .section-title.text-start::before {
        width: calc(100% + 30px);
        left: 0;
    }
    
    .section-title.text-start::after {
        width: calc(100% + 40px);
        left: 0;
    }
}

/* Service Items Responsive Styles */
@media (max-width: 768px) {
    .service-item {
        padding: 30px 20px;
    }
    
    .service-item i {
        font-size: 2.5rem !important;
    }
    
    .service-item h5 {
        font-size: 1.1rem !important;
    }
    
    .service-item p {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .service-item {
        padding: 25px 15px;
    }
    
    .service-item i {
        font-size: 2rem !important;
    }
    
    .service-item h5 {
        font-size: 1rem !important;
    }
    
    .service-item p {
        font-size: 0.85rem !important;
    }
}

/* Course/Subject Items Responsive Styles */
@media (max-width: 768px) {
    .course-item,
    .subject-card {
        margin-bottom: 20px;
    }
    
    .course-item h5,
    .subject-card h5 {
        font-size: 1.1rem !important;
    }
    
    .course-item p,
    .subject-card p {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .course-item h5,
    .subject-card h5 {
        font-size: 1rem !important;
    }
    
    .course-item p,
    .subject-card p {
        font-size: 0.85rem !important;
    }
    
    .course-item .btn,
    .subject-card .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
    }
}

/* Team Items Responsive Styles */
@media (max-width: 768px) {
    .team-item {
        margin-bottom: 20px;
    }
    
    .team-item h5 {
        font-size: 1.1rem !important;
    }
    
    .team-item p {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .team-item h5 {
        font-size: 1rem !important;
    }
    
    .team-item p {
        font-size: 0.85rem !important;
    }
    
    .team-item .btn {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.85rem !important;
    }
}

/* Testimonial Carousel Responsive Styles */
@media (max-width: 768px) {
    .testimonial-carousel .testimonial-text {
        padding: 20px !important;
    }
    
    .testimonial-carousel .testimonial-text h5 {
        font-size: 1rem !important;
    }
    
    .testimonial-carousel .testimonial-text p {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .testimonial-carousel .testimonial-text {
        padding: 15px !important;
    }
    
    .testimonial-carousel .testimonial-text h5 {
        font-size: 0.9rem !important;
    }
    
    .testimonial-carousel .testimonial-text p {
        font-size: 0.85rem !important;
    }
}

/* Footer Responsive Styles */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }
    
    .footer .col-lg-3 {
        margin-bottom: 30px;
    }
    
    .footer .btn-link {
        display: inline-block;
        margin: 5px 10px;
    }
    
    .footer .d-flex.pt-2 {
        justify-content: center;
    }
    
    .footer .copyright {
        text-align: center;
    }
    
    .footer .footer-menu {
        justify-content: center;
        margin-top: 10px;
        flex-wrap: wrap;
    }
    
    .footer .footer-menu a {
        margin: 5px 10px;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 30px 0 0 0;
        margin-top: 10px;
    }
    
    .footer .btn-link {
        margin: 3px 5px;
        font-size: 0.9rem;
    }
    
    .footer .position-relative.mx-auto {
        max-width: 100%;
    }
    
    .footer .btn-primary {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .footer .copyright {
        margin-top: 30px;
        padding: 20px 0;
    }
    
    .footer .container {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* General Typography Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }
    
    h2 {
        font-size: 1.75rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    h4 {
        font-size: 1.25rem !important;
    }
    
    h5 {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.25rem !important;
    }
    
    h4 {
        font-size: 1.1rem !important;
    }
    
    h5 {
        font-size: 1rem !important;
    }
    
    p {
        font-size: 0.9rem !important;
    }
}

/* Button Responsive Styles */
@media (max-width: 576px) {
    .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }
}

/* Container Responsive Adjustments */
@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .container-xxl {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Testimonial Carousel - ThemeWagon Template */
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    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;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}
