/* ========================================
   HR RECRUITMENT AGENCY - MODERN STYLES
   Visual Effects & Animations Theme
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors - Cyan Blue Theme */
    --primary-color: #5BC0EB;
    --primary-dark: #0ea5e9;
    --primary-light: rgba(91, 192, 235, 0.2);

    /* Background Colors */
    --background-dark: #1B2A41;
    --background-darker: #0f172a;
    --card-bg: rgba(15, 23, 42, 0.7);

    /* Text Colors */
    --text-dark: #1e293b;
    --text-light: #64748b;
    --text-white: #ffffff;

    /* UI Colors */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --accent-color: #5BC0EB;
    --success-color: #10b981;
    --error-color: #ef4444;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.6);
    --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.8);
    --shadow-glow: 0 0 20px rgba(91, 192, 235, 0.4);
    --shadow-card-hover: 0 20px 50px rgba(15, 23, 42, 0.45);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.5s ease;
    --transition-slower: 0.8s ease;
    --transition: all 0.3s ease;

    /* Border Radius */
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

/* Dark mode variable overrides */
body.dark-mode {
    --primary-color: #5BC0EB;
    --primary-dark: #0ea5e9;
    --text-dark: #e5e7eb;
    --text-light: #9ca3af;
    --bg-light: #020617;
    --bg-white: #0f172a;
    --border-color: #1f2937;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.6);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.7);
    --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.8);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   KEYFRAME ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleReveal {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(91, 192, 235, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(91, 192, 235, 0.7);
    }
}

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

    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes wave {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-5px) rotate(2deg);
    }

    75% {
        transform: translateY(5px) rotate(-2deg);
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink {

    0%,
    50% {
        border-color: var(--primary-color);
    }

    51%,
    100% {
        border-color: transparent;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h2 {
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-dark);
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(91, 192, 235, 0.1);
    transition: var(--transition-base);
    width: 100%;
}

body.dark-mode .header {
    background-color: rgba(15, 23, 42, 0.95);
    border-bottom-color: rgba(91, 192, 235, 0.2);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition-base);
    white-space: nowrap;
}

.logo:hover {
    transform: scale(1.02);
}

.logo:hover .logo-icon-wrapper {
    animation: glowPulse 1.5s ease-in-out infinite;
}

.logo-icon-wrapper {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(91, 192, 235, 0.4);
    transition: var(--transition-base);
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.home-dropdown {
    position: relative;
}

.home-dropdown-label {
    background: none;
    border: none;
    color: var(--text-dark);
    font: inherit;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: var(--transition-base);
}

.home-dropdown-label:hover {
    color: var(--primary-color);
}

.home-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(91, 192, 235, 0.2);
    padding: 0.5rem 0.75rem;
    list-style: none;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 1100;
    animation: fadeInDown var(--transition-fast) ease;
}

.home-dropdown.open .home-dropdown-menu {
    display: flex;
}

/* Navigation Links */
.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-base);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #5BC0EB, #0ea5e9);
    transition: width var(--transition-base);
    border-radius: 2px;
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-auth-btn {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    border-radius: 999px;
}

/* Nav Admin - Hidden on Desktop, Shown on Mobile */
.nav-admin {
    display: none;
    /* Hidden on desktop, shown in mobile menu */
}

.nav-admin .nav-auth-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Admin Badge in Nav Menu - Centered */
.nav-menu li .admin-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 auto;
}

/* Center the li containing admin-badge (dashboard page) */
.nav-menu li:not(.nav-auth):not(.home-dropdown) {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Admin Button */
.admin-btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.admin-btn svg {
    flex-shrink: 0;
}

/* Language Toggle */
.lang-toggle {
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(91, 192, 235, 0.3);
    background-color: transparent;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.lang-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(91, 192, 235, 0.1);
}

/* Theme Toggle */
.theme-toggle {
    padding: 0.5rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-white);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    width: 2.5rem;
    height: 2.5rem;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

body.dark-mode .theme-toggle {
    background-color: var(--background-darker);
    color: var(--text-light);
    border-color: rgba(91, 192, 235, 0.3);
}

.theme-toggle-icon {
    font-size: 1rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: linear-gradient(90deg, #5BC0EB, #0ea5e9);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    transform-origin: center;
    pointer-events: none;
}

.mobile-menu-toggle:hover span {
    box-shadow: 0 0 10px rgba(91, 192, 235, 0.5);
}

/* Hide hamburger when menu is open to avoid double X (since panel has its own close) */
.mobile-menu-toggle.active {
    opacity: 0;
    pointer-events: none;
}

/* Hamburger to X animation when menu open */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Backdrop - 50% opacity */
.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mobile-menu-backdrop.active {
    display: block;
    opacity: 1;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(91, 192, 235, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(91, 192, 235, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* Button Focus States */
.btn:focus-visible,
.theme-toggle:focus-visible,
.nav-link:focus-visible,
.service-link:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background:
        radial-gradient(circle at top right, rgba(91, 192, 235, 0.3), transparent 50%),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.2), transparent 50%),
        linear-gradient(135deg, var(--background-dark) 0%, var(--background-darker) 100%);
    color: white;
    padding: 7rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: heroGlow 12s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    inset: -10%;
    background:
        linear-gradient(135deg, rgba(91, 192, 235, 0.22) 0%, rgba(219, 234, 254, 0.18) 50%, rgba(91, 192, 235, 0.22) 100%),
        repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 2px, transparent 6px);
    mix-blend-mode: screen;
    opacity: 0.35;
    filter: blur(0.2px);
    animation: sheenSweep 16s ease-in-out infinite;
    z-index: 1;
}

.hero .hero-container {
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235BC0EB' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.hero-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons .btn {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

/* Wave Separator */
.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-separator .shape-fill {
    fill: var(--bg-white);
}

/* ========================================
   ALTERNATIVE HERO (Split Layout)
   ======================================== */

.hero-alt {
    padding: 6rem 0;
    background:
        radial-gradient(120% 120% at -10% 20%, rgba(249, 115, 22, 0.14), transparent 50%),
        radial-gradient(90% 90% at 110% -20%, rgba(94, 234, 212, 0.18), transparent 45%),
        linear-gradient(135deg, #0f172a 0%, #111827 100%);
    color: #e5e7eb;
    position: relative;
    overflow: hidden;
}


.hero-alt-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 3rem 0;
}

.hero-alt-text {
    text-align: center;
}

.hero-alt-text h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.hero-alt-text p {
    font-size: 1.15rem;
    color: rgba(241, 245, 249, 0.9);
    margin-bottom: 2rem;
}

.hero-alt .hero-buttons {
    justify-content: center;
    gap: 1rem;
}

.hero-alt .hero-buttons .btn-primary {
    box-shadow: 0 15px 40px rgba(91, 192, 235, 0.25);
}

.hero-alt .hero-buttons .btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 50px rgba(91, 192, 235, 0.35);
}

.hero-alt .hero-buttons .btn-outline-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(91, 192, 235, 0.2);
}

.hero-alt-stats {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    justify-items: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-alt-stats>div {
    width: 100%;
    min-width: 0;
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(91, 192, 235, 0.3);
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition-base);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(91, 192, 235, 0.08);
}

.hero-alt-stats>div:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px) scale(1.01);
    box-shadow: var(--shadow-glow);
}

.hero-alt-stats .stat-number {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-alt-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(241, 245, 249, 0.85);
}

/* Hero Alt Panel */
.hero-alt-panel {
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(91, 192, 235, 0.2);
}

.hero-alt-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.hero-alt-form .btn {
    align-self: center;
}

.hero-alt-panel h2 {
    text-align: center;
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.hero-alt-panel p {
    margin-bottom: 1.5rem;
    color: rgba(226, 232, 240, 0.9);
    text-align: center;
}

.hero-alt-form .form-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-alt-form .form-group label {
    color: #e5e7eb;
    text-align: center;
    width: 100%;
    margin-bottom: 0.5rem;
}

.hero-alt-form .form-group input,
.hero-alt-form .form-group select {
    background-color: rgba(2, 6, 23, 0.6);
    border-color: rgba(91, 192, 235, 0.3);
    color: #e5e7eb;
    transition: var(--transition-base);
    width: 100%;
    text-align: center;
}

.hero-alt-form .form-group input:focus,
.hero-alt-form .form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(91, 192, 235, 0.2);
}

.hero-alt-form .form-group input::placeholder {
    color: rgba(148, 163, 184, 0.9);
}

/* Blob float animations */
@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(12px, -10px) scale(1.05);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes blobFloatReverse {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-14px, 12px) scale(1.06);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */

.why-choose-us {
    padding: 5rem 0;
    background-color: var(--bg-white);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5BC0EB, #0ea5e9);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    opacity: 0;
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary-color);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: wave 3s ease-in-out infinite;
}

.feature-card:hover .feature-icon {
    animation: pulse 1s ease-in-out infinite;
}

.feature-card h3 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
    min-height: 2rem;
}

.feature-card p {
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================
   SERVICES SECTIONS
   ======================================== */

.services {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(91, 192, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary-color);
}

.service-card:hover::after {
    left: 100%;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    flex-grow: 1;
}

/* Featured Services */
.featured-services {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.services-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: stretch;
    margin-top: 3rem;
}

.service-preview-card {
    background-color: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.service-preview-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--primary-color);
}

.service-preview-card .service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.service-preview-card h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-preview-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Services Alt Section */
.services-alt {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.section-header-alt {
    max-width: 640px;
    margin: 0 auto 3rem;
    text-align: center;
}

.section-header-alt h2 {
    margin-bottom: 1rem;
}

.section-header-alt p {
    margin: 0;
}

.services-alt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card-alt {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-base);
}

.service-card-alt:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.service-card-alt h3 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.service-card-alt p {
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.service-card-alt .service-link {
    margin-top: auto;
}

/* Service Link */
.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.service-link::after {
    content: '';
    transition: transform var(--transition-base);
}

.service-link:hover {
    color: var(--primary-dark);
}

.service-link:hover::after {
    transform: translateX(5px);
}

/* ========================================
   PROCESS SECTION
   ======================================== */

.process-alt {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.process-alt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-alt-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.process-alt-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.process-alt-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-glow);
}

.process-alt-card h3 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* Process Steps */
.process-steps {
    margin: 2.5rem 0;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
}

.step-content h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-content p {
    color: var(--text-light);
    margin: 0;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
    padding: 5rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    min-width: 0;
    transition: var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* About Page Styles */
.about-page {
    padding: 5rem 0;
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-intro h2 {
    text-align: center;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.mission-card,
.vision-card {
    background-color: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.mission-card h3,
.vision-card h3 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.values-section {
    margin: 4rem 0;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow-wrap: break-word;
    word-wrap: break-word;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-item h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow-wrap: break-word;
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-base);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.testimonial-content {
    margin-bottom: 1.5rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow);
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Testimonials Alt */
.testimonials-alt {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.testimonials-alt-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
    padding: 5rem 0;
    background:
        radial-gradient(circle at top left, rgba(91, 192, 235, 0.2), transparent 50%),
        radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.15), transparent 50%),
        linear-gradient(135deg, var(--background-dark) 0%, var(--background-darker) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%235BC0EB' fill-opacity='0.03'%3E%3Cpath d='M20 20h20v20H20V20zM0 0h20v20H0V0z'/%3E%3C/g%3E%3C/svg%3E");
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stats-section .stat-item {
    background-color: rgba(91, 192, 235, 0.1);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(91, 192, 235, 0.2);
    min-width: 0;
    transition: var(--transition-base);
}

.stats-section .stat-item:hover {
    transform: translateY(-5px);
    background-color: rgba(91, 192, 235, 0.15);
    box-shadow: var(--shadow-glow);
}

.stats-section .stat-number {
    color: white;
    font-size: 3.5rem;
    background: linear-gradient(135deg, #5BC0EB 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-section .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    padding: 5rem 0;
    text-align: center;
    background: var(--bg-light);
    position: relative;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.contact-form-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: stretch;
}

.contact-info {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-info h3 {
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-details {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background-color: var(--bg-light);
    transition: var(--transition-base);
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition-base);
}

.contact-link:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

.contact-form .btn {
    width: auto;
    align-self: center;
    margin-top: 0.5rem;
}

.contact-form .form-group-message {
    margin-bottom: 1rem;
}

.contact-form .form-group-spam {
    margin-bottom: 0;
    min-height: 0;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.required {
    color: var(--error-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-base);
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(91, 192, 235, 0.15);
}

.error-message {
    display: block;
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border: 1px solid var(--success-color);
}

.form-message.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border: 1px solid var(--error-color);
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
    background:
        radial-gradient(circle at top right, rgba(91, 192, 235, 0.3), transparent 50%),
        linear-gradient(135deg, var(--background-dark) 0%, var(--background-darker) 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%235BC0EB' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition-base);
}

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

/* ========================================
   SERVICE DETAIL PAGE
   ======================================== */

.service-detail {
    padding: 5rem 0;
}

.service-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.service-icon-large {
    font-size: 4.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.service-main h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.service-main h3 {
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 1.25rem;
    margin-bottom: 1rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--border-radius);
    transition: var(--transition-base);
}

.service-features li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.service-features li strong {
    color: var(--primary-color);
}

.service-benefits {
    list-style: none;
    margin: 1.5rem 0;
}

.service-benefits li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-light);
}

.service-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-darker) 100%);
    color: white;
    padding: 4rem 0 1.5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5BC0EB, #0ea5e9, #5BC0EB);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

body.dark-mode .footer {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-base);
    display: inline-block;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(91, 192, 235, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(91, 192, 235, 0.2);
}

.footer-social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.footer-social-icon svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    flex: 1;
    text-align: center;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(91, 192, 235, 0.3);
    background-color: transparent;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-base);
}

.back-to-top:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   AUTH PAGES (Login / Register)
   Light Friendly Design - Education Platform Style
   ======================================== */

.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1.5rem;
    background:
        radial-gradient(circle at 20% 30%, rgba(91, 192, 235, 0.15), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.12), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(147, 197, 253, 0.1), transparent 60%),
        linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 192, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.auth-page::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite reverse;
}

.auth-logo-wrapper {
    margin-bottom: 1.5rem;
    text-align: center;
}

.auth-logo-wrapper .logo {
    justify-content: center;
    text-decoration: none;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow:
        0 20px 60px rgba(91, 192, 235, 0.15),
        0 10px 30px rgba(14, 165, 233, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.8);
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: fadeInUp 0.6s ease;
    position: relative;
    z-index: 1;
}

.auth-card-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.auth-card-logo .logo-icon-wrapper {
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    box-shadow: 0 4px 15px rgba(91, 192, 235, 0.3);
}

.auth-card-logo .logo-text {
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-card h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-align: center;
    color: #4a5568;
    letter-spacing: -0.5px;
}

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #5a6c7d;
    font-weight: 500;
    font-size: 0.95rem;
    text-align: left;
}

.auth-form .form-group input[type="email"],
.auth-form .form-group input[type="password"],
.auth-form .form-group input[type="text"] {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 2px solid rgba(91, 192, 235, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.8);
    color: #2d3748;
}

.auth-form .form-group input[type="email"]:focus,
.auth-form .form-group input[type="password"]:focus,
.auth-form .form-group input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
    box-shadow:
        0 0 0 4px rgba(91, 192, 235, 0.15),
        0 4px 12px rgba(91, 192, 235, 0.1);
    transform: translateY(-1px);
}

.auth-form .form-group input::placeholder {
    color: #a0aec0;
}

/* Error messages removed - using popup notifications instead */
.auth-form .error-message {
    display: none;
}

.form-group-inline {
    text-align: center;
    margin: 1rem 0;
}

.form-group-inline .terms-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #718096;
    justify-content: center;
    cursor: pointer;
}

.form-group-inline input[type="checkbox"] {
    width: auto;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.form-row-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.form-row-inline .remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #718096;
    cursor: pointer;
}

.form-row-inline .remember-me input[type="checkbox"] {
    width: auto;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.form-row-inline a {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-base);
}

.form-row-inline a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.auth-actions {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-actions .btn-primary {
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    color: #ffffff;
    border: none;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow:
        0 4px 15px rgba(91, 192, 235, 0.4),
        0 2px 8px rgba(14, 165, 233, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.auth-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 25px rgba(91, 192, 235, 0.5),
        0 4px 12px rgba(14, 165, 233, 0.3);
    background: linear-gradient(135deg, #4ab3d9 0%, #0d94d6 100%);
}

.auth-actions .btn-primary:active {
    transform: translateY(0);
}

.auth-social {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 182, 193, 0.2);
}

.auth-social-label {
    display: block;
    font-size: 0.875rem;
    color: #a0aec0;
    margin-bottom: 1rem;
    position: relative;
}

.auth-social-label::before,
.auth-social-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(91, 192, 235, 0.3), transparent);
}

.auth-social-label::before {
    left: 0;
}

.auth-social-label::after {
    right: 0;
}

.auth-social-buttons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-social {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    min-width: 110px;
    flex: 1;
    max-width: 160px;
    border-radius: 10px;
    border: 2px solid rgba(91, 192, 235, 0.4);
    background-color: rgba(255, 255, 255, 0.6);
    color: #5a6c7d;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-social:hover {
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.2);
}

.auth-meta {
    margin-top: 1.75rem;
    font-size: 0.9rem;
    color: #718096;
    text-align: center;
}

.auth-meta a {
    color: #ff69b4;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-base);
}

.auth-meta a:hover {
    color: #d946ef;
    text-decoration: underline;
}

.form-message {
    display: none;
}

/* ========================================
   POPUP NOTIFICATION SYSTEM
   ======================================== */

.notification-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: #ffffff;
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    min-width: 320px;
    max-width: 90%;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.notification-popup.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: auto;
}

.notification-popup.error {
    border-left: 4px solid var(--error-color);
    background: linear-gradient(to right, rgba(239, 68, 68, 0.05), #ffffff);
}

.notification-popup.success {
    border-left: 4px solid var(--success-color);
    background: linear-gradient(to right, rgba(16, 185, 129, 0.05), #ffffff);
}

.notification-popup.info {
    border-left: 4px solid var(--primary-color);
    background: linear-gradient(to right, rgba(91, 192, 235, 0.05), #ffffff);
}

.notification-popup .notification-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.notification-popup.error .notification-icon {
    color: var(--error-color);
}

.notification-popup.success .notification-icon {
    color: var(--success-color);
}

.notification-popup.info .notification-icon {
    color: var(--primary-color);
}

.notification-popup .notification-message {
    font-size: 1rem;
    font-weight: 500;
    color: #2d3748;
    margin: 0;
    line-height: 1.5;
}

.notification-popup.error .notification-message {
    color: #991b1b;
}

.notification-popup.success .notification-message {
    color: #065f46;
}

.notification-popup.info .notification-message {
    color: #1e293b;
}

.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.notification-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

/* Dark mode overrides for auth pages */
body.dark-mode .auth-page {
    background:
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.15), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.12), transparent 50%),
        linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f172a 100%);
}

body.dark-mode .auth-card {
    background-color: rgba(30, 41, 59, 0.95);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(139, 92, 246, 0.2);
}

body.dark-mode .auth-card h1 {
    color: #e2e8f0;
}

body.dark-mode .auth-form .form-group label {
    color: #cbd5e0;
}

body.dark-mode .auth-form .form-group input {
    background-color: rgba(15, 23, 42, 0.6);
    border-color: rgba(139, 92, 246, 0.3);
    color: #e2e8f0;
}

body.dark-mode .auth-form .form-group input:focus {
    border-color: #8b5cf6;
    background-color: rgba(30, 41, 59, 0.8);
    box-shadow:
        0 0 0 4px rgba(139, 92, 246, 0.15),
        0 4px 12px rgba(139, 92, 246, 0.1);
}

body.dark-mode .form-row-inline .remember-me,
body.dark-mode .form-group-inline .terms-label,
body.dark-mode .auth-meta {
    color: #94a3b8;
}

body.dark-mode .auth-actions .btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
    box-shadow:
        0 4px 15px rgba(139, 92, 246, 0.4),
        0 2px 8px rgba(99, 102, 241, 0.2);
}

body.dark-mode .btn-social {
    border-color: rgba(139, 92, 246, 0.4);
    background-color: rgba(30, 41, 59, 0.6);
    color: #cbd5e0;
}

body.dark-mode .btn-social:hover {
    border-color: #8b5cf6;
    background-color: rgba(30, 41, 59, 0.8);
    color: #a78bfa;
}

/* Dark mode for notification popup */
body.dark-mode .notification-popup {
    background-color: #1e293b;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

body.dark-mode .notification-popup.error {
    background: linear-gradient(to right, rgba(239, 68, 68, 0.1), #1e293b);
}

body.dark-mode .notification-popup.success {
    background: linear-gradient(to right, rgba(16, 185, 129, 0.1), #1e293b);
}

body.dark-mode .notification-popup.info {
    background: linear-gradient(to right, rgba(91, 192, 235, 0.1), #1e293b);
}

body.dark-mode .notification-popup .notification-message {
    color: #e2e8f0;
}

body.dark-mode .notification-popup.error .notification-message {
    color: #fca5a5;
}

body.dark-mode .notification-popup.success .notification-message {
    color: #86efac;
}

/* ========================================
   ANIMATION UTILITY CLASSES
   ======================================== */

.animate-fade-in {
    animation: fadeInUp 0.8s ease;
}

.animate-fade-in-delay-1 {
    animation: fadeInUp 0.8s ease 0.1s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.animate-fade-in-delay-3 {
    animation: fadeInUp 0.8s ease 0.3s both;
}

.animate-fade-in-delay-4 {
    animation: fadeInUp 0.8s ease 0.4s both;
}

.animate-scale {
    animation: scaleReveal 0.6s ease;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
    animation: glowPulse 2s ease-in-out infinite;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(6px);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Slide-in variants for smoother luxury motion */
.slide-in-left {
    transform: translateX(-40px);
}

.slide-in-right {
    transform: translateX(40px);
}

.slide-in-left.visible,
.slide-in-right.visible {
    transform: translateX(0);
}

/* ========================================
   RESPONSIVE DESIGN
   Breakpoints:
   - Desktop: 1104px+ (full navigation visible)
   - Tablet: 800px - 1103px (2 column layouts, mobile menu)
   - Mobile: < 800px (1 column layouts)
   - Small Mobile: < 480px (compact spacing)
   ======================================== */

/* ========================================
   DESKTOP 1104px+ - Full Navigation Visible
   ======================================== */
@media (min-width: 1104px) {

    /* Hide nav-admin in nav-menu on desktop */
    .nav-admin {
        display: none !important;
    }

    /* Show admin-btn outside nav-menu on desktop */
    .admin-btn {
        display: flex !important;
    }
}

/* ========================================
   BELOW 1104px - Mobile Menu Visible
   ======================================== */
@media (max-width: 1103px) {

    /* Show Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: flex;
        order: 3;
        position: relative;
        z-index: 1002;
    }

    /* Mobile Navigation Panel - Slide from RIGHT like LP0.webp */
    .nav-menu {
        position: fixed;
        right: -100%;
        left: auto;
        top: 0;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        width: 45%;
        max-width: 320px;
        min-width: 260px;
        height: 75vh;
        max-height: none;
        text-align: left;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
        padding: 4rem 1.5rem 2rem;
        gap: 0;
        z-index: 1001;
        border-radius: 0 0 0 var(--border-radius-lg);
        border-left: 1px solid rgba(91, 192, 235, 0.2);
        overflow-y: auto;
    }

    /* On very small devices give the panel more width/height to avoid squeezing content */
    @media (max-width: 640px) {
        .nav-menu {
            width: 80%;
            max-width: 360px;
            min-width: 260px;
            height: 75vh;
            max-height: none;
            border-radius: 0;
        }
    }

    body.dark-mode .nav-menu {
        background-color: rgba(15, 23, 42, 0.98);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 0.3rem 0;
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 0.65rem 1rem;
        font-size: 1rem;
        border-radius: var(--border-radius);
        transition: background-color var(--transition-fast), color var(--transition-fast);
    }

    .nav-link:hover {
        background-color: rgba(91, 192, 235, 0.1);
    }

    .nav-link::after {
        display: none;
    }

    .nav-auth {
        flex-direction: column;
        width: 100%;
        padding: 0.5rem 0 0;
        margin-top: 0.5rem;
        gap: 0.75rem;
        border-top: 1px solid var(--border-color);
    }

    .nav-auth-btn {
        width: 100%;
        padding: 0.65rem 1.25rem;
        text-align: center;
    }

    /* Show nav-admin in mobile menu */
    .nav-admin {
        display: flex !important;
        /* Show on mobile */
        flex-direction: column;
        width: 100%;
        padding: 0.5rem 0 0;
        margin-top: 0.5rem;
        border-top: 1px solid var(--border-color);
    }

    .nav-admin .nav-auth-btn {
        width: 100%;
        padding: 0.65rem 1.25rem;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .home-dropdown {
        width: 100%;
    }

    .home-dropdown-label {
        display: block;
        width: 100%;
        text-align: left;
        padding: 0.65rem 1rem;
        border-radius: var(--border-radius);
    }

    .home-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 0.25rem 0 0.5rem 1rem;
        align-items: flex-start;
        background-color: transparent;
    }

    .home-dropdown-menu .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.95rem;
    }

    /* Header adjustments */
    .header-actions {
        gap: 0.5rem;
        position: relative;
        z-index: 1001;
    }

    .admin-btn {
        display: none;
    }

    /* Hide nav-admin on dashboard page in mobile */
    .dashboard-header .nav-admin {
        display: none;
    }

    .lang-toggle {
        padding: 0.35rem 0.65rem;
        font-size: 0.8rem;
        order: 1;
    }

    .theme-toggle {
        padding: 0.4rem;
        width: 2.25rem;
        height: 2.25rem;
        order: 2;
    }

    /* Mobile Menu Close Button */
    .mobile-menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        border: none;
        background: transparent;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background-color var(--transition-fast);
        z-index: 10;
    }

    .mobile-menu-close:hover {
        background-color: rgba(91, 192, 235, 0.1);
    }

    .mobile-menu-close::before,
    .mobile-menu-close::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 2px;
        background: var(--text-dark);
        border-radius: 2px;
    }

    .mobile-menu-close::before {
        transform: rotate(45deg);
    }

    .mobile-menu-close::after {
        transform: rotate(-45deg);
    }

    body.dark-mode .mobile-menu-close::before,
    body.dark-mode .mobile-menu-close::after {
        background: var(--text-light);
    }
}

/* ========================================
   TABLET: 800px - 1023px (2 columns)
   ======================================== */
@media (max-width: 1023px) and (min-width: 800px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-preview {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-alt-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-alt-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   MOBILE: Below 800px (1 column)
   ======================================== */
@media (max-width: 799px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

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

    .hero {
        padding: 5rem 0;
    }

    /* 1 Column Layouts */
    .features-grid,
    .services-grid,
    .services-preview,
    .testimonials-grid,
    .values-grid,
    .services-alt-grid,
    .process-alt-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 0.75rem;
    }

    .hero-alt-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }

    .hero-alt-text {
        text-align: center;
    }

    .hero-alt .hero-buttons {
        justify-content: center;
    }

    .hero-alt-panel {
        max-width: 100%;
    }

    .hero-alt-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
    }

    .page-header {
        padding: 4rem 0;
    }

    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-number {
        margin-bottom: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-bottom p {
        flex: none;
        text-align: center;
    }

    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   SMALL MOBILE: Below 480px
   ======================================== */
@media (max-width: 479px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-alt {
        padding: 4rem 0;
    }

    .hero-alt-grid {
        padding: 1.5rem 0;
        gap: 1.5rem;
    }

    .hero-alt-panel {
        padding: 2rem;
    }

    .hero h1 {
        font-size: 1.85rem;
    }

    .services,
    .about,
    .contact,
    .featured-services,
    .testimonials,
    .why-choose-us {
        padding: 3.5rem 0;
    }

    .btn {
        padding: 0.6rem 1.1rem;
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
    }

    .hero-alt-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .hero-alt-stats>div {
        padding: 0.85rem 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .auth-page {
        padding: 1.5rem 1rem;
    }

    .auth-card {
        padding: 2.25rem 1.75rem;
        max-width: 100%;
        border-radius: 20px;
    }

    .auth-card h1 {
        font-size: 1.75rem;
    }

    .auth-card-logo {
        margin-bottom: 1.25rem;
    }

    .form-row-inline {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .auth-social-buttons {
        flex-direction: column;
    }

    .btn-social {
        max-width: 100%;
        width: 100%;
    }

    .testimonials-alt-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }
}

/* ========================================
   WAVE SEPARATOR (Like LP0.webp reference)
   ======================================== */

.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-separator svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.wave-separator .shape-fill {
    fill: var(--bg-white);
}

body.dark-mode .wave-separator .shape-fill {
    fill: var(--bg-light);
}

.wave-separator-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-separator-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

/* Hero with wave */
.hero {
    position: relative;
    padding-bottom: 8rem;
}

/* Removed duplicate .hero-alt definition - padding already set above */

.hero-alt::after {
    content: '';
    position: absolute;
    inset: -12%;
    background:
        linear-gradient(135deg, rgba(91, 192, 235, 0.2) 0%, rgba(219, 234, 254, 0.16) 60%, rgba(91, 192, 235, 0.2) 100%),
        repeating-linear-gradient(125deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 2px, transparent 6px);
    mix-blend-mode: screen;
    opacity: 0.3;
    filter: blur(0.2px);
    z-index: 1;
}

.hero-alt .hero-alt-grid {
    position: relative;
    z-index: 2;
}

/* Fade-in text reveal (luxury, minimal) */
.text-reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: textReveal 0.9s ease forwards;
}

.text-reveal[data-delay="1"] {
    animation-delay: 0.12s;
}

.text-reveal[data-delay="2"] {
    animation-delay: 0.24s;
}

.text-reveal[data-delay="3"] {
    animation-delay: 0.36s;
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(18px);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}


/* Hero content stays static (glow/hover only; no entry animations) */

/* ========================================
   ADDITIONAL VISUAL EFFECTS (From Prompt)
   ======================================== */

/* Text Glow on Hover */
.glow-text:hover,
.hero h1:hover {
    text-shadow: 0 0 30px rgba(91, 192, 235, 0.7);
    transition: text-shadow var(--transition-base);
}

@keyframes heroGlow {
    0% {
        filter: hue-rotate(0deg);
    }

    50% {
        filter: hue-rotate(8deg) brightness(1.03);
    }

    100% {
        filter: hue-rotate(0deg);
    }
}

@keyframes sheenSweep {
    0% {
        transform: translateX(-10%) translateY(-4%) rotate(0.5deg);
        opacity: 0.25;
    }

    50% {
        transform: translateX(6%) translateY(3%) rotate(-0.5deg);
        opacity: 0.4;
    }

    100% {
        transform: translateX(-10%) translateY(-4%) rotate(0.5deg);
        opacity: 0.25;
    }
}

/* Staggered Card Animations */
.feature-card:nth-child(1),
.service-card:nth-child(1),
.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2),
.service-card:nth-child(2),
.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3),
.service-card:nth-child(3),
.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4),
.service-card:nth-child(4),
.testimonial-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Radial Gradient Overlay on Cards */
.feature-card::after,
.service-preview-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(91, 192, 235, 0.05), transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-base);
    border-radius: inherit;
}

.feature-card:hover::after,
.service-preview-card:hover::after {
    opacity: 1;
}

.feature-card,
.service-preview-card {
    position: relative;
}

/* Image Hover Effects */
img {
    transition: transform var(--transition-base), filter var(--transition-base);
}

img:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

/* Animated Border on Focus */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(91, 192, 235, 0.15), 0 0 20px rgba(91, 192, 235, 0.2);
}

/* Gradient Button Glow */
.btn-primary {
    position: relative;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    box-shadow: 0 0 20px rgba(91, 192, 235, 0.4);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-primary:hover::after {
    opacity: 1;
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Partner/Client Logos Section (like LP0.webp) */
.partners-section {
    padding: 3rem 0;
    background-color: var(--bg-white);
    border-top: 1px solid var(--border-color);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition-base);
    height: 30px;
    width: auto;
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Typewriter Effect Cursor */
.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    animation: typewriter 3.5s steps(40, end), blink 0.75s step-end infinite;
}

/* Floating Elements Animation */
.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-slow {
    animation: float 8s ease-in-out infinite;
}

.floating-fast {
    animation: float 4s ease-in-out infinite;
}

/* Pulsing Elements */
.pulsing {
    animation: pulse 2s ease-in-out infinite;
}

/* Rotating Background Gradient */
.rotating-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark), var(--primary-color));
    background-size: 200% 200%;
    animation: rotate 20s linear infinite;
}

/* Enhanced Card Hover with Glow */
.service-card:hover,
.feature-card:hover,
.testimonial-card:hover,
.stat-item:hover {
    box-shadow: var(--shadow-card-hover), 0 0 30px rgba(91, 192, 235, 0.15);
}

/* No scroll when mobile menu is open */
body.no-scroll,
body.menu-open {
    overflow: hidden;
}

/* Text Shadow Glow Effect on Hover */
.hero h1:hover,
.section-title:hover,
h2:hover {
    text-shadow: 0 0 30px rgba(91, 192, 235, 0.7);
    transition: text-shadow var(--transition-base);
}

/* Glowing Link Effects */
.nav-link:hover,
.footer-links a:hover {
    text-shadow: 0 0 20px rgba(91, 192, 235, 0.5);
}

/* Button Gradient Animation */
.btn-primary {
    background: linear-gradient(135deg, #5BC0EB 0%, #93c5fd 45%, #0ea5e9 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Focus States with Glow */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 15px rgba(91, 192, 235, 0.4);
}

/* ========================================
   RTL SUPPORT (Arabic)
   ======================================== */

[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .nav-menu {
    left: auto;
    right: -100%;
    border-right: none;
    border-left: 1px solid rgba(91, 192, 235, 0.2);
}

[dir="rtl"] .nav-menu.active {
    right: 0;
    left: auto;
}

[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

/* RTL Wave Separator */
[dir="rtl"] .wave-separator {
    transform: rotate(180deg) scaleX(-1);
}

[dir="rtl"] .service-link::after {
    content: '←';
}

[dir="rtl"] .service-link:hover::after {
    transform: translateX(-5px);
}

[dir="rtl"] .footer-links a:hover,
[dir="rtl"] .footer-contact a:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .contact-item:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .service-features li:hover {
    transform: translateX(-5px);
}

[dir="rtl"] .service-features li {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

[dir="rtl"] .mission-card,
[dir="rtl"] .vision-card {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

[dir="rtl"] .service-benefits li {
    padding-left: 0;
    padding-right: 1.75rem;
}

[dir="rtl"] .service-benefits li::before {
    left: auto;
    right: 0;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

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

.bg-gradient {
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
}

.glow-effect {
    box-shadow: var(--shadow-glow);
}

.no-scroll {
    overflow: hidden;
}

/* Visually Hidden (Accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.freeze-header,
.freeze-header * {
    transition: none !important;
    animation: none !important;
}

.process-alt-header {
    display: flex;
    align-items: center;
    justify-content: center;
    /* centers the pair horizontally */
    gap: 0.75rem;
    /* spacing between number and heading */
    margin-bottom: 1rem;
}

.process-alt-header h3,
.process-alt-header .process-alt-step {
    margin: 0;
    /* remove unwanted spacing */
    padding: 0;
}

/* ========================================
   DASHBOARD PAGE STYLES
   Creative, Animated & Centered Design
   ======================================== */

/* Dashboard Main Container */
.dashboard-main {
    min-height: calc(100vh - 80px);
    padding: 3rem 0;
    background: linear-gradient(135deg,
            rgba(91, 192, 235, 0.05) 0%,
            rgba(14, 165, 233, 0.03) 50%,
            rgba(255, 255, 255, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.dashboard-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(91, 192, 235, 0.1), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.08), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.dashboard-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Dashboard Header Section */
.dashboard-header-section {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInDown 0.8s ease-out;
}

.dashboard-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease-out 0.2s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

.dashboard-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    animation: fadeInDown 0.8s ease-out 0.4s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

body.dark-mode .dashboard-subtitle {
    color: var(--text-light);
}

/* Dashboard Info Grid */
.dashboard-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both;
    min-width: 0;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5BC0EB 0%, #0ea5e9 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(91, 192, 235, 0.2);
    border-color: rgba(91, 192, 235, 0.3);
}

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

.info-card:nth-child(1) {
    animation-delay: 0.1s;
}

.info-card:nth-child(2) {
    animation-delay: 0.2s;
}

.info-card:nth-child(3) {
    animation-delay: 0.3s;
}

.info-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1.5rem;
    animation: bounceIn 0.8s ease-out;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.info-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.info-stat-item {
    text-align: center;
    flex: 1;
    min-width: 0;
    padding: 0 0.25rem;
}

.info-stat-value {
    display: block;
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 700;
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
}

.info-stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

.info-progress {
    margin-top: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #5BC0EB 0%, #0ea5e9 100%);
    border-radius: 10px;
    animation: progressFill 1.5s ease-out;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Position List */
.position-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.position-item {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    min-width: 0;
}

.position-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(91, 192, 235, 0.15);
}

.position-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.position-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.position-applicants {
    color: var(--text-light);
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
}

.position-status {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.status-active {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    min-width: 0;
}

.action-btn:hover {
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(91, 192, 235, 0.3);
}

.action-btn svg {
    flex-shrink: 0;
}

/* Schedule Panel */
.schedule-panel {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out 0.4s both;
    min-width: 0;
}

.panel-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    gap: 1rem;
    flex-wrap: wrap;
    text-align: center;
}

.panel-header .panel-title {
    flex: 1;
    text-align: center;
}

.panel-header .btn-sm {
    flex-shrink: 0;
}

.panel-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.schedule-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.schedule-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    animation: slideInRight 0.5s ease-out both;
    align-items: flex-start;
    min-width: 0;
}

.schedule-item:nth-child(1) {
    animation-delay: 0.1s;
}

.schedule-item:nth-child(2) {
    animation-delay: 0.2s;
}

.schedule-item:nth-child(3) {
    animation-delay: 0.3s;
}

.schedule-item:nth-child(4) {
    animation-delay: 0.4s;
}

.schedule-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(91, 192, 235, 0.2);
}

.schedule-time {
    font-weight: 600;
    color: var(--primary-color);
    min-width: 80px;
    font-size: 0.95rem;
    flex-shrink: 0;
    text-align: left;
}

.schedule-details {
    flex: 1;
    min-width: 0;
}

.schedule-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.schedule-details p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.schedule-status {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.status-scheduled {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.status-in-progress {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.status-upcoming {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both;
    min-width: 0;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(91, 192, 235, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(91, 192, 235, 0.25);
    border-color: rgba(91, 192, 235, 0.3);
}

.stat-card:hover::after {
    opacity: 1;
}

.stat-card:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: bounceIn 0.8s ease-out;
}

.stat-info {
    position: relative;
    z-index: 1;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

/* Dashboard Info Sections */
.dashboard-info-section {
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out both;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #5BC0EB 0%, #0ea5e9 100%);
    border-radius: 2px;
}

/* Candidates Grid */
.candidates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.candidate-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    text-align: center;
    animation: fadeInUp 0.6s ease-out both;
    min-width: 0;
}

.candidate-card:nth-child(1) {
    animation-delay: 0.1s;
}

.candidate-card:nth-child(2) {
    animation-delay: 0.2s;
}

.candidate-card:nth-child(3) {
    animation-delay: 0.3s;
}

.candidate-card:nth-child(4) {
    animation-delay: 0.4s;
}

.candidate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(91, 192, 235, 0.2);
    border-color: rgba(91, 192, 235, 0.3);
}

.candidate-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(91, 192, 235, 0.3);
    animation: scaleIn 0.6s ease-out;
}

.candidate-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    text-align: center;
}

.candidate-role {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

.candidate-status {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.status-badge {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.status-interview {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.status-shortlisted {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.status-new {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.status-hired {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.candidate-date {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.metric-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease-out both;
    min-width: 0;
}

.metric-card:nth-child(1) {
    animation-delay: 0.1s;
}

.metric-card:nth-child(2) {
    animation-delay: 0.2s;
}

.metric-card:nth-child(3) {
    animation-delay: 0.3s;
}

.metric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(91, 192, 235, 0.2);
    border-color: rgba(91, 192, 235, 0.3);
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.metric-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    flex: 1;
    min-width: 0;
}

.metric-trend {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    flex-shrink: 0;
    white-space: nowrap;
}

.trend-up {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.metric-description {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.metric-chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 100px;
    gap: 0.5rem;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(180deg, #5BC0EB 0%, #0ea5e9 100%);
    border-radius: 4px 4px 0 0;
    animation: growUp 1s ease-out;
}

.metric-progress {
    display: flex;
    justify-content: center;
}

.progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.progress-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.progress-bg {
    fill: none;
    stroke: var(--bg-light);
    stroke-width: 8;
}

.progress-fill-circle {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 251.2;
    transition: stroke-dashoffset 1s ease-out;
    animation: drawCircle 1.5s ease-out;
}

.progress-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #5BC0EB 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    font-size: 1.5rem;
}

.star {
    color: #e5e7eb;
}

.star.filled {
    color: #fbbf24;
    animation: starFill 0.5s ease-out;
}

/* Tasks List */
.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.task-item {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    transition: all 0.3s ease;
    animation: slideInLeft 0.5s ease-out both;
}

.task-item:nth-child(1) {
    animation-delay: 0.1s;
}

.task-item:nth-child(2) {
    animation-delay: 0.2s;
}

.task-item:nth-child(3) {
    animation-delay: 0.3s;
}

.task-item:nth-child(4) {
    animation-delay: 0.4s;
}

.task-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(91, 192, 235, 0.2);
}

.task-item.priority-high {
    border-left-color: #ef4444;
}

.task-item.priority-medium {
    border-left-color: #f59e0b;
}

.task-item.priority-low {
    border-left-color: #10b981;
}

.task-checkbox {
    flex-shrink: 0;
}

.task-content {
    flex: 1;
    min-width: 0;
}

.task-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.task-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
}

.task-priority {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--bg-light);
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.task-time {
    font-size: 0.9rem;
    color: var(--text-light);
    flex-shrink: 0;
    text-align: right;
    white-space: nowrap;
}

/* Dark Mode Adjustments */
body.dark-mode .info-card,
body.dark-mode .schedule-panel,
body.dark-mode .stat-card,
body.dark-mode .candidate-card,
body.dark-mode .metric-card,
body.dark-mode .task-item {
    background-color: var(--background-darker);
    border-color: rgba(91, 192, 235, 0.2);
}

body.dark-mode .position-item,
body.dark-mode .schedule-item {
    background-color: rgba(15, 23, 42, 0.5);
}

body.dark-mode .action-btn {
    background-color: rgba(15, 23, 42, 0.5);
    border-color: rgba(91, 192, 235, 0.2);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes progressFill {
    from {
        width: 0;
    }
}

@keyframes growUp {
    from {
        height: 0;
    }
}

@keyframes drawCircle {
    from {
        stroke-dashoffset: 251.2;
    }
}

@keyframes starFill {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 1023px) {
    .dashboard-title {
        font-size: 2.25rem;
    }

    .dashboard-info-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    .candidates-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 640px) {
    .dashboard-main {
        padding: 2rem 0;
    }

    .dashboard-title {
        font-size: 1.75rem;
    }

    .dashboard-subtitle {
        font-size: 1rem;
    }

    .info-card,
    .stat-card {
        padding: 1.5rem;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }

    .candidates-grid {
        grid-template-columns: 1fr;
    }

    .info-stat-value {
        font-size: 1.5rem;
    }

    .info-stats {
        gap: 0.5rem;
    }

    .info-stat-item {
        padding: 0 0.25rem;
    }

    .schedule-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .schedule-time {
        min-width: auto;
        width: 100%;
        text-align: left;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .schedule-details {
        width: 100%;
        min-width: 0;
    }

    .schedule-details h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .schedule-details p {
        font-size: 0.85rem;
        line-height: 1.5;
        word-break: normal;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .schedule-panel {
        padding: 1.25rem;
    }

    .task-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }

    .task-checkbox {
        align-self: flex-start;
    }

    .task-content {
        width: 100%;
        order: 1;
    }

    .task-time {
        order: 2;
        align-self: flex-start;
        text-align: left;
        width: 100%;
        margin-top: 0.5rem;
        white-space: normal;
    }

    .task-content h3 {
        font-size: 1rem;
        line-height: 1.4;
    }

    .task-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .panel-header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }

    .panel-header .btn-sm {
        align-self: center;
    }
}

@media (max-width: 479px) {
    .dashboard-container {
        padding: 0 1rem;
    }

    .schedule-item {
        padding: 1rem;
        gap: 0.75rem;
    }

    .schedule-time {
        font-size: 0.9rem;
    }

    .schedule-details h3 {
        font-size: 0.95rem;
    }

    .schedule-details p {
        font-size: 0.8rem;
    }

    .schedule-panel {
        padding: 1rem;
    }

    .task-item {
        padding: 1rem;
        gap: 0.75rem;
    }

    .task-content h3 {
        font-size: 0.95rem;
    }

    .task-content p {
        font-size: 0.8rem;
    }

    .info-stat-value {
        font-size: 1.25rem;
    }

    .info-stats {
        gap: 0.25rem;
    }

    .info-stat-item {
        padding: 0 0.125rem;
    }

    .info-stat-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .info-stat-value {
        font-size: 1.1rem;
    }

    .info-stat-label {
        font-size: 0.7rem;
    }

    .info-stats {
        gap: 0.125rem;
    }
}