/* Base Styles */
:root {
    --primary-color: #1E88E5;
    --secondary-color: #42A5F5;
    --accent-color: #FF5722;
    --dark-color: #263238;
    --light-color: #ECEFF1;
    --text-color: #333;
    --light-text: #fff;
    --gray-text: #757575;
    --border-color: #CFD8DC;
    --success-color: #4CAF50;
    --warning-color: #FFC107;
    --error-color: #F44336;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

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

/* Button Styles */
.btn, .btn-secondary, .btn-tertiary {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn:hover {
    background-color: var(--secondary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
}

.btn-tertiary {
    background-color: transparent;
    color: var(--gray-text);
    border: 2px solid var(--border-color);
}

.btn-tertiary:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 50%;
}

header h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

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

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

nav a.active {
    border-bottom: 3px solid var(--primary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(to right, #1E88E5, #42A5F5);
    color: var(--light-text);
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Icon Styles (using Font Awesome Unicode as placeholders) */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
    vertical-align: middle;
}

.home-icon::before {
    content: '🏠';
}

.blog-icon::before {
    content: '📝';
}

.about-icon::before {
    content: '👥';
}

.contact-icon::before {
    content: '✉️';
}

.featured-icon::before {
    content: '🔍';
}

.fact-icon::before {
    content: '💡';
}

.newsletter-icon::before {
    content: '📧';
}

.address-icon::before {
    content: '📍';
}

.phone-icon::before {
    content: '📞';
}

.email-icon::before {
    content: '✉️';
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.ai-icon::before {
    content: '🤖';
}

.network-icon::before {
    content: '📡';
}

.security-icon::before {
    content: '🔒';
}

.education-icon::before {
    content: '🎓';
}

.green-icon::before {
    content: '🌱';
}

.mission-icon::before {
    content: '🎯';
}

.values-icon::before {
    content: '⚖️';
}

.what-we-do-icon::before {
    content: '🔧';
}

.team-icon::before {
    content: '👥';
}

.award-icon::before {
    content: '🏆';
}

.trophy-icon::before {
    content: '🏆';
}

.info-icon::before {
    content: 'ℹ️';
}

.message-icon::before {
    content: '✍️';
}

.map-icon::before {
    content: '🗺️';
}

.hours-icon::before {
    content: '🕒';
}

.related-icon::before {
    content: '🔄';
}

.arrow-left-icon::before {
    content: '←';
}

.arrow-right-icon::before {
    content: '→';
}

.check-icon::before {
    content: '✅';
}

/* Featured Posts Section */
.featured-posts {
    padding: 60px 0;
}

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

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

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

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

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.post-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
    color: var(--dark-color);
}

.post-card p {
    padding: 0 20px 20px;
    color: var(--gray-text);
}

.post-card .btn-secondary {
    margin: 0 20px 20px;
    display: block;
    text-align: center;
}

/* Tech Fact Section */
.tech-fact {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 40px 0;
    text-align: center;
}

.tech-fact h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.tech-fact p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Newsletter Section */
.newsletter {
    padding: 60px 0;
    background-color: var(--light-color);
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--dark-color);
}

.newsletter p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter input:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

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

.footer-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    border-radius: 50%;
}

.footer-info p {
    margin-bottom: 10px;
    color: #B0BEC5;
}

.footer-links h3, .footer-contact h3, .footer-social h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light-text);
}

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

.footer-links a {
    color: #B0BEC5;
}

.footer-links a:hover {
    color: var(--light-text);
    text-decoration: underline;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #B0BEC5;
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

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

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #B0BEC5;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: #B0BEC5;
}

.legal-links a:hover {
    color: var(--light-text);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark-color);
    color: var(--light-text);
    padding: 20px;
    z-index: 1100;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

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

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.cookie-more-info {
    font-size: 0.9rem;
}

.cookie-more-info a {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Page Header */
.page-header {
    background: linear-gradient(to right, #1E88E5, #42A5F5);
    color: var(--light-text);
    padding: 60px 0;
    text-align: center;
}

.page-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

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

/* Blog Posts Page */
.blog-posts {
    padding: 60px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

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

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.blog-post img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.post-meta {
    padding: 15px 20px 0;
    display: flex;
    justify-content: space-between;
    color: var(--gray-text);
    font-size: 0.9rem;
}

.blog-post h3 {
    padding: 10px 20px;
    font-size: 1.4rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}

.blog-post p {
    padding: 0 20px 20px;
    color: var(--gray-text);
}

.blog-post .btn-secondary {
    margin: 0 20px 20px;
    display: block;
    text-align: center;
}

/* About Page */
.about-info {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-top: 30px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray-text);
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.team {
    padding: 60px 0;
    background-color: var(--light-color);
}

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

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

.team-member {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.team-member h3 {
    padding: 15px 15px 5px;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.team-member p {
    padding: 0 15px 15px;
    color: var(--gray-text);
}

.team-member p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
}

.awards {
    padding: 60px 0;
}

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

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

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

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

.award i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.award p {
    color: var(--gray-text);
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3, .contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--dark-color);
    display: flex;
    align-items: center;
}

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

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.info-item p {
    color: var(--gray-text);
}

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

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

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.map-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.map-section h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 400px;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Post Page */
.post-content {
    padding: 60px 0;
}

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

.post-header .post-meta {
    margin-bottom: 15px;
    padding: 0;
    color: var(--gray-text);
}

.post-header h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.post-main-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.post-body {
    margin-bottom: 40px;
    line-height: 1.8;
}

.post-body h3 {
    font-size: 1.6rem;
    margin: 30px 0 15px;
    color: var(--dark-color);
}

.post-body p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.post-body ul, .post-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.post-body ul {
    list-style-type: disc;
}

.post-body ol {
    list-style-type: decimal;
}

.post-body li {
    margin-bottom: 10px;
    color: var(--text-color);
}

.post-footer {
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.post-tags a {
    display: inline-block;
    margin-right: 10px;
    padding: 5px 10px;
    background-color: var(--light-color);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--gray-text);
    transition: var(--transition);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.post-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-share a {
    color: var(--gray-text);
}

.post-share a:hover {
    color: var(--primary-color);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.post-navigation a {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    color: var(--dark-color);
    font-weight: 600;
    transition: var(--transition);
}

.post-navigation a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.post-navigation a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.post-navigation a.disabled:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
}

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

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

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

.related-post {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.related-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.related-post img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-post h3 {
    padding: 15px 15px 10px;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.related-post p {
    padding: 0 15px 15px;
    color: var(--gray-text);
}

.related-post .btn-secondary {
    margin: 0 15px 15px;
    display: block;
    text-align: center;
}

/* Thank You Modal */
.thank-you-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.thank-you-modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-text);
}

.close-modal:hover {
    color: var(--dark-color);
}

.modal-content i {
    font-size: 3rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

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

.modal-content p {
    margin-bottom: 20px;
    color: var(--gray-text);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content, .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .newsletter form {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    .post-footer {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .logo-container {
        justify-content: center;
    }
    
    .team-grid, .awards-grid {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .modal-content {
        padding: 30px 20px;
    }
}
