/* Reset & Defaults */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #0066cc;
}

.cta-btn {
    background: #0066cc;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: #0052a3 !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #0066cc;
    color: white;
}

.btn-primary:hover {
    background: #0052a3;
}

.btn-secondary {
    background: white;
    color: #0066cc;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: #f0f0f0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card h3 {
    margin-bottom: 15px;
    color: #0066cc;
}

.service-card a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
}

/* Stats Section */
.stats {
    background: #f5f5f5;
    padding: 60px 20px;
    margin: 60px 0;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat h3 {
    font-size: 2.5em;
    color: #0066cc;
    margin-bottom: 10px;
}

.stat p {
    font-size: 1.1em;
    color: #666;
}

/* Testimonials */
.testimonials {
    padding: 60px 20px;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial {
    padding: 30px;
    border-left: 4px solid #0066cc;
    background: #f9f9f9;
    border-radius: 4px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial footer {
    font-weight: 600;
    color: #666;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* Contact Form */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1em;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.2);
}

.contact-info {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h4 {
    margin-bottom: 8px;
    color: #0066cc;
}

/* Blog */
.blog-card {
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 30px;
    transition: all 0.3s;
}

.blog-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.blog-card h2 {
    margin-bottom: 10px;
}

.blog-card h2 a {
    color: #333;
    text-decoration: none;
}

.blog-card h2 a:hover {
    color: #0066cc;
}

.meta {
    color: #999;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.read-more {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

/* Blog Post */
.blog-post {
    padding: 60px 20px;
}

.post-header {
    margin-bottom: 40px;
}

.post-header h1 {
    margin-bottom: 15px;
}

.blog-post img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 40px 0;
}

.post-content {
    max-width: 800px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.post-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-sidebar {
    max-width: 300px;
    margin-left: auto;
    margin-top: 40px;
}

.cta-box {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.cta-box h3 {
    color: #0066cc;
    margin-bottom: 10px;
}

.related-posts {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.related-posts h3 {
    margin-bottom: 15px;
}

.related-posts ul {
    list-style: none;
}

.related-posts li {
    margin-bottom: 12px;
}

.related-posts a {
    color: #0066cc;
    text-decoration: none;
}

.related-posts a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2em;
    }
    
    .nav-menu {
        gap: 15px;
        font-size: 0.9em;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar {
        max-width: 100%;
        margin-left: 0;
    }
}
