:root {
    --primary-color: #1a73e8;
    --secondary-color: #34a853;
    --accent-color: #ea4335;
    --text-color: #1d2a3b;
    --light-bg: #f8f9fa;
    --dark-bg: #2c3e50;
    --white: #ffffff;
}

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

html {
    font-size: 10px;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--text-color);
}

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

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

.logo {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links a {
    font-size: 1.6rem;
    color: var(--text-color);
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s;
}

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url("data:image/svg+xml,%3Csvg viewBox='0 0 400 300' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='400' height='300' fill='%23e8f6ff'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--dark-bg);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.8rem;
    color: #555;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #1557b0;
}

.hero-image svg {
    width: 100%;
    max-width: 350px;
}

.section {
    padding: 6rem 0;
}

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

.section-header h2 {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 1rem;
}

.section-header h2 span {
    color: var(--primary-color);
}

.section-header p {
    font-size: 1.8rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--light-bg);
}

.section-dark {
    background-color: var(--dark-bg);
    color: var(--white);
}

.section-dark h2,
.section-dark p {
    color: var(--white) !important;
}

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

.articles .card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.articles .card-image {
    height: 200px;
    background-color: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.articles .card-content {
    padding: 2rem;
}

.articles .card-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.articles .card-content p {
    font-size: 1.6rem;
    color: #666;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.4rem;
    margin-top: 0.5rem;
}

.read-more svg {
    margin-left: 0.5rem;
    transition: transform 0.3s;
}

.read-more:hover svg {
    transform translateX(5px);
}

.tool-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.tool-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
}

.tool-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tool-card p {
    font-size: 1.6rem;
    color: #666;
    margin-bottom: 0;
}

.contact-info .card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.contact-info .card-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: var(--primary-color);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.contact-info p {
    font-size: 1.6rem;
    color: #666;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 1.4rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 3.6rem;
    }
    
    .hero-content p {
        font-size: 1.6rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links a {
        margin: 0 0.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2.8rem;
    }
    
    .row,
    .articles .row,
    .tools .row,
    .contact-info .row {
        grid-template-columns: 1fr;
    }
}
