/* =========================================
   DAWSHA E-COMMERCE — MAIN STYLESHEET
   ========================================= */

:root {
    --primary: #082067;
    --primary-dark: #082066;
    --primary-light: #5992c6;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #082067;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.10);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --transition: all 0.25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif !important;
    direction: rtl;
    background: var(--gray-50);
    color: var(--gray-800);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}


/* ======= TOPBAR ======= */

.topbar {
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.75rem;
    color: var(--gray-500);
    padding: 0.5rem 0;
}

.topbar .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar .links {
    display: flex;
    gap: 1.5rem;
    font-weight: 600;
}

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


/* ======= NAVBAR ======= */

.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.navbar .inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary);
    shrink: 0;
    flex-shrink: 0;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: #082067;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(10, 42, 146, 0.35);
}

.brand-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
}

.search-form {
    flex: 1;
    max-width: 700px;
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 0.85rem 1.5rem 0.85rem 3.5rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-800);
    outline: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.search-form input:focus {
    border-color: var(--primary);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 0 0 4px rgba(10, 42, 146, 0.1);
}

.search-form button {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1rem;
}

.search-form button:hover {
    background: var(--primary-dark);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--gray-100);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.15rem;
}

.nav-icon-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-icon-btn.cart-btn {
    background: var(--primary-light);
    color: var(--primary);
}

.nav-icon-btn.cart-btn:hover {
    background: var(--primary);
    color: #fff;
}

.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--gray-900);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.register-badge {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    background: rgba(10, 42, 146, 0.1);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 12px;
    border: 1px solid rgba(10, 42, 146, 0.2);
}

.hamburger {
    display: none;
}


/* ======= MAIN NAV BAR (categories) ======= */

.cat-nav {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--gray-100);
}

.cat-nav .inner {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 0.7rem 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-600);
    overflow-x: auto;
}

.cat-nav a {
    white-space: nowrap;
    padding: 0.35rem 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cat-nav a:hover,
.cat-nav a.active {
    color: var(--primary);
}


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

.hero {
    background-image: url('../hero.png');
    background-repeat: no-repeat;
    background-size: contain;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(10, 42, 146, 0.18) 0%, transparent 70%);
    border-radius: 50%;
}

.hero .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-text {
    color: #fff;
    max-width: 540px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(10, 42, 146, 0.15);
    color: var(--primary);
    border: 1px solid rgba(10, 42, 146, 0.3);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 20px rgba(10, 42, 146, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3rem;
}

.stat span {
    font-size: 1.75rem;
    font-weight: 900;
    color: #fff;
}

.stat p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}


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

.section {
    padding: 5rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--gray-900);
}

.section-header h2 span {
    color: var(--primary);
}

.section-header a {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.section-header a:hover {
    color: var(--primary-dark);
}


/* ======= PRODUCT GRID ======= */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}


/* ======= PRODUCT CARD ======= */

.product-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-xl);
    border: 1.5px solid transparent;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--gray-100);
}

.product-img {
    aspect-ratio: 4/5;
    background: var(--gray-50);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-img img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

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

.product-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    z-index: 2;
}

.badge-new {
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

.badge-sale {
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
}

.product-actions {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.action-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-btn.wishlist {
    background: rgba(255, 255, 255, 0.95);
    color: var(--gray-700);
}

.action-btn.wishlist:hover,
.action-btn.wishlist.active {
    background: #ef4444;
    color: #fff;
}

.action-btn.add-cart {
    background: rgba(10, 42, 146, 0.92);
    color: #fff;
}

.action-btn.add-cart:hover {
    background: var(--primary-dark);
}

.action-btn.add-cart.added {
    background: #10b981;
}

.product-info {
    padding: 1.25rem;
}

.product-brand {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    background: var(--gray-100);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin: 0.4rem 0;
}

.stars {
    color: #fbbf24;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.review-count {
    font-size: 0.7rem;
    color: var(--gray-400);
}

.product-name {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.price {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary);
}

.old-price {
    font-size: 0.8rem;
    color: var(--gray-400);
    text-decoration: line-through;
}


/* ======= CATEGORIES SECTION ======= */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.category-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1.5px solid var(--gray-100);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(10, 42, 146, 0.12);
    transform: translateY(-3px);
}

.cat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.category-card h3 {
    font-weight: 700;
    color: var(--gray-800);
    font-size: 0.95rem;
}

.category-card p {
    font-size: 0.78rem;
    color: var(--gray-400);
    margin-top: 0.3rem;
}


/* ======= PROMO BANNER ======= */

.promo-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-xl);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.promo-text color: #fff;
.promo-text h2 {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.5rem;
}

.promo-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

.btn-white {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: var(--primary);
    font-weight: 700;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-white:hover {
    background: var(--gray-100);
}


/* ======= SHOP PAGE ======= */

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    padding: 3rem 0;
}

.shop-sidebar {
    position: sticky;
    top: 90px;
    align-self: start;
}

.filter-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    border: 1px solid var(--gray-100);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.filter-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.filter-group {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid var(--gray-100);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group h3 {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.9rem;
}

.cat-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cat-btn {
    background: none;
    border: none;
    text-align: right;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 100%;
}

.cat-btn:hover,
.cat-btn.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.price-inputs input {
    flex: 1;
    padding: 0.65rem 0.9rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    text-align: center;
    outline: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.price-inputs input:focus {
    border-color: var(--primary);
}

.shop-main {}

.toolbar {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border: 1px solid var(--gray-100);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.toolbar p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.toolbar p strong {
    color: var(--gray-900);
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sort-select:focus {
    border-color: var(--primary);
}

.search-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.search-banner span {
    color: var(--gray-700);
    font-size: 0.9rem;
}

.search-banner strong {
    color: var(--primary);
}

.clear-btn {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.clear-btn:hover {
    color: #ef4444;
}


/* ======= EMPTY STATE ======= */

.empty-state {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-xl);
    padding: 5rem 2rem;
    text-align: center;
    border: 1px solid var(--gray-100);
}

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

.empty-state h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--gray-500);
    margin-bottom: 2rem;
}


/* ======= BREADCRUMB ======= */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gray-500);
    padding: 1.5rem 0;
}

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

.breadcrumb .sep {
    color: var(--gray-300);
}

.breadcrumb .current {
    color: var(--gray-900);
    font-weight: 600;
}


/* ======= PRODUCT DETAILS ======= */

.pd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    padding: 3rem;
    margin-bottom: 4rem;
}

.pd-image {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.pd-image img {
    max-height: 420px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.pd-image img:hover {
    transform: scale(1.05);
}

.pd-info {}

.pd-badges {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.pd-info h1 {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.pd-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.in-stock {
    color: #10b981;
    font-weight: 600;
    font-size: 0.9rem;
}

.pd-price {
    margin-bottom: 1.5rem;
}

.pd-price .price {
    font-size: 2.25rem;
    font-weight: 900;
}

.pd-price .old-price {
    font-size: 1.1rem;
}

.pd-desc {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.option-group {
    margin-bottom: 1.5rem;
}

.option-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    display: block;
}

.color-options {
    display: flex;
    gap: 0.75rem;
}

.color-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.color-btn.active,
.color-btn:hover {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.size-options {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.size-btn {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    border: 1.5px solid var(--gray-200);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.size-btn.active,
.size-btn:hover {
    border-color: var(--primary);
    background: rgba(249, 115, 22, 0.06);
    color: var(--primary);
}

.pd-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.qty-control {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 0.35rem;
    width: 130px;
    flex-shrink: 0;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--gray-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.qty-btn:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.qty-val {
    font-weight: 700;
    font-size: 1rem;
}

.btn-cart {
    flex: 1;
    padding: 0.9rem;
    border-radius: var(--radius-md);
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 14px rgba(10, 42, 146, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-cart:hover {
    background: var(--primary-dark);
}

.btn-cart.added {
    background: #10b981;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-wishlist {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--gray-200);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: var(--gray-600);
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-wishlist:hover,
.btn-wishlist.active {
    border-color: #ef4444;
    background: #fef2f2;
    color: #ef4444;
}

.pd-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--gray-100);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.feature-item .icon {
    font-size: 1.25rem;
}


/* ======= CART ======= */

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    padding: 2.5rem 0;
}

.cart-table {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

.cart-thead {
    display: grid;
    grid-template-columns: 3fr 1fr 1.5fr 1fr;
    padding: 1rem 1.5rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--gray-700);
}

.cart-rows {}

.cart-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1.5fr 1fr;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-50);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-row:last-child {
    border-bottom: none;
}

.cart-row:hover {
    background: var(--gray-50);
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--gray-100);
    flex-shrink: 0;
    border: 1px solid var(--gray-100);
}

.cart-prod-name {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.cart-prod-name:hover {
    color: var(--primary);
}

.cart-meta {
    font-size: 0.78rem;
    color: var(--gray-400);
}

.cart-price {
    font-weight: 600;
    color: var(--gray-700);
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1.5px solid var(--gray-200);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    cursor: pointer;
    font-size: 1rem;
    color: var(--gray-600);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-qty-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cart-qty-val {
    width: 28px;
    text-align: center;
    font-weight: 700;
}

.cart-total-price {
    font-weight: 700;
    color: var(--gray-900);
}

.cart-remove {
    color: #ef4444;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.3rem;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-remove:hover {
    background: #fef2f2;
}

.cart-footer {
    padding: 1.25rem 1.5rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.coupon-form {
    display: flex;
    gap: 0.6rem;
}

.coupon-form input {
    padding: 0.65rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    outline: none;
}

.coupon-form input:focus {
    border-color: var(--primary);
}

.btn-apply {
    background: var(--gray-900);
    color: #fff;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-apply:hover {
    background: var(--primary);
}

.continue-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.875rem;
}

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

.order-summary {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    padding: 2rem;
    position: sticky;
    top: 90px;
}

.order-summary h2 {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.summary-row.total {
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--gray-900);
    border-top: 1px solid var(--gray-100);
    padding-top: 1.25rem;
    margin-top: 0.5rem;
}

.summary-row.total span:last-child {
    color: var(--primary);
    font-size: 1.4rem;
}

.summary-discount {
    color: #10b981 !important;
}

.btn-checkout {
    width: 100%;
    background: var(--primary);
    color: #fff;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 14px rgba(10, 42, 146, 0.35);
    margin-top: 1.5rem;
}

.btn-checkout:hover {
    background: var(--primary-dark);
}

.secure-note {
    text-align: center;
    color: var(--gray-400);
    font-size: 0.78rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}


/* ======= AUTH PAGES ======= */

.auth-page {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.auth-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--gray-100);
    padding: 3rem;
    width: 100%;
    max-width: 480px;
    box-shadow: var(--shadow-md);
}

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

.auth-logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary);
}

.auth-card h1 {
    font-size: 1.5rem;
    font-weight: 900;
    text-align: center;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.auth-card .sub {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

    .form-group {
        margin-bottom: 1.75rem;
        position: relative;
    }
    .form-label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 700;
        font-size: 0.9rem;
        color: var(--gray-700);
        margin-bottom: 0.75rem;
        transition: all 0.3s ease;
    }
    .form-label svg {
        width: 18px;
        height: 18px;
        stroke: var(--primary);
        stroke-width: 2;
        opacity: 0.8;
    }
    .form-control {
        width: 100%;
        padding: 1rem 1.25rem;
        border: 2px solid var(--gray-200);
        border-radius: var(--radius-md);
        font-size: 0.95rem;
        font-weight: 500;
        outline: none;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    }
    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 4px rgba(10, 42, 146, 0.12), 0 4px 12px rgba(10, 42, 146, 0.08);
        background: #ffffff;
        transform: translateY(-1px);
    }
    .form-control:hover {
        border-color: var(--gray-300);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    }

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 42, 146, 0.1);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.form-footer a {
    color: var(--primary);
    font-weight: 600;
}

.form-footer label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gray-600);
    cursor: pointer;
}

.btn-auth {
    width: 100%;
    background: var(--primary);
    color: #fff;
    padding: 0.95rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 14px rgba(10, 42, 146, 0.35);
}

.btn-auth:hover {
    background: var(--primary-dark);
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
}

.auth-switch a {
    color: var(--primary);
    font-weight: 700;
}

.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--gray-400);
    font-size: 0.8rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-100);
}


/* ======= REGISTER CHOICE ======= */

.register-choice {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, #fff 50%, var(--gray-50) 100%);
}

.register-choice .container {
    max-width: 800px;
    text-align: center;
}

.choice-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 1rem;
    background: #082067;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.choice-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.choice-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-xl);
    border: 2px solid var(--gray-100);
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.choice-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 42, 146, 0.05), rgba(89, 146, 198, 0.05));
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.choice-btn:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.choice-btn:hover .btn-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(10, 42, 146, 0.4);
}

.choice-btn:hover::before {
    opacity: 1;
}

.choice-btn.beneficiary:hover {
    border-color: #082066;
}

.choice-btn.beneficiary:hover::before {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
}

.choice-btn.provider:hover {
    border-color: #082066;
}

.choice-btn.provider:hover::before {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
}

.btn-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #082067;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 25px rgba(10, 42, 146, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    animation: gentleFloat 3s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.choice-btn.beneficiary .btn-icon {
    background: var(--primary-dark);
    box-shadow: 0 8px 25px var(--primary-dark);
    ;
}

.choice-btn.provider .btn-icon {
    background: var(--primary-dark);
    box-shadow: 0 8px 25px var(--primary-dark);
    ;
}

.btn-icon svg {
    width: 40px;
    height: 40px;
    stroke: #fff;
    stroke-width: 2;
}

.btn-content {
    position: relative;
    z-index: 2;
}

.btn-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.btn-content p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 0.95rem;
}


/* Choice button entrance animations */

.choice-btn:nth-child(1) {
    animation-delay: 0.1s;
}

.choice-btn:nth-child(2) {
    animation-delay: 0.3s;
}

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

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

@keyframes gentlePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 12px 30px rgba(10, 42, 146, 0.2), 0 6px 15px rgba(10, 42, 146, 0.1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 15px 40px rgba(10, 42, 146, 0.3), 0 8px 20px rgba(10, 42, 146, 0.15);
    }
}


/* Button ripple effect */

.choice-btn {
    position: relative;
    overflow: hidden;
}

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

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

@media (max-width: 768px) {
    .choice-header h1 {
        font-size: 2rem;
    }
    .choice-buttons {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .choice-btn {
        padding: 2rem 1.5rem;
    }
}


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

footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.6);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .brand {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.8;
    max-width: 280px;
}

.footer-col h3 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.footer-col li {
    margin-bottom: 0.65rem;
}

.footer-col li a {
    font-size: 0.875rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-col li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
}


/* ======= TOAST ======= */

.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--gray-900);
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    z-index: 9999;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    box-shadow: var(--shadow-lg);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: #10b981;
}


/* ======= RESPONSIVE ======= */

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .pd-layout {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
    .search-form {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .cat-nav {
        display: none;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .shop-layout {
        grid-template-columns: 1fr;
    }
    .shop-sidebar {
        position: static;
    }
    .pd-layout {
        grid-template-columns: 1fr;
    }
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .cart-thead {
        display: none;
    }
    .cart-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .hero {
        padding: 3rem 0;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
}


/* ======= REGISTER PAGE ======= */

.register-page {
    min-height: calc(100vh - 180px);
    padding: 3rem 1rem;
    background: linear-gradient(135deg, var(--gray-50) 0%, #fff 50%, var(--gray-50) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-container {
    max-width: 900px;
    width: 100%;
}

.register-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.register-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.register-icon svg {
    width: 88px;
    height: 88px;
    stroke: var(--primary);
    stroke-width: 1.5;
    background: linear-gradient(145deg, rgba(10, 42, 146, 0.15), rgba(89, 146, 198, 0.15));
    border-radius: 50%;
    padding: 1.25rem;
    box-shadow: 0 12px 30px rgba(10, 42, 146, 0.2), 0 6px 15px rgba(10, 42, 146, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: gentlePulse 2s ease-in-out infinite;
}

.register-icon svg:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(10, 42, 146, 0.3), 0 8px 20px rgba(10, 42, 146, 0.15);
}

.register-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--gray-900), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.register-subtitle {
    font-size: 1.15rem;
    color: var(--gray-500);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.6;
}

.register-form-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(10, 42, 146, 0.1);
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), 0 15px 35px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: slideInUp 0.6s ease-out;
}

.register-form-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), 0 20px 40px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.register-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.alert {
    border-radius: var(--radius-md);
    border: none;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.alert-danger {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    color: #dc2626;
    border-left: 4px solid #dc2626;
}

.alert-success {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    color: #16a34a;
    border-left: 4px solid #16a34a;
}

.alert ul {
    margin: 0;
    padding-left: 1rem;
}

.alert li {
    margin-bottom: 0.25rem;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: inherit;
    opacity: 0.7;
    cursor: pointer;
    padding: 0.25rem;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.btn-close:hover {
    opacity: 1;
}

.register-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.form-label svg {
    width: 18px;
    height: 18px;
    stroke: var(--primary);
    stroke-width: 2;
    opacity: 0.8;
    flex-shrink: 0;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    font-size: 0.95rem;
    color: var(--gray-800);
    outline: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 42, 146, 0.12), 0 4px 12px rgba(10, 42, 146, 0.08);
    background: #ffffff;
    transform: translateY(-1px);
}

.form-control:hover {
    border-color: var(--gray-300);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.form-control-lg {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
}

.form-control::placeholder {
    color: var(--gray-400);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group.full-width {
    grid-column: span 2;
}

@media (max-width: 640px) {
    .register-form {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
}

.btn-register {
    width: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 1.25rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.15rem;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(10, 42, 146, 0.4), 0 4px 12px rgba(10, 42, 146, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
}

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

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

.btn-register:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(10, 42, 146, 0.5), 0 6px 15px rgba(10, 42, 146, 0.3);
}

.btn-register:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(10, 42, 146, 0.4), 0 3px 10px rgba(10, 42, 146, 0.2);
}

.btn-register svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.btn-register:hover svg {
    transform: translateX(3px);
}

.register-links {
    text-align: center;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(10, 42, 146, 0.1);
}

.register-links p {
    margin-bottom: 1rem;
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

.register-links a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.register-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width 0.3s ease;
}

.register-links a:hover::after {
    width: 100%;
}

.register-links a:hover {
    color: var(--primary-dark);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .register-page {
        padding: 2rem 1rem;
    }
    .register-title {
        font-size: 1.8rem;
    }
    .register-subtitle {
        font-size: 1rem;
    }
    .register-form-card {
        padding: 2rem;
    }
    .register-icon svg {
        width: 60px;
        height: 60px;
    }

    /* Make form label icons consistent on mobile like desktop */
    .register-form .form-label svg,
    .form-label svg {
        width: 20px !important;
        height: 20px !important;
        flex-shrink: 0;
        margin-left: 6px;
    }

    .form-label {
        font-size: 0.95rem;
        gap: 0.4rem;
    }
}


/* ======= ABOUT PAGE ======= */


/* ======= MISSION VISION VALUES SECTION ======= */

.about-mission-vision {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.about-mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mission-bg" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(0,123,255,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(0,123,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23mission-bg)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.mission-vision-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 3px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
}

.mission-vision-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 6rem;
}

.mv-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.mv-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 123, 255, 0.15), 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.card-decoration {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, rgba(0, 123, 255, 0.05) 100%);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.mv-card:hover .decoration-circle {
    transform: scale(1.2);
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.15) 0%, rgba(0, 123, 255, 0.08) 100%);
}

.decoration-line {
    position: absolute;
    top: 40px;
    right: 20px;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.mv-card:hover .decoration-line {
    transform: scaleX(1);
}

.card-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.card-icon-wrapper {
    flex-shrink: 0;
}

.card-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.mv-card:hover .card-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 16px 45px rgba(0, 123, 255, 0.4);
}

.mv-card:hover .card-icon::before {
    transform: translateX(100%);
}

.card-icon svg {
    width: 48px;
    height: 48px;
    stroke: #fff;
    stroke-width: 2;
    z-index: 1;
    position: relative;
}

.card-text {
    flex: 1;
}

.card-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-700) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.mv-card:hover .card-title {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}

.mv-card:hover .card-description {
    color: var(--gray-700);
}

.card-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 123, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.mv-card:hover .card-hover-effect {
    opacity: 1;
}


/* Values Section */

.values-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary-dark));
    background-size: 200% 100%;
    animation: gradientMove 4s linear infinite;
}

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

.values-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.values-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin: 0;
}

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

.value-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid rgba(0, 123, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: valueSlideIn 0.6s ease forwards;
}

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

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.15);
    border-color: var(--primary);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
    transition: all 0.4s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.3);
}

.value-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-content {
    position: relative;
}

.value-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.value-item:hover .value-title {
    color: var(--primary);
}

.value-underline {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    margin: 0 auto;
    transition: width 0.4s ease;
}

.value-item:hover .value-underline {
    width: 60px;
}

.about-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary-light) 100%);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    color: #fff;
    animation: gradientShift 8s ease infinite;
}

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

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.about-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

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

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.9) 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
    0% {
        filter: brightness(1);
    }
    100% {
        filter: brightness(1.1);
    }
}

.about-hero p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-content {
    padding: 5rem 0;
    background: var(--gray-50);
}

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

.about-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    text-align: center;
    border: 1.5px solid var(--gray-100);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary-dark));
    background-size: 200% 100%;
    animation: gradientMove 3s linear infinite;
}

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

.about-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: scale(0.8);
}

.about-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
    border-color: var(--primary);
}

.about-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(10, 42, 146, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.card-icon:hover {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(10, 42, 146, 0.4);
}

.card-icon:hover::before {
    transform: translateX(100%);
}

.card-icon svg {
    width: 36px;
    height: 36px;
    stroke: #fff;
    stroke-width: 2;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

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

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.about-card p {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1rem;
}

.about-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-card li {
    color: var(--gray-700);
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.about-card li:last-child {
    border-bottom: none;
}

.about-details {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.details-content h2 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.details-content h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

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

.detail-item {
    background: linear-gradient(135deg, var(--gray-50) 0%, #ffffff 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    border: 1px solid var(--gray-100);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.detail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.detail-item:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.1);
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary);
}

.detail-item:hover::before {
    transform: scaleX(1);
}

.detail-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
    transition: all 0.4s ease;
}

.detail-item:hover .detail-icon {
    transform: rotateY(180deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.3);
}

.detail-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

.detail-item h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.detail-item:hover h4 {
    color: var(--primary);
}

.detail-item p {
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
    transition: color 0.3s ease;
}

.detail-item:hover p {
    color: var(--gray-700);
}

.about-stats {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    color: #fff;
}

.about-stats h2 {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 3rem;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.2);
}

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

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.stat-card:hover .stat-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 123, 255, 0.4);
}

.stat-card:hover .stat-icon::before {
    transform: translateX(100%);
}

.stat-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
    z-index: 1;
    position: relative;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: all 0.3s ease;
}

.stat-number.animated {
    animation: numberGlow 0.5s ease-in-out;
}

@keyframes numberGlow {
    0%,
    100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.stat-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.stat-progress {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
    width: 0%;
    transition: width 2s ease-out;
}

.stat-card.animated .progress-bar {
    width: 100%;
}

@media (max-width: 768px) {
    .about-hero {
        padding: 5rem 0 4rem;
    }
    .about-hero h1 {
        font-size: 3rem;
        line-height: 1.2;
    }
    .about-hero p {
        font-size: 1.2rem;
        padding: 1rem 1.5rem;
        margin-bottom: 0;
    }
    .about-content,
    .about-details,
    .about-stats {
        padding: 4rem 0;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .about-card {
        padding: 2.5rem;
    }
    .detail-item {
        padding: 2rem;
    }
    .detail-icon {
        width: 70px;
        height: 70px;
    }
    .detail-icon svg {
        width: 28px;
        height: 28px;
    }
    .details-content h2,
    .about-stats h2 {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }
    .stat-card {
        padding: 2.5rem 1.5rem;
    }
    .stat-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    .stat-icon svg {
        width: 24px;
        height: 24px;
    }
    .stat-number {
        font-size: 2.5rem;
    }
    .stat-label {
        font-size: 1rem;
    }
    .stat-progress {
        height: 3px;
        margin-top: 0.5rem;
    }
    /* Mission Vision Responsive */
    .about-mission-vision {
        padding: 4rem 0;
    }
    .mission-vision-header {
        margin-bottom: 3rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .section-subtitle {
        font-size: 1.1rem;
    }
    .mission-vision-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    .mv-card {
        padding: 2rem;
    }
    .card-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .card-icon {
        width: 80px;
        height: 80px;
    }
    .card-icon svg {
        width: 36px;
        height: 36px;
    }
    .card-title {
        font-size: 1.6rem;
    }
    .card-description {
        font-size: 1rem;
    }
    .values-section {
        padding: 3rem 2rem;
    }
    .values-title {
        font-size: 2rem;
    }
    .values-subtitle {
        font-size: 1rem;
    }
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .value-item {
        padding: 1.5rem 1rem;
    }
    .value-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    .value-number {
        font-size: 1.5rem;
    }
    .value-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .about-mission-vision {
        padding: 3rem 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
    .mv-card {
        padding: 1.5rem;
    }
    .card-icon {
        width: 70px;
        height: 70px;
    }
    .card-icon svg {
        width: 28px;
        height: 28px;
    }
    .card-title {
        font-size: 1.4rem;
    }
    .card-description {
        font-size: 0.95rem;
    }
    .values-section {
        padding: 2rem 1.5rem;
    }
    .values-title {
        font-size: 1.8rem;
    }
    .value-item {
        padding: 1.2rem 0.8rem;
    }
    .value-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }
    .value-number {
        font-size: 1.2rem;
    }
    .value-title {
        font-size: 1.1rem;
    }
    .about-hero {
        .about-hero {
            padding: 4rem 0 3rem;
        }
        .about-hero h1 {
            font-size: 2.5rem;
        }
        .about-hero p {
            font-size: 1rem;
            padding: 1rem;
        }
        .stats-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        .stat-card {
            padding: 2rem 1.5rem;
        }
        .stat-icon {
            width: 50px;
            height: 50px;
            margin-bottom: 1rem;
        }
        .stat-icon svg {
            width: 20px;
            height: 20px;
        }
        .stat-number {
            font-size: 2rem;
            margin-bottom: 0.3rem;
        }
        .stat-label {
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
        }
        .stat-progress {
            height: 2px;
            margin-top: 0.3rem;
        }
        .detail-item {
            padding: 1.5rem;
        }
        .detail-icon {
            width: 60px;
            height: 60px;
            margin-bottom: 1rem;
        }
        .detail-icon svg {
            width: 24px;
            height: 24px;
        }
    }
    /* ======= LOGIN PAGES ======= */
    .login-choice {
        min-height: calc(100vh - 180px);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 3rem 1rem;
        background: linear-gradient(135deg, var(--gray-50) 0%, #fff 50%, var(--gray-50) 100%);
    }
    .login-choice .container {
        max-width: 800px;
        text-align: center;
    }
    .choice-header h1 {
        font-size: 2.5rem;
        font-weight: 900;
        color: var(--gray-900);
        margin-bottom: 1rem;
        background: #082067;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .choice-header p {
        font-size: 1.1rem;
        color: var(--gray-600);
        margin-bottom: 3rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    .choice-buttons {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        max-width: 700px;
        margin: 0 auto;
    }
    .choice-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-decoration: none;
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border-radius: var(--radius-xl);
        border: 2px solid var(--gray-100);
        padding: 2.5rem 2rem;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
        position: relative;
        overflow: hidden;
        cursor: pointer;
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.8s ease-out forwards;
    }
    .choice-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(10, 42, 146, 0.05), rgba(89, 146, 198, 0.05));
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .choice-btn:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
        border-color: var(--primary);
    }
    .choice-btn:hover .btn-icon {
        transform: scale(1.1);
        box-shadow: 0 12px 30px rgba(10, 42, 146, 0.4);
    }
    .choice-btn:hover::before {
        opacity: 1;
    }
    .choice-btn.beneficiary:hover {
        border-color: #10b981;
    }
    .choice-btn.beneficiary:hover::before {
        background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    }
    .choice-btn.provider:hover {
        border-color: #f59e0b;
    }
    .choice-btn.provider:hover::before {
        background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    }
    .btn-icon {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: #082067;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1.5rem;
        box-shadow: 0 8px 25px rgba(10, 42, 146, 0.3);
        position: relative;
        z-index: 2;
        transition: all 0.3s ease;
        animation: gentleFloat 3s ease-in-out infinite;
    }
    @keyframes gentleFloat {
        0%,
        100% {
            transform: translateY(0px);
        }
        50% {
            transform: translateY(-5px);
        }
    }
    .choice-btn.beneficiary .btn-icon {
        background: linear-gradient(135deg, #10b981, #34d399);
        box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
    }
    .choice-btn.provider .btn-icon {
        background: linear-gradient(135deg, #f59e0b, #fbbf24);
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
    }
    .btn-icon svg {
        width: 40px;
        height: 40px;
        stroke: #fff;
        stroke-width: 2;
    }
    .btn-content {
        position: relative;
        z-index: 2;
    }
    .btn-content h3 {
        font-size: 1.25rem;
        font-weight: 800;
        color: var(--gray-900);
        margin-bottom: 0.75rem;
    }
    .btn-content p {
        color: var(--gray-600);
        line-height: 1.6;
        font-size: 0.95rem;
    }
    .login-links {
        margin-top: 3rem;
        text-align: center;
    }
    .login-links p {
        color: var(--gray-600);
        font-size: 0.9rem;
    }
    .login-links a {
        color: var(--primary);
        font-weight: 600;
        text-decoration: none;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .login-links a:hover {
        color: var(--primary-dark);
        text-decoration: underline;
    }
    .login-page {
        min-height: calc(100vh - 180px);
        padding: 3rem 1rem;
        background: linear-gradient(135deg, var(--gray-50) 0%, #fff 50%, var(--gray-50) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .login-form-card {
        background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
        border-radius: var(--radius-xl);
        border: 1px solid rgba(10, 42, 146, 0.1);
        padding: 3rem;
        width: 100%;
        max-width: 500px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), 0 15px 35px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.6);
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        animation: slideInUp 0.6s ease-out;
    }
    .login-form-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 35px 60px rgba(0, 0, 0, 0.15), 0 20px 40px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    .login-form-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }
    .form-header {
        text-align: center;
        margin-bottom: 2.5rem;
        position: relative;
    }
    .user-icon {
        display: flex;
        justify-content: center;
        margin-bottom: 2rem;
        position: relative;
    }
    .user-icon svg {
        width: 72px;
        height: 72px;
        stroke: var(--primary);
        stroke-width: 1.5;
        background: linear-gradient(145deg, rgba(10, 42, 146, 0.15), rgba(89, 146, 198, 0.15));
        border-radius: 50%;
        padding: 1.25rem;
        box-shadow: 0 12px 30px rgba(10, 42, 146, 0.2), 0 6px 15px rgba(10, 42, 146, 0.1);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        animation: gentlePulse 2s ease-in-out infinite;
    }
    .user-icon svg:hover {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(10, 42, 146, 0.3), 0 8px 20px rgba(10, 42, 146, 0.15);
    }
    .form-header h2 {
        font-size: 2rem;
        font-weight: 900;
        color: var(--gray-900);
        margin-bottom: 0.75rem;
        background: linear-gradient(135deg, var(--gray-900), var(--primary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .form-header p {
        color: var(--gray-500);
        font-size: 1.05rem;
        line-height: 1.6;
        max-width: 300px;
        margin: 0 auto;
    }
    .login-form {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .login-form.single-column {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .login-form.single-column {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        grid-template-columns: none !important;
    }

    .login-form.single-column .form-group {
        width: 100% !important;
    }
    .form-options {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 1.25rem 0;
        padding: 0.5rem 0;
        direction: rtl;
    }
    .checkbox-label {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: var(--gray-600);
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500;
    }
    .checkbox-label:hover {
        color: var(--gray-700);
    }
    .checkbox-label input[type="checkbox"] {
        display: none;
    }
    .checkmark {
        width: 20px;
        height: 20px;
        border: 2px solid var(--gray-300);
        border-radius: 6px;
        position: relative;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }
    .checkbox-label input[type="checkbox"]:checked+.checkmark {
        background: linear-gradient(135deg, var(--primary), var(--primary-light));
        border-color: var(--primary);
        box-shadow: 0 4px 12px rgba(10, 42, 146, 0.3);
    }
    .checkbox-label input[type="checkbox"]:checked+.checkmark::after {
        content: '';
        position: absolute;
        left: 6px;
        top: 3px;
        width: 7px;
        height: 11px;
        border: solid white;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }
    .forgot-link {
        color: var(--primary);
        font-size: 0.9rem;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
    }
    .forgot-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
        transition: width 0.3s ease;
    }
    .forgot-link:hover::after {
        width: 100%;
    }
    .forgot-link:hover {
        color: var(--primary-dark);
        transform: translateY(-1px);
    }
    .login-btn {
        width: 100%;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: #fff;
        padding: 1.25rem 2rem;
        border-radius: var(--radius-lg);
        font-weight: 700;
        font-size: 1.15rem;
        border: none;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 8px 25px rgba(10, 42, 146, 0.4), 0 4px 12px rgba(10, 42, 146, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        margin-top: 1.5rem;
        position: relative;
        overflow: hidden;
    }
    .login-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.6s ease;
    }
    .login-btn:hover::before {
        left: 100%;
    }
    .login-btn:hover {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(10, 42, 146, 0.5), 0 6px 15px rgba(10, 42, 146, 0.3);
    }
    .login-btn:active {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(10, 42, 146, 0.4), 0 3px 10px rgba(10, 42, 146, 0.2);
    }
    .login-btn svg {
        width: 22px;
        height: 22px;
        transition: transform 0.3s ease;
    }
    .login-btn:hover svg {
        transform: translateX(3px);
    }
    .form-footer {
        text-align: center;
        margin-top: 2.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(10, 42, 146, 0.1);
    }
    .form-footer p {
        margin-bottom: 1rem;
        color: var(--gray-600);
        font-size: 0.9rem;
        line-height: 1.6;
    }
    .form-footer a {
        color: var(--primary);
        font-weight: 600;
        text-decoration: none;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
    }
    .form-footer a::after {
        content: '';
        position: absolute;
        bottom: -2px;
        right: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
        transition: width 0.3s ease;
    }
    .form-footer a:hover::after {
        width: 100%;
    }
    .form-footer a:hover {
        color: var(--primary-dark);
        transform: translateY(-1px);
    }
    @media (max-width: 768px) {
        .login-choice {
            padding: 2rem 1rem;
        }
        .choice-header h1 {
            font-size: 2rem;
        }
        .choice-buttons {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        .choice-btn {
            padding: 2rem 1.5rem;
        }
        .login-page {
            padding: 2rem 1rem;
        }
        .login-form-card {
            padding: 2rem;
        }
        .form-header h2 {
            font-size: 1.5rem;
        }
    }
    @media (max-width: 480px) {
        .login-choice {
            padding: 1.5rem 1rem;
            min-height: calc(100vh - 120px);
        }
        .choice-header h1 {
            font-size: 1.75rem;
        }
        .choice-header p {
            font-size: 1rem;
            margin-bottom: 2rem;
        }
        .choice-btn {
            padding: 1.5rem 1rem;
        }
        .btn-icon {
            width: 60px;
            height: 60px;
            margin-bottom: 1rem;
        }
        .btn-icon svg {
            width: 30px;
            height: 30px;
        }
        .btn-content h3 {
            font-size: 1.1rem;
        }
        .btn-content p {
            font-size: 0.9rem;
        }
        .login-page {
            padding: 1.5rem 1rem;
        }
        .login-form-card {
            padding: 1.5rem;
        }
        .form-header h2 {
            font-size: 1.4rem;
        }
        .login-form {
            gap: 1.25rem;
        }
        .login-btn {
            padding: 0.875rem 1.5rem;
            font-size: 1rem;
        }
        .user-icon svg {
            width: 50px;
            height: 50px;
            padding: 0.75rem;
        }
    }
    /* ======= CONTACT PAGE ======= */
    .contact-hero {
        background: linear-gradient(135deg, var(--primary) 0%, #0056b3 50%, var(--primary-light) 100%);
        padding: 8rem 0 6rem;
        position: relative;
        overflow: hidden;
        color: #fff;
        animation: heroPulse 8s ease-in-out infinite;
    }
    @keyframes heroPulse {
        0%,
        100% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
    }
    .contact-hero::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -10%;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
        border-radius: 50%;
        animation: float 6s ease-in-out infinite;
    }
    @keyframes float {
        0%,
        100% {
            transform: translateY(0px) rotate(0deg);
        }
        50% {
            transform: translateY(-20px) rotate(5deg);
        }
    }
    .contact-hero::after {
        content: '';
        position: absolute;
        bottom: -30%;
        left: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
        border-radius: 50%;
        animation: floatReverse 7s ease-in-out infinite;
    }
    @keyframes floatReverse {
        0%,
        100% {
            transform: translateY(0px) rotate(0deg);
        }
        50% {
            transform: translateY(20px) rotate(-3deg);
        }
    }
    .contact-hero .hero-content {
        text-align: center;
        position: relative;
        z-index: 2;
        animation: fadeInUp 1s ease-out;
    }
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .contact-hero h1 {
        font-size: 4rem;
        font-weight: 900;
        margin-bottom: 1.5rem;
        background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.9) 50%, #fff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
        animation: textGlow 3s ease-in-out infinite alternate;
    }
    @keyframes textGlow {
        from {
            filter: brightness(1);
        }
        to {
            filter: brightness(1.2);
        }
    }
    .contact-hero p {
        font-size: 1.4rem;
        color: rgba(255, 255, 255, 0.95);
        max-width: 700px;
        margin: 0 auto;
        line-height: 1.7;
        animation: fadeInUp 1s ease-out 0.3s both;
    }
    .contact-content {
        padding: 5rem 0;
        background: var(--gray-50);
    }
    .contact-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }
    .contact-form-card {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-xl);
        padding: 3rem;
        border: 1.5px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .contact-form-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    }
    .contact-form-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light), #34d399);
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }
    .contact-form-card h3 {
        font-size: 2rem;
        font-weight: 800;
        color: var(--gray-900);
        margin-bottom: 2.5rem;
        text-align: center;
        position: relative;
    }
    .contact-form-card h3::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), var(--primary-light));
        border-radius: 2px;
    }
    .contact-form {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .contact-form .form-group {
        position: relative;
    }
    .contact-form .form-group.full-width {
        grid-column: span 2;
    }
    .contact-form .form-label {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 600;
        color: var(--gray-700);
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
        transition: color 0.3s ease;
    }
    .contact-form .form-label svg {
        width: 18px;
        height: 18px;
        color: var(--primary);
    }
    .contact-form .form-control {
        width: 100%;
        padding: 1rem 1.25rem;
        border: 2px solid var(--gray-200);
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        font-size: 1rem;
        font-weight: 500;
        color: var(--gray-800);
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        outline: none;
    }
    .contact-form .form-control:focus {
        border-color: var(--primary);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
        transform: translateY(-2px);
    }
    .contact-form .form-control:hover {
        border-color: var(--gray-300);
    }
    .contact-form textarea.form-control {
        resize: vertical;
        min-height: 120px;
    }
    .contact-submit-btn {
        grid-column: span 2;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: #fff;
        padding: 1.25rem 3rem;
        border-radius: var(--radius-xl);
        font-weight: 700;
        font-size: 1.15rem;
        border: none;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        box-shadow: 0 8px 30px rgba(10, 42, 146, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        margin-top: 1.5rem;
        position: relative;
        overflow: hidden;
    }
    .contact-submit-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
    }
    .contact-submit-btn:hover::before {
        left: 100%;
    }
    .contact-submit-btn:hover {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 12px 40px rgba(10, 42, 146, 0.5);
    }
    .contact-submit-btn:active {
        transform: translateY(-1px) scale(1.01);
    }
    .contact-submit-btn svg {
        width: 20px;
        height: 20px;
    }
    .contact-info-section {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .contact-info-card {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-xl);
        padding: 3rem;
        border: 1.5px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .contact-info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    }
    .contact-info-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }
    .contact-info-card h3 {
        font-size: 2rem;
        font-weight: 800;
        color: var(--gray-900);
        margin-bottom: 2.5rem;
        text-align: center;
        position: relative;
    }
    .contact-info-card h3::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #10b981, #34d399);
        border-radius: 2px;
    }
    .contact-info-list {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .info-item {
        display: flex;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 1.25rem;
        border-radius: var(--radius-lg);
        transition: all 0.3s ease;
        cursor: pointer;
    }
    .info-item:hover {
        background: rgba(16, 185, 129, 0.05);
        transform: translateX(5px);
    }
    .info-icon {
        width: 56px;
        height: 56px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 10px 30px rgba(10, 42, 146, 0.3);
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        overflow: hidden;
    }
    .info-icon::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
        border-radius: 50%;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .info-item:hover .info-icon::before {
        opacity: 1;
    }
    .info-item:hover .info-icon {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 15px 40px rgba(10, 42, 146, 0.4);
    }
    .info-icon svg {
        width: 26px;
        height: 26px;
        stroke: #fff;
        stroke-width: 2;
        position: relative;
        z-index: 1;
    }
    .info-content {
        flex: 1;
    }
    .info-title {
        font-weight: 700;
        color: var(--primary);
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
        transition: color 0.3s ease;
    }
    .info-item:hover .info-title {
        color: var(--primary-dark);
    }
    .info-text {
        color: var(--gray-600);
        line-height: 1.6;
        font-size: 0.95rem;
        transition: color 0.3s ease;
    }
    .info-item:hover .info-text {
        color: var(--gray-700);
    }
    .contact-faq {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-xl);
        padding: 3rem;
        border: 1.5px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .contact-faq:hover {
        transform: translateY(-5px);
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    }
    .contact-faq::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 6px;
        background: linear-gradient(90deg, #f59e0b, #fbbf24, #fcd34d);
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }
    .contact-faq h3 {
        font-size: 2rem;
        font-weight: 800;
        color: var(--gray-900);
        margin-bottom: 2.5rem;
        text-align: center;
        position: relative;
    }
    .contact-faq h3::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #f59e0b, #fbbf24);
        border-radius: 2px;
    }
    .faq-list {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .faq-item {
        background: rgba(255, 255, 255, 0.5);
        border-radius: var(--radius-lg);
        border: 1px solid rgba(245, 158, 11, 0.1);
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        cursor: pointer;
    }
    .faq-item:hover {
        background: rgba(245, 158, 11, 0.05);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(245, 158, 11, 0.1);
    }
    .faq-item h4 {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--gray-900);
        margin: 0;
        padding: 1.5rem 2rem;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(251, 191, 36, 0.05));
        display: flex;
        align-items: center;
        justify-content: space-between;
        transition: all 0.3s ease;
    }
    .faq-item h4::after {
        content: '+';
        font-size: 1.5rem;
        color: var(--primary);
        font-weight: 300;
        transition: transform 0.3s ease;
    }
    .faq-item:hover h4::after {
        transform: rotate(90deg);
    }
    .faq-item p {
        color: var(--gray-600);
        line-height: 1.7;
        margin: 0;
        padding: 0 2rem 1.5rem;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .faq-item.expanded p {
        max-height: 200px;
        padding: 1rem 2rem 1.5rem;
    }
    .faq-item.expanded h4::after {
        content: '−';
        transform: rotate(0deg);
    }
    @media (max-width: 1024px) {
        .contact-grid {
            grid-template-columns: 1fr;
            gap: 2.5rem;
        }
        .contact-hero {
            padding: 6rem 0 4rem;
        }
        .contact-hero h1 {
            font-size: 3.2rem;
        }
        .contact-form {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        .contact-form .form-group.full-width {
            grid-column: span 1;
        }
        .contact-submit-btn {
            grid-column: span 1;
        }
    }
    @media (max-width: 768px) {
        .contact-hero {
            padding: 5rem 0 3rem;
        }
        .contact-hero h1 {
            font-size: 2.8rem;
            line-height: 1.1;
        }
        .contact-hero p {
            font-size: 1.2rem;
            line-height: 1.6;
        }
        .contact-content {
            padding: 3rem 0;
        }
        .contact-grid {
            gap: 2rem;
        }
        .contact-form-card,
        .contact-info-card,
        .contact-faq {
            padding: 2.5rem 2rem;
        }
        .contact-form-card h3,
        .contact-info-card h3,
        .contact-faq h3 {
            font-size: 1.8rem;
        }
        .contact-form {
            gap: 1.5rem;
        }
        .contact-submit-btn {
            padding: 1rem 2rem;
            font-size: 1rem;
        }
        .info-item {
            padding: 1rem;
            gap: 1rem;
        }
        .info-icon {
            width: 48px;
            height: 48px;
        }
        .info-icon svg {
            width: 22px;
            height: 22px;
        }
        .faq-item h4 {
            font-size: 1rem;
            padding: 1.25rem 1.5rem;
        }
        .faq-item p {
            padding: 0 1.5rem 1.25rem;
        }
    }
    @media (max-width: 480px) {
        .contact-hero {
            padding: 4rem 0 2rem;
        }
        .contact-hero h1 {
            font-size: 2.2rem;
        }
        .contact-hero p {
            font-size: 1rem;
            margin-bottom: 2rem;
        }
        .contact-content {
            padding: 2rem 0;
        }
        .contact-grid {
            gap: 1.5rem;
        }
        .contact-form-card,
        .contact-info-card,
        .contact-faq {
            padding: 2rem 1.5rem;
            border-radius: var(--radius-lg);
        }
        .contact-form-card h3,
        .contact-info-card h3,
        .contact-faq h3 {
            font-size: 1.5rem;
            margin-bottom: 2rem;
        }
        .contact-form-card h3::after,
        .contact-info-card h3::after,
        .contact-faq h3::after {
            width: 40px;
            height: 2px;
        }
        .contact-form .form-control {
            padding: 0.875rem 1rem;
            font-size: 0.95rem;
        }
        .contact-submit-btn {
            padding: 0.875rem 2rem;
            font-size: 0.95rem;
        }
        .info-item {
            padding: 0.875rem;
            gap: 0.875rem;
        }
        .info-icon {
            width: 44px;
            height: 44px;
        }
        .info-icon svg {
            width: 20px;
            height: 20px;
        }
        .info-title {
            font-size: 1rem;
        }
        .info-text {
            font-size: 0.9rem;
        }
        .faq-item h4 {
            font-size: 0.95rem;
            padding: 1rem 1.25rem;
        }
        .faq-item p {
            padding: 0 1.25rem 1rem;
            font-size: 0.9rem;
        }
    }
    /* Additional micro-interactions and animations */
    .contact-form-card,
    .contact-info-card,
    .contact-faq {
        animation: slideInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    /* Stagger animations for cards */
    .contact-form-card {
        animation-delay: 0.2s;
    }
    .contact-info-card {
        animation-delay: 0.4s;
    }
    .contact-faq {
        animation-delay: 0.6s;
    }
    /* Subtle pulse effect for submit button */
    .contact-submit-btn {
        animation: gentlePulse 4s ease-in-out infinite;
    }
    @keyframes gentlePulse {
        0%,
        100% {
            box-shadow: 0 8px 30px rgba(10, 42, 146, 0.4);
        }
        50% {
            box-shadow: 0 8px 35px rgba(10, 42, 146, 0.5);
        }
    }
    /* Loading state for form submission */
    .contact-submit-btn.loading {
        pointer-events: none;
        position: relative;
    }
    .contact-submit-btn.loading::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        margin: auto;
        border: 2px solid transparent;
        border-top-color: #fff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }
    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    }
    /* Success animation for alerts */
    .alert-success {
        animation: successBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }
    @keyframes successBounce {
        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0);
        }
        40% {
            transform: translateY(-10px);
        }
        60% {
            transform: translateY(-5px);
        }
    }
    .contact-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .contact-form .form-group.full-width {
        grid-column: span 1;
    }
    .contact-submit-btn {
        grid-column: span 1;
    }
    .info-item {
        gap: 0.75rem;
    }
    .info-icon {
        width: 40px;
        height: 40px;
    }
    .info-icon svg {
        width: 20px;
        height: 20px;
    }
}