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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Tajawal', sans-serif;
    background-color: var(--bg-color, #fdfdfd);
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

section, .custom-home-section {
    scroll-margin-top: 75px;
}



a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 25px;
}


.text-center { text-align: center; }
.bg-light { background-color: #f9f9f9; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}
.logo h2 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: #444;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

/* Nav Dropdown Styles */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 500;
    color: #444;
}

.nav-caret {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
}

[dir="ltr"] .dropdown-menu {
    right: auto;
    left: 0;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-item-dropdown:hover .nav-caret,
.nav-item-dropdown.open .nav-caret {
    transform: rotate(180deg);
}

.dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 18px !important;
    color: #444 !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease !important;
    text-align: right;
    white-space: nowrap;
}

[dir="ltr"] .dropdown-item {
    text-align: left;
}

.dropdown-item i {
    font-size: 0.9rem;
    color: var(--secondary-color);
    width: 16px;
    text-align: center;
}

.dropdown-item:hover {
    background-color: rgba(15, 44, 89, 0.05);
    color: var(--primary-color) !important;
    padding-inline-start: 22px !important;
}

.dropdown-item::after {
    display: none !important;
}

.lang-btn {
    background: var(--secondary-color);
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}
.lang-btn::after { display: none; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}


/* Hero Section */
.hero {
    color: #fff;
    padding: 70px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
}

.btn-outline {
    border: 2px solid #fff;
    color: #fff;
}

.hero-shape {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}


/* Centered Flexible Grid Layouts (Up to 5 items per row, perfectly centered when fewer) */
.grid, .grid-3, .grid-5 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}
.grid > .card,
.grid-3 > .card,
.grid-5 > .card {
    flex: 0 1 calc((100% - (4 * 22px)) / 5);
    width: calc((100% - (4 * 22px)) / 5);
    min-width: 235px;
    max-width: 320px;
}
@media (max-width: 1360px) {
    .grid > .card,
    .grid-3 > .card,
    .grid-5 > .card {
        flex: 0 1 calc((100% - (3 * 22px)) / 4);
        width: calc((100% - (3 * 22px)) / 4);
        min-width: 225px;
    }
}
@media (max-width: 1080px) {
    .grid > .card,
    .grid-3 > .card,
    .grid-5 > .card {
        flex: 0 1 calc((100% - (2 * 22px)) / 3);
        width: calc((100% - (2 * 22px)) / 3);
        min-width: 215px;
    }
}
@media (max-width: 768px) {
    .grid, .grid-3, .grid-5 {
        gap: 15px;
    }
    .grid > .card,
    .grid-3 > .card,
    .grid-5 > .card {
        flex: 0 1 calc((100% - 15px) / 2);
        width: calc((100% - 15px) / 2);
        min-width: 140px;
        max-width: 100%;
    }
}
@media (max-width: 480px) {
    .grid > .card,
    .grid-3 > .card,
    .grid-5 > .card {
        flex: 0 1 100%;
        width: 100%;
        max-width: 100%;
    }
}


/* Cards */
.card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.09);
}

.lawyer-card .card-img-wrapper {
    height: 260px;
    overflow: hidden;
}
.lawyer-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.lawyer-card:hover img {
    transform: scale(1.05);
}

/* Lawyers Circles Grid Layout (Centered & 6 per row on desktop) */
.lawyers-circles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 36px 24px;
    width: 100%;
    margin: 30px auto 0;
}

.lawyer-circle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 1 calc((100% - (5 * 24px)) / 6);
    max-width: 215px;
    min-width: 175px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lawyer-circle-item:hover {
    transform: translateY(-8px);
}

.lawyer-circle-figure {
    position: relative;
    margin-bottom: 16px;
}

.lawyer-circle-img-wrap {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    overflow: hidden;
    background: #f1f5f9;
    border: 4px solid #e2e8f0;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lawyer-circle-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.lawyer-circle-item:hover .lawyer-circle-img-wrap {
    border-color: var(--accent-color, #dac0a3);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
    transform: scale(1.05);
}

.lawyer-circle-item:hover .lawyer-circle-img-wrap img {
    transform: scale(1.08);
}

.lawyer-circle-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lawyer-circle-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.lawyer-circle-name {
    margin: 0 0 5px 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color, #0f2c59);
    line-height: 1.45;
    transition: color 0.2s ease;
}

.lawyer-circle-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}

.lawyer-circle-name a:hover,
.lawyer-circle-item:hover .lawyer-circle-name a,
.lawyer-circle-item:hover .lawyer-circle-name {
    color: var(--accent-color, #0284c7);
}

.lawyer-circle-title {
    font-size: 0.92rem;
    color: var(--secondary-color, #64748b);
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 1360px) {
    .lawyer-circle-img-wrap {
        width: 165px;
        height: 165px;
    }
}

@media (max-width: 1200px) {
    .lawyers-circles-grid {
        gap: 30px 20px;
    }
    .lawyer-circle-item {
        flex: 0 1 calc((100% - (3 * 20px)) / 4);
        max-width: 210px;
    }
    .lawyer-circle-img-wrap {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 850px) {
    .lawyers-circles-grid {
        gap: 26px 16px;
    }
    .lawyer-circle-item {
        flex: 0 1 calc((100% - (2 * 16px)) / 3);
        max-width: 180px;
        min-width: 140px;
    }
    .lawyer-circle-img-wrap {
        width: 145px;
        height: 145px;
    }
    .lawyer-circle-name {
        font-size: 1.05rem;
    }
    .lawyer-circle-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 580px) {
    .lawyers-circles-grid {
        gap: 22px 12px;
    }
    .lawyer-circle-item {
        flex: 0 1 calc((100% - 12px) / 2);
        max-width: 165px;
        min-width: 130px;
    }
    .lawyer-circle-img-wrap {
        width: 130px;
        height: 130px;
        border-width: 3.5px;
    }
    .lawyer-circle-name {
        font-size: 0.98rem;
    }
    .lawyer-circle-title {
        font-size: 0.8rem;
    }
}

.card-content {
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.card-content h3 {
    margin-bottom: 6px;
    font-size: 1.15rem;
    line-height: 1.4;
}
.subtitle {
    display: block;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.88rem;
}
.card-img-link {
    display: block;
    overflow: hidden;
    height: 175px;
    background: #f1f5f9;
}
.blog-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.blog-card:hover img {
    transform: scale(1.06);
}
.card-content h3 a {
    color: var(--primary-color, #0f2c59);
    text-decoration: none;
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-content h3 a:hover,
.card-content h3:hover a {
    color: var(--accent-color, #dac0a3) !important;
}

.card-content p {
    color: #666;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}
.btn-link:hover {
    color: var(--accent-color);
}



/* Footer */
.footer {
    background: var(--primary-color);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer h3, .footer h4 {
    color: #fff;
}
.footer-contact ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-contact i {
    color: var(--accent-color);
}
.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
}
.social-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #ffffff !important;
    font-size: 1.25rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.social-btn:hover {
    transform: translateY(-4px) scale(1.1);
}
.social-btn.whatsapp {
    background: #25D366;
}
.social-btn.whatsapp:hover {
    background: #128C7E;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
}
.social-btn.facebook {
    background: #1877F2;
}
.social-btn.facebook:hover {
    background: #0d65d9;
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.45);
}
.social-btn.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}
.social-btn.instagram:hover {
    box-shadow: 0 6px 16px rgba(225, 48, 108, 0.45);
}
.social-btn.tiktok {
    background: #010101;
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.social-btn.tiktok:hover {
    background: #000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5), -2px -2px 6px #00f2fe, 2px 2px 6px #fe0979;
}
.social-btn.linkedin {
    background: #0A66C2;
}
.social-btn.linkedin:hover {
    background: #004182;
    box-shadow: 0 6px 16px rgba(10, 102, 194, 0.45);
}
.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

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

/* Floating WhatsApp (Always positioned on the right corner) */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    left: auto;
    width: 58px;
    height: 58px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s, background-color 0.3s ease;
    animation: pulse 2s infinite;
}
.floating-whatsapp:hover {
    background-color: #128c7e;
    color: #fff;
    transform: translateY(-5px);
}

/* Smooth Auto-Hide Classes for Floating Buttons when Reaching Locations or Footer */
.floating-whatsapp.floating-hidden,
.floating-share-wrapper.floating-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(30px) scale(0.85) !important;
}

@media (max-width: 480px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 16px;
        left: auto;
        width: 46px;
        height: 46px;
        font-size: 24px;
    }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Services Section */
.service-card {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}
.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--accent-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}
.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), #091a36);
    color: #fff;
    padding: 60px 0;
}
.stats-section .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.stat-item {
    text-align: center;
    flex: 0 1 200px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}
.stat-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 15px;
    }
    .nav-links.active { display: flex; }
    .nav-item-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .dropdown-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 8px 0;
    }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8fafc;
        border-radius: 8px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 5px;
        border: 1px solid #edf2f7;
    }
    .nav-item-dropdown.open .dropdown-menu {
        display: block;
    }
    .hero-content h1 { font-size: 2.5rem; }
}

/* Office Locations Map Cards */
.office-locations-section {
    position: relative;
}
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 15px;
}
.locations-grid.locations-single {
    display: block;
    max-width: 1050px;
    margin: 15px auto 0;
}
.location-map-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    min-height: 290px;
    display: flex;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.locations-single .location-map-card {
    min-height: 310px;
}
.location-map-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}
.location-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.48);
    backdrop-filter: blur(0.4px);
    z-index: 1;
}
.location-map-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 35px 25px;
    color: #ffffff;
    width: 100%;
}
.location-pin-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2.5px solid #eab308;
    background: rgba(15, 23, 42, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eab308;
    font-size: 1.4rem;
    margin-bottom: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease;
}
.location-map-card:hover .location-pin-badge {
    transform: scale(1.1);
}
.location-title {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
}
.location-address {
    color: #f8fafc;
    font-size: 1.12rem;
    font-weight: 500;
    margin-bottom: 6px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}
.location-details {
    color: #e2e8f0;
    font-size: 0.95rem;
    margin-bottom: 18px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}
.btn-location-map {
    background: #eab308;
    color: #0f172a !important;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 10px 32px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.45);
}
.btn-location-map:hover {
    background: #ca8a04;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(202, 138, 4, 0.55);
}

/* Interactive Google Map Embed Card */
.location-card-embed {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}
.location-card-embed iframe {
    width: 100%;
    min-height: 280px;
    border: none;
    flex: 1;
}
.location-embed-info-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: #0f2c59;
    color: #ffffff;
    flex-wrap: wrap;
    gap: 15px;
}
.embed-info-content {
    flex: 1;
    min-width: 200px;
}
.embed-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
}
.embed-desc {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
}
.btn-location-map.btn-sm {
    padding: 8px 18px;
    font-size: 0.92rem;
    border-radius: 6px;
    white-space: nowrap;
}

/* PDF Download Cards */
.pdf-download-card {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    padding: 14px 22px;
    border-radius: 12px;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    min-width: 280px;
    max-width: 100%;
}
.pdf-download-card:hover {
    border-color: #dc2626;
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.12);
    color: #0f2c59;
}
.pdf-icon-wrapper {
    width: 44px;
    height: 44px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.pdf-download-card:hover .pdf-icon-wrapper {
    transform: scale(1.08);
    background: #dc2626;
    color: #ffffff;
}
.pdf-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.pdf-title {
    font-weight: 700;
    font-size: 1rem;
    color: #0f2c59;
    margin-bottom: 3px;
    line-height: 1.35;
}
.pdf-size {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}
.pdf-action-icon {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.pdf-download-card:hover .pdf-action-icon {
    background: #0f2c59;
    color: #ffffff;
    transform: translateY(2px);
}




