/* ==========================================================================
   Autonomous Systems - Global Stylesheet (Pure Static CSS)
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    scroll-behavior: smooth;
}

@supports not (overflow-x: clip) {
    html, body {
        overflow-x: hidden;
    }
}

/* Custom Scrollbar for RSS Feed */
#rss-feed::-webkit-scrollbar {
    width: 6px;
}
#rss-feed::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
#rss-feed::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 4px;
}
#rss-feed::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Navbar Logo */
.navbar-logo {
    max-width: 60vw;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.navlogo {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.wrapper-heading {
    line-height: 1.2 !important;
    word-break: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 768px) {
    .wrapper-heading {
        line-height: 75px !important;
    }
}

/* RSS Feed Widget Box */
#rss-feed {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 200px;
    background-color: #ff7607;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow-y: auto;
    padding: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    font-family: inherit;
    z-index: 10;
    box-sizing: border-box;
}

.rss-item {
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.rss-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.rss-item a {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    display: block;
    line-height: 1.35;
}

.rss-item a:hover {
    text-decoration: underline;
}

.rss-item p {
    font-size: 11px;
    color: #fff3ea;
    margin: 4px 0 0;
}

/* Cards & Interactions */
.industry-card {
    transition: all 0.3s ease;
}

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

.gradient-overlay {
    background: linear-gradient(45deg, rgba(255, 118, 7, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.news-card {
    transition: all 0.3s ease-in-out;
}

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

.news-card:hover .gradient-hover {
    background: linear-gradient(to right, #fff5eb, #fff0e5);
}

.news-card:hover h3 {
    color: #FF7607;
    transition: color 0.3s ease;
}

.news-card svg {
    transition: transform 0.3s ease;
}

.news-card:hover svg {
    transform: translateX(5px);
}

.contact-card {
    transition: all 0.3s ease-in-out;
}

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

.team-card {
    transition: all 0.3s ease;
}

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