:root {
    --primary: #344697;
    --primary-dark: #253163;
    --secondary: #B5B6B7;

    --text-main: #f9fafb;
    --text-sub: #cbd5f5;

    --page-bg: #344697;
    --header-bg: rgba(15, 23, 42, 0.9);
    --header-border: rgba(148, 163, 184, 0.25);
    --hero-bg: radial-gradient(circle at top, #1e293b 0, #020617 55%, #000 100%);
    --hero-overlay-from: rgba(15, 23, 42, 0.9);
    --hero-overlay-to: rgba(37, 99, 235, 0.55);
    --section-soft-bg: #243d70;
    --section-strong-bg: #050f3b;
    --card-bg: #14205e;
    --card-border: rgba(148, 163, 184, 0.4);
    --footer-bg: #050d2f;
    
    --btn-text-color: #ffffff;
    --primary-shadow: rgba(52, 70, 151, 0.3);
    --primary-shadow-hover: rgba(52, 70, 151, 0.4);
}

html[dir="ltr"] {
    direction: ltr;
}

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

html[dir="ltr"] .hero-slider-btn.prev {
    left: 1rem;
    right: auto;
}

html[dir="ltr"] .hero-slider-btn.next {
    right: 1rem;
    left: auto;
}

html[dir="ltr"] .testimonial-prev {
    left: 1rem;
    right: auto;
}

html[dir="ltr"] .testimonial-next {
    right: 1rem;
    left: auto;
}

html[dir="ltr"] .action-btn {
    flex-direction: row-reverse;
}

html[dir="ltr"] .action-btn i {
    margin-left: 0.5rem;
    margin-right: 0;
}

html[dir="ltr"] .hero-slider-indicators {
    right: auto;
}

html[dir="ltr"] .testimonials-controls {
    flex-direction: row-reverse;
}

:root[data-theme="light"],
html[data-theme="light"],
body.theme-light {
    --page-bg: #f9fafb;
    --text-main: #0f172a;
    --text-sub: #4b5563;

    --header-bg: rgba(248, 250, 252, 0.95);
    --header-border: #e5e7eb;

    --hero-bg: radial-gradient(circle at top, #e5e7eb 0, #f9fafb 55%, #e5e7eb 100%);
    --hero-overlay-from: rgba(48, 48, 48, 0.9);
    --hero-overlay-to: rgba(191, 219, 254, 0.7);

    --section-soft-bg: #f3f4f6;
    --section-strong-bg: #ffffff;
    --card-bg: #ffffff;
    --card-border: #e5e7eb;
    --footer-bg: #0f172a;
    
    --btn-text-color: #ffffff;
    --primary-shadow: rgba(52, 70, 151, 0.3);
    --primary-shadow-hover: rgba(52, 70, 151, 0.4);
}

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

html, body {
    font-family: 'Cairo', sans-serif;
    background: var(--page-bg);
    color: var(--text-main);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

.container {
    max-width: 150vh;
    margin: 0 auto;
    padding: 0 1rem;
}

.header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--header-border);
}

.navbar {
    padding: 0.75rem 0;
}

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

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

.logo {
    width: 44px;
    height: 44px;
    border-radius: 0.5rem;
    object-fit: cover;
}

.brand-info {
    display: flex;
    flex-direction: column;
}

.brand-text {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}

.brand-subtitle {
    font-size: 0.75rem;
    color: var(--text-sub);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-sub);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s ease;
}

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

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

:root[data-theme="light"] .nav-link.active,
html[data-theme="light"] .nav-link.active,
body.theme-light .nav-link.active {
    color: #344697;
}

:root[data-theme="light"] .nav-link.active::after,
html[data-theme="light"] .nav-link.active::after,
body.theme-light .nav-link.active::after {
    background: #344697;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: #0642bb;
    border-radius: 999px;
}

.lang-toggle {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.lang-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.lang-toggle:active {
    transform: translateY(0);
}

.lang-text {
    font-family: 'Cairo', sans-serif;
}

.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--hero-bg);
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--hero-overlay-from), var(--hero-overlay-to));
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.hero-content {
    max-width: 640px;
}

.hero-title {
    font-size: clamp(2.3rem, 5vw, 3.1rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.hero-description {
    font-size: 0.98rem;
    line-height: 1.8;
}

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

.stat-item {
    background: var(--card-bg);
    border-radius: 0.9rem;
    padding: 1rem;
    border: 1px solid var(--card-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.6);
    border-color: rgba(37, 99, 235, 0.8);
}

.stat-icon {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
}

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

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.hero-slider-btn.prev {
    right: 1rem;
}

.hero-slider-btn.next {
    left: 1rem;
}

.hero-slider-indicators {
    position: absolute;
    bottom: 1.5rem;
    right: 50%;
    transform: translateX(50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 1px solid rgba(241, 245, 249, 0.6);
    background: transparent;
    cursor: pointer;
}

.indicator.active {
    background: #e5e7eb;
}

.about-section {
    background: var(--section-soft-bg);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(27, 16, 185, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.about-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.about-text h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInLeft 0.7s ease-out;
}

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

.about-text p {
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.link-more {
    color: #93c5fd;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.link-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.link-more:hover {
    color: var(--primary);
    margin-right: 0.5rem;
}

.link-more:hover::after {
    transform: translateX(4px);
}

.about-highlight {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    animation: slideInRight 0.7s ease-out;
}

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

.about-highlight:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15);
}

.about-highlight h3 {
    margin-bottom: 0.75rem;
    color: var(--primary);
}

.about-highlight ul {
    list-style: none;
}

.about-highlight li {
    margin-bottom: 0.5rem;
    animation: slideInUp 0.5s ease-out both;
}

.about-highlight li:nth-child(1) { animation-delay: 0.1s; }
.about-highlight li:nth-child(2) { animation-delay: 0.2s; }
.about-highlight li:nth-child(3) { animation-delay: 0.3s; }
.about-highlight li:nth-child(4) { animation-delay: 0.4s; }

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

.about-highlight li::before {
    content: '✓ ';
    color: var(--secondary);
    font-weight: bold;
    margin-right: 0.4rem;
}

.rates-section {
    padding: 3rem 0;
    background: var(--section-strong-bg);
    position: relative;
    overflow: hidden;
}

.rates-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateY(-50%);
}

.section-title {
    text-align: center;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.7s ease-out;
}

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

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.rate-card {
    background: var(--card-bg);
    border-radius: 0.9rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--card-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    animation: scaleIn 0.5s ease-out;
}

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

.rate-card:nth-child(1) { animation-delay: 0.1s; }
.rate-card:nth-child(2) { animation-delay: 0.2s; }
.rate-card:nth-child(3) { animation-delay: 0.3s; }

.rate-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--card-bg), rgba(37, 99, 235, 0.05));
}

.rate-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.rate-name {
    color: var(--text-main);
}

.rate-code {
    color: var(--text-sub);
}

.rate-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-sub);
}

.rates-link-wrap {
    text-align: center;
    margin-top: 1.25rem;
}

.news {
    padding: 3rem 0 2rem;
    background: var(--section-strong-bg);
    position: relative;
    overflow: hidden;
}

.news::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--text-sub);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.news-card {
    background: var(--card-bg);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    animation: slideUp 0.6s ease-out;
}

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

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

.news-card:hover {
    transform: translateY(-8px) rotateY(2deg);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.2);
    border-color: var(--secondary);
}

.news-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 1rem 1.25rem;
}

.news-date {
    font-size: 0.75rem;
    color: var(--text-sub);
    margin-bottom: 0.25rem;
}

.news-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-sub);
    margin-bottom: 0.5rem;
}

.news-link {
    font-size: 0.85rem;
    color: #93c5fd;
    text-decoration: none;
}

.testimonials {
    padding: 3rem 0;
    background: var(--section-soft-bg);
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    display: none;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-card.active {
    display: block;
}

.testimonial-content {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--card-border);
}

.testimonial-text p {
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.8;
}

.quote-icon {
    color: #38bdf8;
    margin-bottom: 0.5rem;
}

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

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.author-info h4 {
    font-size: 0.95rem;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-sub);
}

.rating i {
    color: #facc15;
    font-size: 0.7rem;
}

.testimonials-controls {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-prev,
.testimonial-next {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: transparent;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.testimonials-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    cursor: pointer;
}

.dot.active {
    background: #e5e7eb;
}

.quick-actions {
    padding: 3rem 0;
    background: var(--section-strong-bg);
    position: relative;
    overflow: hidden;
}

.quick-actions::before {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.quick-action-card {
    background: var(--card-bg);
    border-radius: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--card-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.quick-action-card:nth-child(1) { animation-delay: 0.05s; }
.quick-action-card:nth-child(2) { animation-delay: 0.1s; }
.quick-action-card:nth-child(3) { animation-delay: 0.15s; }
.quick-action-card:nth-child(4) { animation-delay: 0.2s; }

.quick-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(67, 91, 147, 0.6);
    border-color: rgba(37, 99, 235, 0.8);
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: #60a5fa;
}

.quick-action-card h3 {
    margin-bottom: 0.5rem;
}

.quick-action-card p {
    color: var(--text-sub);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.action-btn {
    font-size: 0.85rem;
    color: #93c5fd;
    text-decoration: none;
}

.contact {
    padding: 3rem 0 3.5rem;
    background: var(--section-soft-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
    gap: 2rem;
}

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

.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #020617;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
}

.contact-details h4 {
    font-size: 0.95rem;
}

.contact-details p {
    font-size: 0.85rem;
    color: var(--text-sub);
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.6rem 0.75rem;
    border-radius: 0.6rem;
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.9rem;
}

.contact-form textarea {
    resize: vertical;
}

[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #f9fafb;
}

.footer {
    background: linear-gradient(180deg, var(--footer-bg) 0%, rgba(2, 6, 23, 0.95) 100%);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, rgba(37, 99, 235, 0.3), rgba(16, 185, 129, 0.3), rgba(37, 99, 235, 0.3)) 1;
    padding-top: 3rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.5), transparent);
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-col {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.footer-col:nth-child(1) { animation-delay: 0.1s; }
.footer-col:nth-child(2) { animation-delay: 0.2s; }
.footer-col:nth-child(3) { animation-delay: 0.3s; }
.footer-col:nth-child(4) { animation-delay: 0.4s; }

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.2);
}

.footer-brand h3 {
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-col > p {
    color: var(--text-sub);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-main);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 999px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
    text-decoration: none;
    color: var(--text-sub);
    font-size: 0.9rem;
    transition: color 0.3s ease, padding-right 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-col a::before {
    content: '←';
    margin-right: 0.4rem;
    opacity: 0;
    transition: opacity 0.3s ease, margin-right 0.3s ease;
}

.footer-col a:hover { color: var(--primary); padding-right: 0.4rem; }
.footer-col a:hover::before { opacity: 1; }

.footer-col p {
    color: var(--text-sub);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-col p i { color: var(--primary); min-width: 16px; }
.footer-col p:hover { color: var(--text-main); transform: translateX(-4px); }

.footer-social { display: flex; flex-direction: column; }

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.footer-social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--secondary);
    font-size: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.footer-social-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.footer-social-links a:hover {
    transform: translateY(-4px) scale(1.1);
    border-color: var(--secondary);
    color: #f9fafb;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.4);
}
.footer-social-links a:hover::before { opacity: 1; z-index: 0; }
.footer-social-links a:hover i { position: relative; z-index: 1; }

.footer-logo {
    width: 44px;
    height: 44px;
    border-radius: 50px;
    object-fit: cover;
    border: 2px solid rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}
.footer-logo:hover { border-color: var(--primary); box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3); }

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: var(--text-sub);
    border-top: 1px solid rgba(37, 99, 235, 0.15);
    margin-top: 1rem;
    background: rgba(37, 99, 235, 0.05);
    position: relative;
    z-index: 1;
}
.footer-bottom p { margin: 0; animation: fadeInUp 0.6s ease-out 0.5s forwards; opacity: 0; }

body.theme-light .footer-col a:hover { color: #2563eb; }
body.theme-light .footer-social-links a {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
}

.theme-toggle {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.6);
    z-index: 60;
}

@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        inset-inline: 0;
        top: 64px;
        background: rgba(15, 23, 42, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 1rem 0 2rem;
        gap: 1rem;
        transform: translateY(-120%);
        transition: transform 0.25s ease;
        z-index: 40;
        backdrop-filter: blur(8px);
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    :root:not([data-theme="dark"]) .nav-menu {
        background: rgba(243, 244, 246, 0.98);
    }

    :root:not([data-theme="dark"]) .nav-menu.open {
        background: rgba(243, 244, 246, 0.98);
    }

    .nav-toggle {
        display: flex;
    }

    .lang-toggle {
        width: 100%;
        margin-top: 0.5rem;
    }

    .about-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-inner {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .hero-inner {
        gap: 1.5rem;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-social-links {
        justify-content: flex-start;
    }

    .footer-col h4 {
        font-size: 0.95rem;
    }
}