@import url('/fonts/fonts.css');

/* Typography: locally hosted Plus Jakarta Sans & Inter */

:root {
    /* Color Palette */
    --color-primary: #1E40AF; /* Blue 800 */
    --color-secondary: #2563EB; /* Blue 600 */
    --color-secondary-hover: #1D4ED8;
    --color-action-blue: #3B82F6; /* Blue 500 */
    --color-action-blue-hover: #2563EB;
    --color-slate-800: #1E293B;
    --color-slate-700: #334155;
    --color-slate-500: #64748B;
    --color-slate-100: #E2E8F0;
    --color-bg-light: #F8FAFC;
    --color-surface: #FFFFFF;
    
    /* Transitions */
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base resets and Typography */
html {
    font-size: 15px;
    height: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 50%, #e2e8f0 100%);
    background-attachment: fixed;
    color: var(--color-slate-800);
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--color-slate-800);
    font-weight: 700;
}

/* Float Animations for Decorative Background Blobs */
@keyframes blob {
    0% { transform: translate(0px, 0px) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

.animate-blob {
    animation: blob 7s infinite;
}
.animation-delay-2000 { animation-delay: 2s; }
.animation-delay-4000 { animation-delay: 4s; }

/* Custom shadow & rounded corners */
.product-shadow {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

/* High-end Glassmorphism elements */
.glass-header {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    transition: var(--transition-smooth);
}

.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
    transform: translateY(-2px);
}


/* Custom buttons */
.btn-teal {
    background-color: var(--color-secondary);
    color: #ffffff;
    font-weight: 500;
    border-radius: 8px;
    padding: 8px 16px;
    transition: var(--transition-smooth);
    border: none;
}

.btn-teal:hover, .btn-teal:focus {
    background-color: var(--color-secondary-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

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

/* Form Controls styling */
.form-control:focus, .form-select:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

/* Navigation overrides */
.navbar-custom {
    background-color: var(--color-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-custom .navbar-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.3rem;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: var(--transition-smooth);
}

.navbar-custom .nav-link:hover, .navbar-custom .nav-link.active {
    color: #ffffff;
}

/* Page Layout for Student/Admin Portal (Sidebar + Content Grid) */
.portal-container {
    display: flex;
    flex: 1;
    min-height: 100vh;
}

.portal-sidebar {
    width: 260px;
    background-color: var(--color-primary);
    color: #ffffff;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.portal-main {
    flex-grow: 1;
    background-color: var(--color-bg-light);
    display: flex;
    flex-direction: column;
}

.portal-header {
    height: 70px;
    background-color: #ffffff;
    border-bottom: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.portal-content {
    padding: 32px;
    flex-grow: 1;
}

/* Sidebar Menu Items */
.sidebar-brand {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.2rem;
}

.sidebar-menu {
    list-style: none;
    padding: 16px 8px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.sidebar-link i {
    width: 24px;
    font-size: 1.1rem;
    margin-right: 8px;
}

.sidebar-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.sidebar-link.active {
    background-color: var(--color-secondary);
    color: #ffffff;
}

.sidebar-user {
    margin-top: auto;
    padding: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Text utility classes */
.text-teal {
    color: var(--color-secondary);
}

.text-navy {
    color: var(--color-primary);
}

.text-slate-800 {
    color: var(--color-slate-800);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .portal-container {
        flex-direction: column;
    }
    .portal-sidebar {
        width: 100%;
        height: auto;
        min-height: auto;
    }
    .portal-content {
        padding: 20px;
    }
}

/* Glassmorphism Header (dichvu style) */
.glass-header {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.nav-link-dichvu {
    font-size: 14.5px;
    font-weight: 600;
    color: #475569 !important; /* slate-600 */
    padding: 8px 14px !important;
    border-radius: 8px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-link-dichvu:hover {
    color: #2563eb !important;
    background-color: rgba(37, 99, 235, 0.04);
}

.nav-link-dichvu.active {
    color: #2563eb !important;
    background-color: rgba(37, 99, 235, 0.08);
}

/* Button pill dichvu style */
.btn-dichvu-pill {
    font-size: 13.5px;
    font-weight: 700;
    color: #ffffff !important;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border: none;
    border-radius: 10px;
    padding: 8px 20px;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    text-decoration: none;
}

.btn-dichvu-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff !important;
}

/* Glassmorphism Footer (dichvu style) */
.footer-dichvu {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    color: #4b5563;
    font-size: 14px;
}

.footer-dichvu hr {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    opacity: 1;
}

.footer-title-dichvu {
    font-size: 11px;
    font-weight: 800;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.footer-link-dichvu {
    color: #4b5563 !important;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-link-dichvu:hover {
    color: #2563eb !important;
    text-decoration: underline;
}

.footer-social-dichvu {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: #4b5563;
    transition: var(--transition-smooth);
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.footer-social-dichvu:hover {
    background-color: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
    transform: translateY(-1px);
}

/* --- HOMEPAGE SPECIFIC STYLES --- */

/* Hero Banner Slideshow */
.homepage-carousel {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 40px -15px rgba(37, 99, 235, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.carousel-item-custom {
    height: 420px; /* Modern height for breathing room */
    position: relative;
}

@media (max-width: 768px) {
    .carousel-item-custom {
        height: 290px; /* Balanced mobile height */
    }
}

.carousel-img-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.12); /* Subtle dark overlay */
    z-index: 1;
}

/* Modern Left-Aligned Glass Caption Card */
.carousel-caption-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}

.carousel-glass-card-left {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(37, 99, 235, 0.08) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 20px;
    padding: 30px 35px;
    max-width: 460px;
    color: #ffffff;
    pointer-events: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    margin-left: 5%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease;
}

.carousel-glass-card-left:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(37, 99, 235, 0.15) 100%);
    border-color: rgba(255, 255, 255, 0.45);
}

.carousel-glass-card-left .btn-dichvu-pill {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, box-shadow 0.2s ease !important;
    pointer-events: none;
}

.carousel-glass-card-left:hover .btn-dichvu-pill {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Animation trigger when slide becomes active */
.carousel-item.active .carousel-glass-card-left {
    opacity: 1;
    transform: translateY(0);
}

.carousel-caption-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.carousel-caption-desc {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    line-height: 1.5;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .carousel-glass-card-left {
        max-width: 90%;
        margin-left: 5%;
        padding: 20px;
        border-radius: 16px;
    }
    .carousel-caption-title {
        font-size: 1.35rem;
        margin-bottom: 8px;
    }
    .carousel-caption-desc {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
}

/* Custom indicator buttons */
.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.45);
    border: none;
    transition: var(--transition-smooth);
    margin: 0 4px;
}

.carousel-indicators .active {
    width: 24px;
    background-color: #ffffff;
}

/* Services Grid Styles */
.section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -1.2px;
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-subtitle {
    font-size: 0.98rem;
    color: var(--color-slate-500);
    max-width: 620px;
    line-height: 1.6;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

/* Gradients for service icons */
.bg-gradient-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #c084fc 100%);
}

.bg-gradient-pink {
    background: linear-gradient(135deg, #f43f5e 0%, #f472b6 100%);
}

.bg-gradient-emerald {
    background: linear-gradient(135deg, #0d9488 0%, #10b981 100%);
}

.bg-gradient-cyan {
    background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
}

.bg-gradient-amber {
    background: linear-gradient(135deg, #d97706 0%, #fbbf24 100%);
}

.bg-gradient-orange {
    background: linear-gradient(135deg, #ea580c 0%, #fb923c 100%);
}

.service-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-slate-800);
    margin-bottom: 10px;
}

.service-card-desc {
    font-size: 0.95rem;
    color: var(--color-slate-500);
    line-height: 1.5;
}

/* Announcements Layout */
.badge-category {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 8px;
    letter-spacing: 0.05em;
    display: inline-block;
}

.badge-hocvu {
    background-color: #eff6ff;
    color: #2563eb;
}

.badge-lichthi {
    background-color: #fef3c7;
    color: #d97706;
}

.badge-khan {
    background-color: #fee2e2;
    color: #dc2626;
}

.badge-totnghiep {
    background-color: #f3e8ff;
    color: #9333ea;
}

.announcement-meta {
    font-size: 0.85rem;
    color: var(--color-slate-500);
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Featured Card */
.featured-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-img-container {
    height: 240px;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.featured-img-container img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.glass-card:hover .featured-img-container img {
    transform: scale(1.03);
}

/* Recent List Items */
.recent-announcement-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: var(--transition-smooth);
    padding: 20px;
    border-radius: 12px;
}

.recent-announcement-item:last-child {
    border-bottom: none;
}

.recent-announcement-item:hover {
    background-color: rgba(255, 255, 255, 0.95);
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.05);
}

.recent-announcement-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-slate-800);
    transition: var(--transition-smooth);
    line-height: 1.4;
}

.recent-announcement-item:hover .recent-announcement-title {
    color: var(--color-secondary);
}

/* Restructured Services Section */
.group-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-slate-800);
    letter-spacing: -0.5px;
    position: relative;
    padding-left: 14px;
}
.group-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: var(--color-secondary);
    border-radius: 2px;
}

/* Glass Card Sweep Effect */
.glass-card-sweep {
    position: relative;
    overflow: hidden;
}
.glass-card-sweep::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: all 0s;
    pointer-events: none;
    z-index: 10;
}
.glass-card-sweep:hover::after {
    left: 140%;
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Custom Search Box */
.search-wrapper {
    position: relative;
    width: 100%;
}
.search-input-custom {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 15px 20px 15px 54px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}
.search-input-custom:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.04);
}
.search-input-custom:focus {
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.14);
    outline: none;
}
.search-icon-custom {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-slate-500);
    pointer-events: none;
    font-size: 1.15rem;
    transition: var(--transition-smooth);
}
.search-input-custom:focus + .search-icon-custom {
    color: var(--color-secondary);
}

/* Widget Calendar/Schedule Cards */
.widget-schedule-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(239, 246, 255, 0.85));
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.05);
}
.schedule-item-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    text-decoration: none;
    color: var(--color-slate-800);
    transition: var(--transition-smooth);
}
.schedule-item-btn:hover {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
    color: var(--color-secondary) !important;
}
.schedule-icon-circle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
}

/* Widget Feedback Card */
.widget-feedback-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
}
.widget-feedback-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0) 70%);
}
.widget-feedback-card .btn-feedback {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border: none;
    color: white !important;
    font-weight: 700;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: var(--transition-smooth);
    text-decoration: none;
}
.widget-feedback-card .btn-feedback:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
}

/* Hover action for service cards with dynamic button transition */
.glass-card-sweep {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, background 0.3s ease !important;
}

.glass-card-sweep:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(37, 99, 235, 0.15) !important;
    border-color: rgba(37, 99, 235, 0.2) !important;
}

/* Hover overlay and centered action button */
.glass-card-sweep:hover .card-body-content {
    opacity: 0.25;
    filter: blur(1.5px);
}

.glass-card-sweep:hover .card-hover-overlay {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.glass-card-sweep:hover .card-hover-overlay .btn-dichvu-pill {
    transform: scale(1) !important;
}

/* Subtle card gradient backgrounds */
.glass-card-sweep.card-gradient-purple {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(139, 92, 246, 0.05) 100%) !important;
}
.glass-card-sweep.card-gradient-pink {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 63, 94, 0.05) 100%) !important;
}
.glass-card-sweep.card-gradient-emerald {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(13, 148, 136, 0.05) 100%) !important;
}
.glass-card-sweep.card-gradient-cyan {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(2, 132, 199, 0.05) 100%) !important;
}
.glass-card-sweep.card-gradient-amber {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(217, 119, 6, 0.05) 100%) !important;
}

/* Hover dynamic gradient updates */
.glass-card-sweep.card-gradient-purple:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(139, 92, 246, 0.12) 100%) !important;
}
.glass-card-sweep.card-gradient-pink:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(244, 63, 94, 0.12) 100%) !important;
}
.glass-card-sweep.card-gradient-emerald:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(13, 148, 136, 0.12) 100%) !important;
}
.glass-card-sweep.card-gradient-cyan:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(2, 132, 199, 0.12) 100%) !important;
}
.glass-card-sweep.card-gradient-amber:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(217, 119, 6, 0.12) 100%) !important;
}

/* ============================================================
   SERVICE PAGES – Shared Component Styles
   ============================================================ */
.service-page-wrap {
    padding-top: 5.5rem;
    padding-bottom: 3rem;
    min-height: 100vh;
}

.glass-card-service {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px -4px rgba(30, 64, 175, 0.08);
    transition: var(--transition-smooth);
}

.svc-label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}

.svc-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 11px 16px;
    font-weight: 600;
    font-size: 14.5px;
    color: #1e293b;
    outline: none;
    transition: all 0.15s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.svc-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.svc-input::placeholder { color: #94a3b8; font-weight: 500; }

.btn-svc-primary {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 11px 20px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}
.btn-svc-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
    background: linear-gradient(135deg, #1d4ed8, #4338ca);
}
.btn-svc-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.svc-icon-box {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; color: #fff; flex-shrink: 0;
}
.svc-blue   { background: linear-gradient(135deg, #3b82f6, #4f46e5); }
.svc-indigo { background: linear-gradient(135deg, #6366f1, #7c3aed); }
.svc-emerald{ background: linear-gradient(135deg, #10b981, #0d9488); }
.svc-amber  { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.svc-orange { background: linear-gradient(135deg, #f97316, #dc2626); }
.svc-pink   { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.svc-cyan   { background: linear-gradient(135deg, #06b6d4, #3b82f6); }

/* Alert box styles */
.svc-alert {
    display: none;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid;
    align-items: flex-start;
    gap: 10px;
}
.svc-alert.show { display: flex; }
.svc-alert.error { background: #fef2f2; border-color: #fca5a5; color: #991b1b; }
.svc-alert.success { background: #f0fdf4; border-color: #86efac; color: #14532d; }

/* Status panel (closed service) */
.svc-closed-panel {
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 3rem 2rem;
    background: rgba(255,255,255,0.6); border: 2px dashed #e2e8f0;
    border-radius: 1.5rem;
}

/* Radio card selection */
.choice-card {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 16px; border-radius: 14px;
    border: 2px solid #e5e7eb;
    background: rgba(255,255,255,0.7);
    cursor: pointer; transition: all 0.18s; user-select: none;
}
.choice-card:hover { border-color: #6366f1; background: rgba(238,242,255,0.7); }
.choice-card.selected { border-color: #4f46e5; background: rgba(238,242,255,0.95); box-shadow: 0 4px 14px rgba(99,102,241,0.15); }
.choice-radio {
    width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid #cbd5e1; display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-left: auto; transition: all 0.15s;
}
.choice-card.selected .choice-radio { border-color: #4f46e5; background: #4f46e5; }
.choice-card.selected .choice-radio::after {
    content: ''; width: 8px; height: 8px; border-radius: 50%; background: white; display: block;
}

/* Section heading bar */
.svc-section-title {
    font-size: 15px; font-weight: 700; color: #1e293b; margin-bottom: 1rem;
    display: flex; align-items: center; gap: 8px;
}
.svc-section-title::before {
    content: ''; display: block;
    width: 4px; height: 18px; border-radius: 2px;
    background: linear-gradient(180deg, #4f46e5, #3b82f6);
}

/* Stars rating */
.stars-row { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.stars-row input { display: none; }
.stars-row label { font-size: 22px; color: #d1d5db; cursor: pointer; transition: color .15s, transform .15s; }
.stars-row label:hover, .stars-row label:hover ~ label,
.stars-row input:checked ~ label { color: #f59e0b; }
.stars-row label:hover { transform: scale(1.15); }

/* Custom SweetAlert2 Override for Premium Aesthetic */
.swal2-popup {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(99, 102, 241, 0.12) !important;
    border-radius: 28px !important;
    box-shadow: 0 25px 60px -15px rgba(30, 64, 175, 0.2) !important;
    padding: 2.8rem 2.2rem !important;
}

.swal2-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    font-size: 1.5rem !important;
    letter-spacing: -0.025em !important;
    margin-top: 18px !important;
    margin-bottom: 10px !important;
}

.swal2-html-container {
    font-family: 'Inter', sans-serif !important;
    color: #475569 !important;
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
    font-weight: 500 !important;
    margin: 8px 0 24px !important;
}

.swal2-actions {
    gap: 12px !important;
    margin-top: 15px !important;
    width: 100% !important;
    justify-content: center !important;
}

/* Styled confirm button */
.swal2-confirm.swal2-styled {
    background: linear-gradient(135deg, #4f46e5, #6366f1) !important;
    color: #ffffff !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    padding: 12px 32px !important;
    box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.45) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: none !important;
}

.swal2-confirm.swal2-styled:hover {
    background: linear-gradient(135deg, #4338ca, #4f46e5) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 24px -6px rgba(79, 70, 229, 0.6) !important;
}

.swal2-confirm.swal2-styled:focus {
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.3) !important;
}

/* Styled cancel button */
.swal2-cancel.swal2-styled {
    background: #f8fafc !important;
    color: #475569 !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    padding: 12px 32px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01) !important;
}

.swal2-cancel.swal2-styled:hover {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-2px) !important;
}

/* Icons styling customization */
.swal2-icon {
    border-width: 3px !important;
    margin-top: 5px !important;
    scale: 1.05;
    transition: transform 0.3s ease;
}

.swal2-icon.swal2-question {
    border-color: #6366f1 !important;
    color: #6366f1 !important;
}

.swal2-icon.swal2-success {
    border-color: #10b981 !important;
}

.swal2-icon.swal2-success [class^=swal2-success-line] {
    background-color: #10b981 !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(16, 185, 129, 0.2) !important;
}

.swal2-icon.swal2-error {
    border-color: #ef4444 !important;
}

.swal2-icon.swal2-error [class^=swal2-x-mark-line] {
    background-color: #ef4444 !important;
}

.swal2-icon.swal2-warning {
    border-color: #f59e0b !important;
    color: #f59e0b !important;
}
