@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #0056b3; /* Corporate Blue */
    --secondary-color: #1a2e44; /* Dark Navy */
    --accent-color: #00a0e9; /* Light Blue */
    --text-color: #333333;
    --light-text: #666666;
    --bg-color: #ffffff;
    --section-bg: #f8f9fa;
    --border-color: #e5e5e5;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 30px;
    position: relative;
    padding-left: 15px;
    border-left: 5px solid var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
}

.btn:hover {
    background-color: #004494;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 12px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.main-header {
    padding: 20px 0;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 500;
    font-size: 16px;
    color: var(--secondary-color);
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(26, 46, 68, 0.8), rgba(26, 46, 68, 0.8)), url('images/tech-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    display: flex;
}

.search-box input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    outline: none;
}

.search-box button {
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-weight: 600;
}

/* Featured Report */
.featured-section {
    padding: 60px 0;
    background-color: #fff;
}

.featured-card {
    display: flex;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.featured-img {
    flex: 1;
    background-image: url('images/lab.jpg');
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

.featured-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: rgba(0, 86, 179, 0.1);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
    width: fit-content;
}

.featured-content h2 {
    font-size: 28px;
    margin: 0 0 15px;
    color: var(--secondary-color);
}

.featured-content p {
    color: var(--light-text);
    margin-bottom: 25px;
}

/* Latest Research Grid */
.research-section {
    padding: 60px 0;
    background-color: var(--section-bg);
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.report-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 20px;
}

.card-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--text-color);
    line-height: 1.4;
}

.card-title:hover {
    color: var(--primary-color);
}

.card-desc {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sidebar Layout for Subpages */
.page-layout {
    display: flex;
    gap: 40px;
    padding: 60px 0;
}

.main-content {
    flex: 3;
}

.sidebar-widget {
    flex: 1;
}

.widget {
    background: #fff;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 30px;
}

.widget h3 {
    font-size: 18px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.widget ul li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
    border-bottom: none;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 14px;
    color: #aaa;
}

@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .featured-card {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
