/* Base Styles */
:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --accent-color: #e74c3c;
    --light-gray: #f8f9fa;
    --mid-gray: #e9ecef;
    --dark-gray: #7f8c8d;
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-width: 1200px;
    --section-spacing: 80px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

a:hover {
    color: #1a6aa8;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: #1a6aa8;
    color: var(--white);
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-spacing) 0;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
}

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

.logo {
    max-height: 60px;
    width: auto;
}

#real-time-clock {
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    margin-left: auto;
    margin-right: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.spell-check-btn {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.spell-check-btn:hover {
    background-color: #27ae60;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    background-color: var(--light-gray);
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--light-text);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

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

/* Features Section */
.features {
    padding: 5rem 5%;
    text-align: center;
    background-color: var(--white);
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

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

.feature-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--light-text);
}

/* Recent Posts Section */
.recent-posts {
    padding: 5rem 5%;
    background-color: var(--light-gray);
    text-align: center;
}

.recent-posts h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

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

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

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.post-content p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.center-button {
    margin-top: 2rem;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 5%;
    text-align: center;
    background-color: var(--white);
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 1rem 0;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial {
    min-width: 300px;
    max-width: 350px;
    flex: 1;
}

.testimonial-content {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--box-shadow);
}

.testimonial-content:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--light-gray);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 1.5rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 1rem;
}

.testimonial-author h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 0;
}

/* Newsletter Section */
.newsletter {
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    color: var(--white);
    text-align: center;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

#newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
}

#newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
    min-width: 0;
}

#newsletter-form button {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

#newsletter-form button:hover {
    background-color: #27ae60;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: var(--white);
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 5% 3rem;
}

.footer-logo img {
    max-height: 60px;
    margin-bottom: 1rem;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
}

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

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    opacity: 0.8;
}

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

.social-icons {
    display: flex;
    gap: 1rem;
}

.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%;
    transition: var(--transition);
    color: var(--white);
}

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

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-legal a:hover {
    opacity: 1;
}

/* Blog Page Styles */
.blog-header {
    text-align: center;
    padding: 5rem 5%;
    background-color: var(--light-gray);
}

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

.blog-header p {
    font-size: 1.25rem;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto;
}

.blog-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background-color: var(--white);
    border-bottom: 1px solid var(--mid-gray);
    flex-wrap: wrap;
    gap: 1rem;
}

.search-filter {
    display: flex;
    gap: 0.5rem;
}

.search-filter input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--mid-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.search-filter button {
    padding: 0.75rem 1.5rem;
}

.category-filter select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--mid-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    min-width: 200px;
}

.featured-post {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 4rem 5%;
    background-color: var(--light-gray);
    flex-wrap: wrap;
}

.featured-post-image {
    flex: 1;
    min-width: 300px;
}

.featured-post-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 100%;
    height: auto;
}

.featured-post-content {
    flex: 1;
    min-width: 300px;
}

.post-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.featured-post-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.post-date {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-posts {
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-pagination {
    display: flex;
    justify-content: center;
    padding: 3rem 5%;
    gap: 0.5rem;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--mid-gray);
    border-radius: var(--border-radius);
    background-color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.pagination-btn:hover,
.pagination-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.blog-subscribe {
    padding: 5rem 5%;
    background-color: var(--light-gray);
    text-align: center;
}

.subscribe-content {
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.subscribe-content p {
    margin-bottom: 2rem;
}

#blog-subscribe-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

#blog-subscribe-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 1px solid var(--mid-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

/* About Page Styles */
.about-header {
    text-align: center;
    padding: 5rem 5%;
    background-color: var(--light-gray);
}

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

.about-header p {
    font-size: 1.25rem;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto;
}

.about-story {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 5rem 5%;
    flex-wrap: wrap;
}

.about-story-content {
    flex: 1;
    min-width: 300px;
}

.about-story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-story-content p {
    margin-bottom: 1.5rem;
}

.about-story-image {
    flex: 1;
    min-width: 300px;
}

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

.about-mission {
    padding: 5rem 5%;
    background-color: var(--light-gray);
}

.mission-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.mission-item {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.mission-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
}

.mission-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.team-section {
    padding: 5rem 5%;
    text-align: center;
}

.team-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.team-section > p {
    max-width: 800px;
    margin: 0 auto 3rem;
}

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

.team-member {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

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

.team-member h3 {
    margin: 1.5rem 1rem 0.5rem;
}

.team-member p {
    padding: 0 1rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.team-member p:nth-child(4) {
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.stats-section {
    padding: 5rem 5%;
    background-color: var(--light-gray);
    text-align: center;
}

.stats-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.25rem;
    color: var(--light-text);
}

.partners-section {
    padding: 5rem 5%;
    text-align: center;
}

.partners-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.partners-section > p {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.partner-logo img {
    max-height: 80px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Services Page Styles */
.services-header {
    text-align: center;
    padding: 5rem 5%;
    background-color: var(--light-gray);
}

.services-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.services-header p {
    font-size: 1.25rem;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto;
}

.services-intro {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 5rem 5%;
    flex-wrap: wrap;
}

.services-intro-content {
    flex: 1;
    min-width: 300px;
}

.services-intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.services-intro-content p {
    margin-bottom: 1.5rem;
}

.services-intro-image {
    flex: 1;
    min-width: 300px;
}

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

.services-grid {
    padding: 5rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    margin-bottom: 1rem;
}

.service-card ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.service-card ul li {
    margin-bottom: 0.5rem;
}

.pricing-section {
    padding: 5rem 5%;
    background-color: var(--light-gray);
    text-align: center;
}

.pricing-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    position: relative;
}

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

.pricing-card.highlighted {
    transform: scale(1.05);
    border: 2px solid var(--secondary-color);
}

.popular-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 0 var(--border-radius) 0 var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-header {
    padding: 2rem;
    border-bottom: 1px solid var(--mid-gray);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.pricing {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.period {
    font-size: 1rem;
    color: var(--light-text);
}

.pricing-features {
    padding: 2rem;
}

.pricing-features ul {
    list-style-type: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features ul li {
    padding: 0.5rem 0;
    position: relative;
}

.pricing-features ul li:before {
    content: '✓';
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.pricing-note {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 2rem;
}

.testimonials-section {
    padding: 5rem 5%;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.faq-section {
    padding: 5rem 5%;
    background-color: var(--light-gray);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 500;
    position: relative;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
}

.cta-section {
    padding: 5rem 5%;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    color: var(--white);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Contact Page Styles */
.contact-header {
    text-align: center;
    padding: 5rem 5%;
    background-color: var(--light-gray);
}

.contact-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-header p {
    font-size: 1.25rem;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto;
}

.contact-content {
    display: flex;
    gap: 4rem;
    padding: 5rem 5%;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

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

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--light-gray);
    border-radius: 50%;
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.info-text p {
    color: var(--light-text);
    margin-bottom: 0.25rem;
}

.opening-hours {
    margin-top: 3rem;
}

.opening-hours h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.day {
    font-weight: 500;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-form {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--mid-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
}

.map-section {
    padding: 5rem 5% 0;
}

.map-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

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

.social-contact-section {
    padding: 5rem 5%;
    background-color: var(--light-gray);
    text-align: center;
}

.social-contact-section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
}

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

.social-box {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-box:hover {
    transform: translateY(-10px);
    background-color: var(--primary-color);
    color: var(--white);
}

.social-icon {
    margin-bottom: 1.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-box:hover .social-icon {
    background-color: var(--white);
}

.social-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.social-box p {
    color: var(--light-text);
    transition: var(--transition);
}

.social-box:hover p {
    color: rgba(255, 255, 255, 0.8);
}

/* Blog Post Page Styles */
.post-page {
    padding: 5rem 5%;
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.blog-post {
    flex: 3;
    min-width: 300px;
}

.post-header {
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.post-meta span {
    color: var(--light-text);
    font-size: 0.9rem;
}

.post-social-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.post-social-share p {
    margin: 0;
    font-weight: 500;
}

.post-social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--text-color);
}

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

.post-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    line-height: 1.8;
}

.post-content h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content ul li,
.post-content ol li {
    margin-bottom: 0.5rem;
}

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

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

.post-image {
    margin: 2.5rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-image img {
    width: 100%;
    height: auto;
}

.post-image .caption {
    text-align: center;
    padding: 1rem;
    background-color: var(--light-gray);
    font-size: 0.9rem;
    color: var(--light-text);
}

.post-tip {
    background-color: rgba(52, 152, 219, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2.5rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-tip h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.post-tip p {
    margin-bottom: 0;
}

.post-callout {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2.5rem 0;
    text-align: center;
}

.post-callout h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.post-callout p {
    margin-bottom: 0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 2.5rem 0;
}

.post-tags p {
    font-weight: 500;
    margin: 0;
}

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

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

.post-author-bio {
    display: flex;
    gap: 1.5rem;
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2.5rem 0;
    align-items: center;
}

.post-author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h3 {
    margin: 0 0 0.5rem;
}

.author-info p {
    margin: 0;
    color: var(--light-text);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.back-to-blog {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.post-nav-buttons {
    display: flex;
    gap: 1.5rem;
}

.post-nav-buttons a,
.post-nav-buttons span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-nav-buttons a {
    color: var(--primary-color);
}

.post-nav-buttons .disabled {
    color: var(--dark-gray);
    cursor: not-allowed;
}

.post-sidebar {
    flex: 1;
    min-width: 300px;
}

.sidebar-widget {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2.5rem;
}

.sidebar-widget h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

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

.related-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.related-post-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.related-post-content h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.related-post-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--light-text);
}

.categories ul li {
    margin-bottom: 0.75rem;
}

.categories ul li a {
    display: flex;
    justify-content: space-between;
}

.categories ul li a:after {
    content: '»';
}

.subscribe p {
    margin-bottom: 1.5rem;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subscribe-form input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--mid-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.cta-banner {
    padding: 4rem 5%;
    background: linear-gradient(135deg, var(--primary-color), #2c3e50);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* App Rating Styles */
.app-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-stars {
    color: #f39c12;
    letter-spacing: -2px;
}

.rating-score {
    font-weight: bold;
}

.app-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.app-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
}

.app-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-details p {
    margin-bottom: 0.5rem;
}

.app-details p:last-child {
    margin-bottom: 0;
}

.comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid var(--mid-gray);
}

.comparison-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 500;
}

.comparison-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    transition: var(--transition);
}

.modal-content {
    background-color: var(--white);
    margin: 10% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 600px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
}

.thank-you-message {
    text-align: center;
}

.thank-you-message svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.thank-you-message h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.thank-you-message p {
    margin-bottom: 2rem;
}

/* Cookies Banner Styles */
.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0,0,0,0.9);
    color: var(--white);
    padding: 1.5rem;
    z-index: 1000;
    display: none;
}

.cookies-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cookies-content p {
    margin: 0;
    text-align: center;
}

.cookies-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cookies-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.35rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 991px) {
    .hero {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
    }

    .hero-image {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .post-page {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header {
        flex-wrap: wrap;
    }

    .logo-container {
        width: 100%;
        justify-content: center;
        margin-bottom: 1rem;
    }

    #real-time-clock {
        margin: 0 0 1rem;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .featured-post {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }

    .post-author-bio {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}
