/* Landing Page - UHIA Inspired Design */
/* Government/Healthcare Theme with Blues and Greens */

:root {
    --uhia-primary: #0d5a9c;        /* Deep blue - trust and professionalism */
    --uhia-secondary: #2e7d32;      /* Green - health and growth */
    --uhia-accent: #00acc1;         /* Teal - modern and fresh */
    --uhia-light: #e3f2fd;          /* Light blue background */
    --uhia-dark: #1a237e;           /* Dark blue for text */
    --uhia-gray: #546e7a;           /* Neutral gray */
    --uhia-white: #ffffff;
    --uhia-gradient: linear-gradient(135deg, #0d5a9c 0%, #2e7d32 100%);
    --uhia-shadow: 0 4px 20px rgba(13, 90, 156, 0.15);
    --uhia-shadow-hover: 0 8px 30px rgba(13, 90, 156, 0.25);
}

/* Hero Section */
.landing-hero {
    background: var(--uhia-gradient);
    color: var(--uhia-white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,150 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat bottom center;
    background-size: cover;
    opacity: 0.6;
}

.landing-hero .container {
    position: relative;
    z-index: 1;
}

.landing-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.landing-hero .lead {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 800px;
}

.landing-hero .btn-hero {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin: 0 10px 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.landing-hero .btn-primary {
    background: var(--uhia-white);
    color: var(--uhia-primary);
    border: none;
}

.landing-hero .btn-primary:hover {
    background: var(--uhia-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.landing-hero .btn-outline-light {
    border: 2px solid var(--uhia-white);
    background: transparent;
}

.landing-hero .btn-outline-light:hover {
    background: var(--uhia-white);
    color: var(--uhia-primary);
    transform: translateY(-3px);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--uhia-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--uhia-gradient);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--uhia-gray);
    margin-top: 1.5rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--uhia-white);
}

.service-card {
    background: var(--uhia-white);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--uhia-shadow-hover);
    border-color: var(--uhia-primary);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--uhia-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.service-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card .icon i {
    font-size: 2.5rem;
    color: var(--uhia-white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--uhia-dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--uhia-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--uhia-light);
}

.about-content {
    background: var(--uhia-white);
    border-radius: 12px;
    padding: 50px;
    box-shadow: var(--uhia-shadow);
}

.about-content p.lead {
    font-size: 1.2rem;
    color: var(--uhia-gray);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-feature {
    padding: 25px;
    margin-bottom: 20px;
    border-left: 4px solid var(--uhia-primary);
    background: var(--uhia-light);
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateX(10px);
    border-left-color: var(--uhia-secondary);
}

.about-feature h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--uhia-primary);
    margin-bottom: 10px;
}

.about-feature p {
    color: var(--uhia-gray);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Statistics Section */
.stats-section {
    background: var(--uhia-gradient);
    color: var(--uhia-white);
    padding: 60px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.stat-item .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* RTL Support */
[dir="rtl"] .landing-hero h1,
[dir="rtl"] .landing-hero .lead {
    text-align: right;
}

[dir="rtl"] .about-feature {
    border-left: none;
    border-right: 4px solid var(--uhia-primary);
    border-radius: 8px 0 0 8px;
}

[dir="rtl"] .about-feature:hover {
    transform: translateX(-10px);
    border-right-color: var(--uhia-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-hero h1 {
        font-size: 2.5rem;
    }

    .landing-hero .lead {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .service-card {
        margin-bottom: 30px;
    }

    .about-content {
        padding: 30px;
    }

    .stat-item .stat-number {
        font-size: 2.5rem;
    }

    .landing-hero .btn-hero {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* Accessibility */
.service-card:focus,
.btn-hero:focus,
.about-feature:focus {
    outline: 3px solid var(--uhia-accent);
    outline-offset: 2px;
}
