/* Base Styles */
:root {
    --primary-color: #0066b2;
    --secondary-color: #0099ff;
    --accent-color: #004c8c;
    --light-color: #f0f8ff;
    --dark-color: #333;
    --text-color: #444;
    --border-color: #ddd;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center {
    text-align: center;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    padding: 10px;
    font-weight: 500;
    color: var(--dark-color);
}

nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--primary-color);
}

.btn-white:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 77, 141, 0.8), rgba(0, 102, 178, 0.8)), url('../assets/banner.svg') no-repeat center center/cover;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

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

.section-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-color);
}

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

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

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

.feature {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-10px);
}

.feature-icon {
    background-color: var(--light-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2rem;
}

.feature h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Company Cards */
.companies {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.company-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
}

.company-card:hover {
    transform: translateY(-10px);
}

.company-logo {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2rem;
}

.company-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.rating {
    color: #ffc107;
    margin-bottom: 15px;
}

.company-card p {
    margin-bottom: 20px;
}

/* Comparison Section */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.comparison-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.comparison-stats {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Technologies */
.technologies {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.tech-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 25px;
    text-align: center;
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-10px);
}

.tech-icon {
    margin-bottom: 20px;
}

.tech-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

/* Articles */
.articles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.article-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-10px);
}

.article-img {
    height: 200px;
    overflow: hidden;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-img img {
    transform: scale(1.1);
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.article-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 15px;
}

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

/* Newsletter */
.newsletter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.newsletter-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

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

.form-group input:not([type="checkbox"]),
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
}

.form-checkbox input {
    margin-top: 5px;
    margin-right: 10px;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.footer-section ul li a {
    color: #bbb;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-section address p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-section address p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-media {
    display: flex;
    margin-top: 20px;
}

.social-media a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 10px;
    transition: var(--transition);
}

.social-media a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #bbb;
}

/* Thanks Page */
.thanks {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.thanks-icon {
    font-size: 5rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.thanks-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.thanks-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.thanks-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Contact Page */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 40px;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.contact-form {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 40px;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--dark-color);
}

/* Blog Page */
.blog-header {
    background: linear-gradient(rgba(0, 77, 141, 0.8), rgba(0, 102, 178, 0.8)), url('../assets/banner.svg') no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.blog-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

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

.blog-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-card-img {
    height: 200px;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 25px;
}

.blog-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.blog-card-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.blog-card-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.blog-card-meta span {
    margin-right: 15px;
}

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

/* Article Page */
.article-header {
    background-color: var(--light-color);
    padding: 80px 0;
}

.article-meta-full {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.article-meta-full .meta-item {
    margin-right: 20px;
    display: flex;
    align-items: center;
}

.article-meta-full .meta-item i {
    margin-right: 5px;
    color: var(--primary-color);
}

.article-content-full {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 0;
}

.article-content-full p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content-full h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--dark-color);
}

.article-content-full h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--dark-color);
}

.article-content-full ul, .article-content-full ol {
    margin-bottom: 25px;
    padding-left: 20px;
}

.article-content-full li {
    margin-bottom: 10px;
}

.article-content-full img {
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: var(--shadow);
    width: 100%;
}

.article-share {
    margin-top: 50px;
    display: flex;
    align-items: center;
}

.article-share span {
    margin-right: 15px;
    font-weight: 500;
}

.article-share a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 10px;
    transition: var(--transition);
}

.article-share a.facebook {
    background-color: #3b5998;
}

.article-share a.twitter {
    background-color: #1da1f2;
}

.article-share a.linkedin {
    background-color: #0077b5;
}

.article-share a:hover {
    transform: translateY(-5px);
}

.related-articles {
    background-color: var(--light-color);
    padding: 50px 0;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--dark-color);
}

/* About Page */
.about-header {
    background: linear-gradient(rgba(0, 77, 141, 0.8), rgba(0, 102, 178, 0.8)), url('../assets/banner.svg') no-repeat center center/cover;
    padding: 100px 0;
    text-align: center;
    color: white;
}

.about-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.about-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    padding: 80px 0;
}

.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.about-row:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-stats {
    background-color: var(--light-color);
    padding: 80px 0;
    text-align: center;
}

.about-stats h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--dark-color);
}

/* Legal Pages */
.legal-header {
    background-color: var(--light-color);
    padding: 60px 0;
    text-align: center;
}

.legal-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.legal-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 0;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--dark-color);
}

.legal-content h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: var(--dark-color);
}

.legal-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .comparison, .newsletter {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .articles {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper, .about-row {
        grid-template-columns: 1fr;
    }
    
    .about-row:nth-child(even) {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: var(--shadow);
        flex-direction: column;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-icon {
        display: block;
    }
    
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .thanks-content h1 {
        font-size: 2.5rem;
    }
    
    .thanks-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .blog-header h1, .about-header h1, .legal-header h1 {
        font-size: 2rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .features, .companies, .technologies {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .thanks-icon {
        font-size: 4rem;
    }
    
    .thanks-content h1 {
        font-size: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta-full {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-meta-full .meta-item {
        margin-bottom: 10px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
