/* Kuria Pool India - Main Stylesheet (Logo Theme) */

/* ========== CSS Variables - Logo Theme ========== */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-muted: #666;
    --white: #ffffff;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    /* Logo theme gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    --gradient-soft: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    --gradient-hero-overlay: linear-gradient(135deg, rgba(26, 26, 46, 0.88) 0%, rgba(102, 126, 234, 0.75) 50%, rgba(118, 75, 162, 0.6) 100%);
    /* Theme tints for sections */
    --theme-bg-soft: #f5f3ff;
    --theme-border: rgba(102, 126, 234, 0.2);
    --theme-glow: 0 8px 32px rgba(102, 126, 234, 0.25);
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --box-shadow-hover: 0 12px 40px rgba(102, 126, 234, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --logo-font-weight: 700;
}

/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

/* ========== Utility Classes ========== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title p {
    max-width: 600px;
    margin: 20px auto 0;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient {
    background: var(--gradient-primary);
}

.bg-light-gradient {
    background: linear-gradient(160deg, var(--theme-bg-soft) 0%, #ede9fe 50%, #f5f3ff 100%);
}

/* ========== Buttons ========== */
.btn-gradient {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    color: var(--white);
}

.btn-outline-gradient {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-gradient:hover {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
}

/* ========== Top Header (First Header) ========== */
.top-header {
    background: var(--dark-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.top-header a {
    color: rgba(255, 255, 255, 0.8);
}

.top-header a:hover {
    color: var(--white);
}

.top-header .social-links a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin-left: 8px;
    transition: var(--transition);
}

.top-header .social-links a:hover {
    background: var(--gradient-primary);
}

/* ========== Middle Header (Second Header) - Logo Theme ========== */
.middle-header {
    background: var(--white);
    padding: 18px 0;
    box-shadow: 0 2px 20px rgba(102, 126, 234, 0.08);
    border-bottom: 1px solid var(--theme-border);
}

.logo {
    gap: 12px;
}

.logo img {
    max-height: 56px;
    height: auto;
}

/* Logo wordmark when no image - matches logo theme */
.logo-text {
    font-size: 1.85rem;
    font-weight: var(--logo-font-weight);
    letter-spacing: -0.02em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo .logo-mark {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 10px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
}

.middle-header .contact-info {
    display: flex;
    align-items: center;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item .icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.2rem;
}

.contact-item .info span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.contact-item .info strong {
    color: var(--text-color);
    font-weight: 600;
}

/* ========== Main Navigation (Third Header) - Logo Theme ========== */
.main-nav {
    background: var(--gradient-primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.35);
}

.main-nav .navbar {
    padding: 0;
}

.main-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 15px 20px !important;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.1);
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--white);
    transition: var(--transition);
    transform: translateX(-50%);
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 80%;
}

.main-nav .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.main-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-nav .dropdown-menu {
    border: none;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 10px;
}

.main-nav .dropdown-item {
    padding: 10px 15px;
    border-radius: 5px;
    transition: var(--transition);
}

.main-nav .dropdown-item:hover {
    background: var(--gradient-primary);
    color: var(--white);
}

/* ========== Offcanvas ========== */
.offcanvas {
    width: 350px !important;
}

.offcanvas-header {
    background: var(--gradient-primary);
    color: var(--white);
}

.offcanvas-header .btn-close {
    filter: brightness(0) invert(1);
}

.offcanvas-body .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: var(--text-color);
    font-weight: 500;
}

.offcanvas-body .nav-link:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.offcanvas-body .nav-link i {
    width: 25px;
    margin-right: 10px;
    color: var(--primary-color);
}

/* ========== Hero Carousel ========== */
.hero-carousel {
    position: relative;
}

.hero-carousel .carousel-item {
    height: 85vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero-overlay);
}

.hero-carousel .carousel-caption {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    max-width: 700px;
}

.hero-carousel .carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero-carousel .carousel-caption p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-carousel .carousel-caption .btn {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-carousel .carousel-indicators {
    bottom: 30px;
}

.hero-carousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-carousel .carousel-indicators button.active {
    background: var(--white);
    border-color: var(--white);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition);
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 1;
}

.hero-carousel .carousel-control-prev {
    left: 30px;
}

.hero-carousel .carousel-control-next {
    right: 30px;
}

/* ========== About Section - Logo Theme ========== */
.about-section {
    background: var(--gradient-soft);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--theme-border), transparent);
}

.about-content {
    padding-right: 50px;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-features {
    margin-top: 30px;
}

.about-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.about-features .feature-item .icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.about-features .feature-item h5 {
    margin-bottom: 5px;
}

.about-features .feature-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    top: 20px;
    left: 20px;
    z-index: -1;
}

/* ========== Services Section ========== */
.services-section {
    background: var(--white);
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    border: 1px solid var(--theme-border);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow-hover);
    border-color: rgba(102, 126, 234, 0.35);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--primary-color);
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: rotateY(360deg);
}

.service-card h4 {
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.95rem;
}

.service-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.service-card .btn {
    margin-top: 15px;
}

/* ========== Service Carousel ========== */
.services-carousel .carousel-item {
    padding: 20px 0;
}

.services-carousel .carousel-control-prev,
.services-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.services-carousel .carousel-control-prev {
    left: -25px;
}

.services-carousel .carousel-control-next {
    right: -25px;
}

/* ========== Testimonials Carousel - Logo Theme ========== */
.testimonials-section {
    background: var(--gradient-soft);
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    text-align: center;
    margin: 20px;
}

.testimonial-card .client-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
}

.testimonial-card .testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
    position: relative;
}

.testimonial-card .testimonial-text::before {
    content: '\201C';
    font-size: 4rem;
    color: rgba(102, 126, 234, 0.2);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
}

.testimonial-card .rating {
    color: var(--warning-color);
    margin-bottom: 15px;
}

.testimonial-card .client-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial-card .client-designation {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ========== Footer - Logo Theme ========== */
.footer {
    background: var(--dark-color);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer h5 {
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

.footer .footer-links li {
    margin-bottom: 12px;
}

.footer .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer .footer-links a:hover {
    color: var(--white);
    padding-left: 8px;
}

.footer .footer-links a i {
    margin-right: 8px;
    color: var(--primary-color);
}

.footer .contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.footer .contact-info li i {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.footer .social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer .social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.footer .social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 60px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

/* ========== Chatbot Widget ========== */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
}

.chatbot-toggle .notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--danger-color);
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-height: 500px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-hover);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-box.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

.chatbot-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h6 {
    margin: 0;
    font-weight: 600;
}

.chatbot-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    max-height: 300px;
}

.chatbot-message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.chatbot-message.user {
    align-items: flex-end;
}

.chatbot-message.bot {
    align-items: flex-start;
}

.chatbot-message .message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
}

.chatbot-message.user .message-content {
    background: var(--gradient-primary);
    color: var(--white);
    border-bottom-right-radius: 5px;
}

.chatbot-message.bot .message-content {
    background: var(--light-color);
    color: var(--text-color);
    border-bottom-left-radius: 5px;
}

.chatbot-message .message-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.chatbot-input {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 10px 15px;
    outline: none;
    transition: var(--transition);
}

.chatbot-input input:focus {
    border-color: var(--primary-color);
}

.chatbot-input button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.chatbot-input button:hover {
    transform: scale(1.1);
}

/* ========== Login Pages ========== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    padding: 30px;
}

.login-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-hover);
    overflow: hidden;
    max-width: 450px;
    width: 100%;
}

.login-card .card-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.login-card .card-header h4 {
    margin: 0;
}

.login-card .card-body {
    padding: 40px;
}

.login-card .form-control {
    border-radius: 25px;
    padding: 12px 20px;
    border: 2px solid #eee;
    transition: var(--transition);
}

.login-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.login-card .form-label {
    font-weight: 500;
    margin-bottom: 8px;
}

.login-card .btn-login {
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    font-weight: 600;
}

/* ========== Panel Layouts ========== */
.panel-wrapper {
    display: flex;
    min-height: 100vh;
}

.panel-sidebar {
    width: 260px;
    background: var(--dark-color);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    transition: var(--transition);
    z-index: 1000;
}

.panel-sidebar .sidebar-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-sidebar .sidebar-header .logo-text {
    color: var(--white);
    font-size: 1.3rem;
}

.panel-sidebar .sidebar-menu {
    padding: 20px 0;
}

.panel-sidebar .menu-item {
    display: block;
    padding: 12px 25px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    position: relative;
}

.panel-sidebar .menu-item:hover,
.panel-sidebar .menu-item.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.panel-sidebar .menu-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: var(--gradient-primary);
}

.panel-sidebar .menu-item i {
    width: 25px;
    margin-right: 10px;
}

.panel-sidebar .menu-section {
    padding: 10px 25px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.panel-content {
    flex: 1;
    margin-left: 260px;
    background: var(--light-color);
    min-height: 100vh;
}

.panel-header {
    background: var(--white);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.panel-header .page-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.panel-header .user-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.panel-header .user-menu .notification-bell {
    position: relative;
    font-size: 1.2rem;
    color: var(--text-muted);
    cursor: pointer;
}

.panel-header .user-menu .notification-bell .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background: var(--danger-color);
    border-radius: 50%;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.panel-header .user-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.panel-header .user-dropdown img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.panel-main {
    padding: 30px;
}

/* ========== Panel Cards ========== */
.stats-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.stats-card .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
}

.stats-card .icon.bg-primary {
    background: rgba(102, 126, 234, 0.15);
    color: var(--primary-color);
}

.stats-card .icon.bg-success {
    background: rgba(40, 167, 69, 0.15);
    color: var(--success-color);
}

.stats-card .icon.bg-warning {
    background: rgba(255, 193, 7, 0.15);
    color: var(--warning-color);
}

.stats-card .icon.bg-danger {
    background: rgba(220, 53, 69, 0.15);
    color: var(--danger-color);
}

.stats-card .info h3 {
    margin-bottom: 5px;
    font-size: 1.75rem;
}

.stats-card .info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========== Data Tables ========== */
.data-table {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.data-table .table-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.data-table .table-header h5 {
    margin: 0;
}

.data-table table {
    margin: 0;
}

.data-table th {
    background: var(--light-color);
    font-weight: 600;
    padding: 15px;
    border: none;
}

.data-table td {
    padding: 15px;
    vertical-align: middle;
    border-color: #eee;
}

.data-table .action-btns .btn {
    padding: 5px 10px;
    font-size: 0.85rem;
}

/* ========== Forms ========== */
.form-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    border: 1px solid var(--theme-border);
}

.form-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.form-card .form-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.form-card .form-header h5 {
    margin: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.form-control, .form-select {
    padding: 12px 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

/* ========== Animations ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

/* ========== Responsive ========== */
@media (max-width: 991.98px) {
    .hero-carousel .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .middle-header .contact-info {
        display: none;
    }
    
    .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .about-image::before {
        display: none;
    }
    
    .panel-sidebar {
        transform: translateX(-100%);
    }
    
    .panel-sidebar.active {
        transform: translateX(0);
    }
    
    .panel-content {
        margin-left: 0;
    }
}

@media (max-width: 767.98px) {
    .section-padding {
        padding: 50px 0;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-carousel .carousel-item {
        height: 60vh;
    }
    
    .hero-carousel .carousel-caption {
        text-align: center;
    }
    
    .hero-carousel .carousel-caption h1 {
        font-size: 1.75rem;
    }
    
    .chatbot-box {
        width: 300px;
        right: -15px;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 575.98px) {
    .top-header {
        font-size: 0.75rem;
    }
    
    .panel-main {
        padding: 15px;
    }
}

/* ========== Status Badges ========== */
.badge-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-active {
    background: rgba(40, 167, 69, 0.15);
    color: var(--success-color);
}

.badge-inactive {
    background: rgba(220, 53, 69, 0.15);
    color: var(--danger-color);
}

.badge-pending {
    background: rgba(255, 193, 7, 0.15);
    color: var(--warning-color);
}

/* ========== File Types Icons ========== */
.file-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.5rem;
}

.file-icon.image {
    background: rgba(102, 126, 234, 0.15);
    color: var(--primary-color);
}

.file-icon.audio {
    background: rgba(40, 167, 69, 0.15);
    color: var(--success-color);
}

.file-icon.video {
    background: rgba(220, 53, 69, 0.15);
    color: var(--danger-color);
}

.file-icon.document {
    background: rgba(255, 193, 7, 0.15);
    color: var(--warning-color);
}
