/* Kefraya Website Custom Styles - Modernized */
:root {
    --primary-green: #16A34A;
    --primary-blue: #1F2937;
    --white: #ffffff;
    --light-gray: #f8fafc;
    --dark-gray: #64748b;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Debug: Make sure CSS is loading */
body::before {
    content: "CSS Loaded Successfully!";
    position: fixed;
    top: 0;
    right: 0;
    background: #16A34A;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    z-index: 9999;
    display: none; /* Hide by default, show only for debugging */
}

/* RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    flex-direction: row-reverse;
}

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

/* Override Bootstrap Icons line-height for landing page */
body.index-page .bi::before,
body.index-page [class^="bi-"]::before,
body.index-page [class*=" bi-"]::before {
    line-height: normal !important;
}

/* Also override for all pages if needed */
.bi::before,
[class^="bi-"]::before,
[class*=" bi-"]::before {
    line-height: normal !important;
}

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

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

/* Make sure the page content is visible */
.page-content {
    margin-top: 125px; /* Adjust for top bar + slightly increased navbar height */
    padding: 2rem 0;
    min-height: 70vh;
}

/* Container improvements */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* Top Contact Bar */
.top-bar {
    background: linear-gradient(135deg, #16A34A 0%, #15803d 100%);
    color: white;
    padding: 0.3rem 0;
    font-size: 0.85rem;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-info {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.contact-item {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.contact-item i {
    font-size: 0.8rem;
    margin-right: 0.25rem;
}

.language-switcher {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

/* Ensure language switcher is visible on mobile */
@media (max-width: 768px) {
    .top-bar {
        padding: 0.4rem 0;
        font-size: 0.75rem;
    }
    
    .top-bar .container-fluid {
        padding: 0 0.5rem;
    }
    
    .top-bar .row {
        margin: 0;
    }
    
    .top-bar .col-6 {
        padding: 0 0.25rem;
    }
    
    .language-switcher {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        justify-content: flex-end !important;
        width: 100%;
    }
    
    .contact-info {
        font-size: 0.7rem;
    }
    
    .contact-item {
        font-size: 0.7rem;
    }
    
    .contact-item i {
        font-size: 0.7rem;
    }
    
    .language-switcher a {
        font-size: 0.75rem !important;
        padding: 0.15rem 0.35rem !important;
        white-space: nowrap;
    }
    
    .language-switcher .separator {
        font-size: 0.7rem;
        margin: 0 0.2rem;
    }
}

.language-switcher a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}

.language-switcher a:hover,
.language-switcher a.active {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.language-switcher .separator {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

/* Header Styles - Using Bootstrap classes */
.header {
    position: fixed;
    top: 32px; /* Adjust for reduced top bar height */
    width: 100%;
    z-index: 1000;
    background: transparent;
}

/* Adjust header position when top bar is hidden on mobile */
@media (max-width: 991px) {
    .header {
        top: 0 !important;
    }
    
    .page-content {
        margin-top: 80px !important;
    }
}

.sitename {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

/* Navbar styles - White background with clean text colors */
.navbar {
    padding: 14px;
    background: white !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Logo Styling */
.logo-container {
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-1px);
}

.logo-image-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    overflow: hidden;
    padding: 3px;
    transition: all 0.3s ease;
}

.logo-image-wrapper:hover {
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
    transform: scale(1.05);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.logo-text {
    line-height: 1.2;
}

.sitename {
    font-size: 1.6rem;
    font-weight: 700;
    color: #16A34A;
    margin: 0;
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
}

.logo-subtitle {
    font-size: 0.85rem;
    color: #6b7280;
    font-weight: 500;
    margin: 0;
    line-height: 1;
    transition: all 0.3s ease;
}

.navbar-brand {
    color: #16A34A !important;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: #15803d !important;
    text-decoration: none;
}

.navbar-brand:hover .sitename {
    color: #15803d;
}

.navbar-brand:hover .logo-subtitle {
    color: #4b5563;
}

.navbar-nav .nav-link {
    color: #374151 !important;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 0 0.25rem;
    padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link:hover {
    color: #16A34A !important;
    background-color: rgba(22, 163, 74, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: #16A34A !important;
    background-color: rgba(22, 163, 74, 0.1);
}

.navbar-toggler {
    border: 1px solid #d1d5db;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(22, 163, 74, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2855, 65, 81, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.logo .sitename {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
    transition: font-size 0.3s ease;
}

.logo .sitename span {
    color: var(--primary-blue);
}

/* Navigation Styles - Removed old navmenu, using Bootstrap navbar */

/* Mobile Navigation - Removed old styles, using Bootstrap navbar */

/* Bootstrap Navbar - Clean responsive styles */
@media (max-width: 991.98px) {
    .top-bar {
        display: none; /* Hide top bar on mobile */
    }
    
    .header {
        top: 0; /* Reset top position on mobile */
    }
    
    .page-content {
        margin-top: 95px; /* Reset margin on mobile with slightly increased height */
    }
    
    /* Mobile Logo Styling */
    .logo-image-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .sitename {
        font-size: 1.2rem;
    }
    
    .logo-subtitle {
        font-size: 0.7rem;
    }
    
    .navbar-collapse {
        background: #f8f9fa;
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid #e9ecef;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }
    
    .d-flex {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .language-switcher {
        justify-content: center;
    }
}

/* Extra small devices */
@media (max-width: 576px) {
    .logo-image-wrapper {
        width: 35px;
        height: 35px;
    }
    
    .sitename {
        font-size: 1.1rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    .logo-container {
        flex-direction: row;
        text-align: left;
    }
    
    .logo-image-wrapper {
        margin: 0 0.5rem 0 0;
    }
}

/* Admin Login Button Styling */
.admin-login-btn .btn {
    border-color: var(--primary-green);
    color: var(--primary-green);
    font-weight: 500;
    transition: all 0.3s ease;
}

.admin-login-btn .btn:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(22, 163, 74, 0.3);
}

@media (max-width: 576px) {
    .logo .sitename {
        font-size: 1.3rem;
    }
    
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.language-switcher a {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.language-switcher a.active {
    background-color: var(--primary-green);
    color: var(--white);
}

.language-switcher a:not(.active) {
    background-color: var(--light-gray);
    color: var(--text-dark);
}

.language-switcher a:not(.active):hover {
    background-color: var(--primary-green);
    color: var(--white);
}

/* Admin Login Button */
.admin-login-btn {
    margin-left: 1rem;
}

.admin-login-btn .btn {
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.admin-login-btn .btn:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

/* Hero Section */
.hero-section {
    background: url('../images/hero-bg.jpg') center center/cover no-repeat;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: visible;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    padding: 0 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.7;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    padding: 0 1rem;
}

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

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-section {
        padding: 5rem 0;
        min-height: 60vh;
        margin-top: 70px;
    }
    
    .hero-section h1 {
        font-size: 3.5rem;
        padding: 0 1rem;
    }
    
    .hero-section p {
        font-size: 1.125rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
        margin-top: 70px;
        min-height: 55vh;
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
        padding: 0 1rem;
        line-height: 1.3;
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
        padding: 0 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 3rem 0;
        min-height: 50vh;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
        padding: 0 0.75rem;
        line-height: 1.3;
    }
    
    .hero-section p {
        font-size: 0.95rem;
        padding: 0 0.75rem;
    }
    
    .hero-buttons {
        padding: 0 0.75rem;
    }
}

/* Stats Section */
.stats-section {
    padding: 6rem 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-light);
}

.stat-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), #22c55e);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.stat-card .stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: visible;
    text-align: center;
    width: 100%;
    display: block;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.stat-card .stat-number sup {
    font-size: 0.6em;
    vertical-align: super;
}

.stat-card .stat-label {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.025em;
}

/* News Section */
.news-section {
    padding: 6rem 0;
    background-color: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-title p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green);
}

.news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover img {
    transform: scale(1.08);
}

.news-card .card-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card h5 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.news-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
    font-size: 0.95rem;
}

.news-card .btn {
    background-color: var(--primary-green);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
    font-weight: 600;
    font-size: 0.9rem;
}

.news-card .btn:hover {
    background-color: #15803d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsive news cards */
@media (max-width: 768px) {
    .news-card .card-body {
        padding: 1.25rem;
    }
    
    .news-card h5 {
        font-size: 1rem;
    }
    
    .news-card img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .news-card .card-body {
        padding: 1rem;
    }
    
    .news-card img {
        height: 160px;
    }
    
    .news-card .btn {
        width: 100%;
        text-align: center;
    }
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background-color: var(--white);
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), #22c55e);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.service-card .service-icon {
    font-size: 3.5rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

.service-card h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Footer Styles */
.footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer .icon {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

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

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-align: center;
    line-height: 1;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer .social-links a i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.footer .social-links a i {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.footer .social-links a:hover {
    background-color: var(--primary-green);
    transform: translateY(-3px);
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer mobile alignment */
@media (max-width: 768px) {
    .footer .row {
        text-align: center;
    }
    
    .footer .col-lg-3,
    .footer .col-md-6 {
        margin-bottom: 2rem;
        text-align: center !important;
    }
    
    .footer .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer .icon {
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
    }
    
    .footer .address,
    .footer div {
        text-align: center;
    }
    
    [dir="rtl"] .footer .icon {
        margin-left: 0 !important;
    }
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.btn-outline-primary {
    color: var(--primary-green);
    border-color: var(--primary-green);
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .stat-card .stat-number {
        font-size: 2.5rem;
    }
    
    /* Mobile navbar improvements */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        flex-direction: row;
        align-items: center !important;
    }
    
    .logo-image-wrapper {
        width: 70px !important;
        height: 70px !important;
    }
    
    .logo-img {
        width: 100% !important;
        height: 100% !important;
    }
    
    .logo-text h1 {
        font-size: 1.4rem !important;
        margin-bottom: 0 !important;
    }
    
    .logo-text small {
        font-size: 0.75rem !important;
    }
    
    .admin-login-btn {
        margin-left: 0.5rem;
    }
    
    .admin-login-btn .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .language-switcher {
        margin: 0.5rem 0;
    }
    
    .language-switcher a {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.25rem 0;
    }
    
    .navbar-brand {
        flex-direction: row;
        align-items: center !important;
    }
    
    .logo-image-wrapper {
        width: 60px !important;
        height: 60px !important;
    }
    
    .logo-img {
        width: 100% !important;
        height: 100% !important;
    }
    
    .logo-text h1 {
        font-size: 1.2rem !important;
        margin-bottom: 0 !important;
    }
    
    .logo-text small {
        font-size: 0.7rem !important;
    }
    
    .admin-login-btn {
        margin-left: 0.25rem;
    }
    
    .admin-login-btn .btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .language-switcher {
        margin: 0.25rem 0;
    }
    
    .language-switcher a {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
}

/* Page Content */
.page-content {
    margin-top: 100px;
    padding: 2rem 0;
    min-height: 70vh;
}

/* Form Styles */
.form-control {
    border-radius: 10px;
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(22, 163, 74, 0.25);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

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

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

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

/* Distance uses same styling as stat-number */
.stat-card .stat-number {
    color: #16A34A;
}

.stat-card .stat-number sup {
    font-size: 0.6em;
    vertical-align: super;
}