/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-dark);
    padding: 80px 0 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg.png') center / cover no-repeat;
    opacity: 0.35;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(26, 86, 219, 0.15);
    border: 1px solid rgba(26, 86, 219, 0.3);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-teal);
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-badge i {
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual — Floating Cards */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.hero-cards {
    position: relative;
    width: 100%;
    height: 400px;
}

.hero-cards-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.2), rgba(14, 165, 233, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: rgba(15, 33, 64, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: heroFloat 6s ease-in-out infinite;
    transition: all var(--transition-normal);
    cursor: default;
    white-space: nowrap;
}

.hero-float-card:hover {
    border-color: rgba(14, 165, 233, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

.hfc-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.hfc-icon.hospital {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.hfc-icon.diagnostics {
    background: rgba(14, 165, 233, 0.15);
    color: #0ea5e9;
}

.hfc-icon.realty {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.hfc-icon.trading {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.hfc-icon.charity {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.hfc-text strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text-white);
    font-weight: 600;
}

.hfc-text span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Card positions — staggered layout */
.hero-float-card.card-1 {
    top: 5%;
    left: 10%;
    animation-delay: 0s;
}

.hero-float-card.card-2 {
    top: 8%;
    right: 5%;
    animation-delay: -1.2s;
}

.hero-float-card.card-3 {
    top: 42%;
    left: 18%;
    animation-delay: -2.4s;
}

.hero-float-card.card-4 {
    top: 45%;
    right: 8%;
    animation-delay: -3.6s;
}

.hero-float-card.card-5 {
    bottom: 8%;
    left: 28%;
    animation-delay: -4.8s;
}

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* Hero floating shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
}

.hero-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    background: var(--accent-teal);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    background: var(--primary-blue);
    bottom: 15%;
    right: 25%;
    animation-delay: -3s;
}

.hero-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    background: var(--accent-gold);
    top: 40%;
    right: 5%;
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-10px, 15px) scale(0.95);
    }
}

/* ===== NEWS TICKER ===== */
.news-ticker {
    background: rgba(26, 86, 219, 0.1);
    border-top: 1px solid rgba(26, 86, 219, 0.2);
    border-bottom: 1px solid rgba(26, 86, 219, 0.2);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
}

.ticker-label {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    background: var(--gradient-blue);
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.ticker-label::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 0;
    border: 22px solid transparent;
    border-left: 20px solid var(--primary-blue);
}

.ticker-content {
    display: flex;
    animation: ticker-scroll 25s linear infinite;
    padding-left: 0;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    white-space: nowrap;
    padding: 0 40px;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticker-item i {
    color: var(--accent-gold);
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== BUSINESS UNITS SECTION ===== */
.business-section {
    padding: var(--section-padding);
    position: relative;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.business-card {
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 3px 3px 0 0;
    transition: height var(--transition-normal);
}

.business-card:hover::before {
    height: 5px;
}

.business-card.hospital::before {
    background: linear-gradient(90deg, #ef4444, #f87171);
}

.business-card.diagnostics::before {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
}

.business-card.realty::before {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.business-card.charity::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.business-card.trading::before {
    background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.business-card-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.8rem;
    transition: transform var(--transition-normal);
}

.business-card:hover .business-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.hospital .business-card-icon {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.diagnostics .business-card-icon {
    background: rgba(14, 165, 233, 0.12);
    color: #0ea5e9;
}

.realty .business-card-icon {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.charity .business-card-icon {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.trading .business-card-icon {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

.business-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.business-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.business-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-teal);
    font-weight: 600;
    font-size: 0.88rem;
    transition: all var(--transition-fast);
}

.business-card .card-link:hover {
    gap: 10px;
}

/* ===== ABOUT PREVIEW SECTION ===== */
.about-preview {
    padding: var(--section-padding);
    background: rgba(15, 33, 64, 0.3);
    position: relative;
    overflow: hidden;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.1), transparent 70%);
    border-radius: 50%;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-card {
    padding: 28px 24px;
    text-align: center;
}

.stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== DIRECTOR SECTION ===== */
.director-section {
    padding: var(--section-padding);
    position: relative;
}

.director-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 50px;
    align-items: center;
    padding: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.director-avatar {
    width: 260px;
    min-width: 260px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.2), 0 20px 50px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
}

.director-avatar img {
    width: 100%;
    height: auto;
    display: block;
}

.director-info h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.director-info .title {
    color: var(--accent-teal);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.director-info p {
    font-size: 1rem;
    line-height: 1.8;
}

.director-info p strong {
    color: var(--text-white);
}

.director-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.director-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-light);
}

.director-tags span i {
    font-size: 0.75rem;
    color: var(--accent-teal);
}

/* ===== BUSINESS SHOWCASE ===== */
.business-showcase {
    padding: var(--section-padding);
    position: relative;
}

.showcase-item {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    padding: 36px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    transition: all var(--transition-normal);
}

.showcase-item:hover {
    border-color: rgba(14, 165, 233, 0.25);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
    transform: translateY(-3px);
}

.showcase-item:nth-child(even) {
    flex-direction: row-reverse;
}

.showcase-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.showcase-icon.hospital {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.showcase-icon.diagnostics {
    background: rgba(14, 165, 233, 0.12);
    color: #0ea5e9;
}

.showcase-icon.realty {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.showcase-icon.charity {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.showcase-icon.trading {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

.showcase-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.showcase-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.showcase-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.showcase-tags span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-light);
}

.showcase-tags span i {
    color: var(--accent-teal);
    font-size: 0.75rem;
}

.showcase-content .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-teal);
    font-weight: 600;
    font-size: 0.88rem;
    transition: all var(--transition-fast);
}

.showcase-content .card-link:hover {
    gap: 10px;
    color: var(--text-white);
}

/* ===== IMPACT SECTION ===== */
.impact-section {
    padding: var(--section-padding);
    background: rgba(15, 33, 64, 0.3);
    position: relative;
    overflow: hidden;
}

.impact-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08), transparent 70%);
    border-radius: 50%;
}

.impact-content {
    text-align: center;
    margin-bottom: 60px;
}

.impact-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: var(--radius-xl);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-teal);
    margin-bottom: 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.impact-content h2 {
    margin-bottom: 20px;
}

.impact-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 740px;
    margin: 0 auto;
    color: var(--text-muted);
}

.impact-content p strong {
    color: var(--text-white);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.impact-stat {
    text-align: center;
    padding: 36px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.impact-stat:hover {
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.impact-stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.3rem;
}

.impact-stat-icon.hospital {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.impact-stat-icon.diagnostics {
    background: rgba(14, 165, 233, 0.12);
    color: #0ea5e9;
}

.impact-stat-icon.realty {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.impact-stat-icon.charity {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.impact-stat-icon.trading {
    background: rgba(139, 92, 246, 0.12);
    color: #8b5cf6;
}

.impact-stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.impact-stat-label {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-blue);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 50%;
}

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

.cta-content h2 {
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 32px;
}

.cta-content .btn-gold {
    font-size: 1rem;
    padding: 16px 40px;
}

/* ===== LIGHT THEME — HOME OVERRIDES ===== */
[data-theme="light"] .hero {
    background: #f0f4f8;
}

[data-theme="light"] .hero::before {
    opacity: 0.12;
}

[data-theme="light"] .hero-float-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-float-card:hover {
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .news-ticker {
    background: rgba(26, 86, 219, 0.04);
    border-top: 1px solid rgba(26, 86, 219, 0.1);
    border-bottom: 1px solid rgba(26, 86, 219, 0.1);
}

[data-theme="light"] .about-preview {
    background: rgba(226, 232, 240, 0.5);
}

[data-theme="light"] .director-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .director-tags span {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .showcase-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .showcase-item:hover {
    border-color: rgba(14, 165, 233, 0.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .showcase-tags span {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .impact-section {
    background: rgba(226, 232, 240, 0.5);
}

[data-theme="light"] .impact-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .cta-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #1a56db 50%, #0284c7 100%);
}

/* ===== HOME RESPONSIVE ===== */
@media (max-width: 1024px) {
    .business-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 50px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-visual {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .director-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
        gap: 30px;
    }

    .director-avatar {
        width: 200px;
        min-width: auto;
        margin: 0 auto;
    }

    .director-tags {
        justify-content: center;
    }

    .ticker-label {
        display: none;
    }

    .ticker-content {
        padding-left: 0;
    }

    .showcase-item,
    .showcase-item:nth-child(even) {
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }

    .showcase-icon {
        width: 64px;
        height: 64px;
        min-width: 64px;
        font-size: 1.6rem;
    }

    .showcase-content h3 {
        font-size: 1.15rem;
    }

    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .impact-stat-number {
        font-size: 2rem;
    }
}