:root {
    --bg-main: #ffffff;
    --bg-secondary: #f4f4f9;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --accent-red: #e3000f;
    --accent-red-hover: #cc000d;
    --accent-orange: #f39200;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.08);
}

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

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

h1, h2, h3, h4, h5, h6, .logo-text, .stat-number {
    font-family: 'Outfit', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Glassmorphism utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red), #b3000b);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(227, 0, 15, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 0, 15, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-orange);
    box-shadow: 0 4px 15px rgba(243, 146, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(243, 146, 0, 0.1);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
}
.btn-outline:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.logo-text {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-img {
    height: 60px;
    width: auto;
    display: block;
    transform: scale(3.5);
    transform-origin: left center;
    /* Subtle drop shadow is no longer needed on a white background if logo is dark/red/orange */
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: 0.3s;
}

/* Sections */
.section {
    padding: 6rem 0;
}

.dark-alt {
    background-color: var(--bg-secondary);
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-header p {
    color: var(--accent-orange);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff; /* Changed to white */
    z-index: -1;
}


.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 1080px auto 0; /* Space for 1080p element */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
}

/* --- Floating Icons Hero CSS --- */

.hero-content-floating {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 1rem;
    width: 100%;
}

.hero-title-floating {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: 0;
    background: linear-gradient(to bottom, #0f172a, rgba(15, 23, 42, 0.7)); /* Dark text */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 768px) {
    .hero-title-floating { font-size: 2.2rem; }
}

.hero-subtitle-floating {
    margin-top: 1rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9rem;
    color: #475569; /* Darker gray */
    line-height: 1.6;
}

.hero-stats-floating {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stats-floating .stat-item {
    background-color: #f1f1f1; /* Light card background */
    padding: 1.5rem 1.25rem;
    border-radius: 1rem;
    min-width: 140px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hero-stats-floating .stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: #df1b23; /* Striking red */
    margin: 0;
    margin-bottom: 0.5rem;
}

.hero-stats-floating .stat-item p {
    font-size: 0.95rem;
    color: #1e293b; /* Dark navy */
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .hero-stats-floating {
        gap: 2rem;
    }
    .hero-stats-floating .stat-item {
        padding: 2rem;
        min-width: 180px;
    }
    .hero-stats-floating .stat-item h3 {
        font-size: 3.5rem;
    }
    .hero-stats-floating .stat-item p {
        font-size: 1.15rem;
    }
}

.cta-button-floating {
    display: inline-block;
    background-color: #ffffff;
    color: #0f172a;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: opacity 0.2s;
}

.cta-button-floating:hover {
    opacity: 0.9;
}

.icons-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.icon-outer {
    position: absolute;
    will-change: transform;
}

.icon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 9rem;
    height: 9rem;
    padding: 0.75rem;
    border-radius: 2rem;
    background-color: rgba(255, 255, 255, 0.8); /* Light glass */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: float-icon 6s ease-in-out infinite alternate;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

@media (min-width: 768px) {
    .icon-inner {
        width: 12rem;
        height: 12rem;
    }
}

.icon-inner svg, .icon-inner img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    color: #1a1a1a;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

@media (min-width: 768px) {
    .icon-inner svg, .icon-inner img {
        width: 180px;
        height: 180px;
    }
}

@keyframes float-icon {
    0% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-8px) translateX(6px) rotate(5deg); }
    50% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    75% { transform: translateY(8px) translateX(-6px) rotate(-5deg); }
    100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.tagline {
    font-size: 1.5rem;
    color: var(--accent-orange);
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: 2px;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    padding: 2rem 1rem;
    text-align: center;
    transition: transform 0.3s ease;
    background: rgba(255,255,255,0.9);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(243, 146, 0, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 3rem;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
}

/* Why MAC */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    border-color: var(--accent-red);
    box-shadow: 0 10px 40px rgba(227, 0, 15, 0.08);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services List */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-row {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--glass-border);
    padding-bottom: 2rem;
}

.service-row::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-orange);
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Industries */
.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-weight: 500;
}

.tag:hover {
    background: var(--accent-red);
    color: #fff;
    border-color: var(--accent-red);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.ind-card {
    padding: 2rem;
    background: #ffffff;
}

.ind-card h4 {
    margin-bottom: 1rem;
    color: var(--accent-red);
}

.ind-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Careers */
.career-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.career-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.career-text .subtitle {
    color: var(--accent-orange);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.career-text p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.benefits-list li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.benefits-list strong {
    color: var(--text-primary);
}

.vacancies {
    padding: 3rem;
    background: #ffffff;
}

.vacancies h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.job-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: padding-left 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.job-list li:hover {
    padding-left: 10px;
    color: var(--accent-red);
}

.send-resume {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Footer */
.footer {
    background: #ffffff;
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.footer-brand .company-desc {
    color: var(--text-secondary);
    margin-top: 1.5rem;
    max-width: 400px;
    line-height: 1.6;
}

.footer-locations h3, .footer-links h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.office {
    margin-bottom: 2rem;
}

.office h4 {
    color: var(--accent-orange);
    margin-bottom: 0.5rem;
}

.office p {
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-links ul li a:hover {
    color: var(--accent-red);
}

.hours {
    margin-top: 2rem;
}

.hours strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.hours p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .career-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-main);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: 0.3s;
        border-top: 1px solid var(--glass-border);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Services at a Glance (Animated) */
.glance-section {
    position: absolute;
    top: 150px; /* Positioned securely in the blank hero space */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.glance-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.glance-card {
    width: 100%;
    height: 450px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15); /* Stronger shadow since it's floating on an image */
    display: flex;
    position: relative;
    z-index: 2;
    /* NO overflow: hidden on the card itself, objects must drift out */
}

.glance-left {
    flex: 0 0 42%;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 60px;
}

.glance-blob-clipper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    border-radius: 24px; /* Matches the card */
    z-index: 1;
    pointer-events: none;
}

.glance-blob {
    position: absolute;
    top: 50%;
    left: 20%; /* Shifted left */
    transform: translate(-50%, -50%);
    width: 55%; /* About half the card */
    height: 140%;
    background-color: #1E293B; /* Default */
    border-radius: 45% 55% 40% 60% / 55% 45% 60% 40%;
    transition: background-color 700ms ease, border-radius 900ms ease-in-out, transform 900ms ease-in-out;
}

.glance-headings {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 120px; 
}

.glance-heading {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) translateX(30px);
    font-family: 'Poppins', sans-serif;
    font-size: 4rem; /* Larger */
    font-weight: 800;
    line-height: 1.1;
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease, transform 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

.glance-heading.active {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.glance-heading.leave {
    opacity: 0;
    transform: translateY(-50%) translateX(-30px);
}

.glance-objects {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
}

.glance-obj-wrapper {
    position: absolute;
    transition: opacity 300ms ease, transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.glance-obj-wrapper.leave {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
}

.glance-obj {
    width: 80px; /* Larger objects */
    height: 80px;
    border: 3px dashed rgba(30, 41, 59, 0.2);
    border-radius: 12px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(5px);
}

/* Positioning 5 objects more centrally to bridge the gap */
#obj-wrap-1 { top: 10%; right: 40%; }
#obj-wrap-2 { bottom: 15%; right: 45%; }
#obj-wrap-3 { top: 40%; left: 35%; transform: scale(1.5); } /* Central large object */
#obj-wrap-4 { top: 20%; left: 55%; }
#obj-wrap-5 { bottom: 30%; right: 10%; } 

.drift-1 { animation: driftY 4s infinite ease-in-out alternate; }
.drift-2 { animation: driftY 5.5s infinite ease-in-out alternate-reverse; }
.drift-3 { animation: driftY 4.5s infinite ease-in-out alternate; }
.drift-4 { animation: driftY 6s infinite ease-in-out alternate-reverse; }
.drift-5 { animation: driftY 5s infinite ease-in-out alternate; }

@keyframes driftY {
    0% { transform: translateY(-15px); }
    100% { transform: translateY(15px); }
}

.glance-right {
    flex: 0 0 58%;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: transparent;
    z-index: 3;
    position: relative;
}

.glance-right-header {
    margin-bottom: 40px;
}

.glance-title {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 20px;
}

.glance-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #64748b;
    font-weight: 700;
}

.glance-lists {
    position: relative;
    flex-grow: 1;
}

.glance-list {
    position: absolute;
    top: 0; left: 0; width: 100%;
    list-style: none;
    padding: 0; margin: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease; 
}

.glance-list.active {
    opacity: 1;
    pointer-events: auto;
}

.glance-list li {
    font-size: 1.05rem;
    color: #334155;
    padding: 16px 0;
    border-bottom: 1px solid #f1f5f9;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 300ms ease, transform 300ms ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.glance-list.active li {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(var(--i) * 60ms);
}

.glance-controls {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.glance-nav-btn {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 10px 24px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    transition: all 200ms ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.glance-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.glance-nav-btn.active {
    background: #1e293b;
    border-color: #1e293b;
    color: white;
}

/* --- Latest News Section --- */
.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

.news-card-date {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 200ms ease;
}

.news-card-title a:hover {
    color: #df1b23;
}

.news-card-source {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-card-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.news-card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #df1b23;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: gap 200ms ease;
}

.news-card-link:hover {
    gap: 0.5rem;
}

.news-loading-state {
    text-align: center;
    padding: 3rem;
    color: #64748b;
    font-size: 1.1rem;
}

.news-card-header {
    height: 80px;
    background: linear-gradient(135deg, #df1b23, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.news-card-header svg {
    opacity: 0.8;
}

.source-badge {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

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

.news-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 300ms ease, box-shadow 300ms ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    animation: fadeUp 0.6s ease forwards;
}

/* --- Test Section --- */
.test-feature-section {
    position: relative;
    max-width: 1152px;
    margin: 0 auto;
    padding-left: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 30rem;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
}

.test-feature-content {
    width: 50%;
    z-index: 10;
}

.test-feature-content h2 {
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111827;
}

.test-feature-content p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    max-width: 32rem;
}

.test-feature-orbit-container {
    position: relative;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.test-orbit-wrapper {
    position: relative;
    width: 50rem;
    height: 50rem;
    transform: translateX(50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.test-orbit-center {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background-color: #f9fafb;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.test-orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dotted #d1d5db;
}

.test-orbit-icon {
    position: absolute;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes spin-orbit {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
