/* Base Styles and Variables */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333333;
    --text-light: #777777;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --border-color: #dddddd;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 4px;
    --section-padding: 80px 0;
    --container-padding: 0 15px;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

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

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

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

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

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

section {
    padding: var(--section-padding);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background-color: #c0392b;
    color: white;
}

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

.btn-secondary:hover {
    background-color: #2980b9;
    color: white;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.8rem;
}

.center-button {
    text-align: center;
    margin-top: 30px;
}

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

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

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

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin-left: 30px;
}

nav a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 0;
    position: relative;
}

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

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

nav a i {
    margin-right: 5px;
}

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

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

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

/* Page Hero */
.page-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
    background-image: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('images/12.jpg');
    background-size: cover;
    background-position: center;
}

.page-hero h1 {
    color: white;
    margin-bottom: 10px;
}

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

/* Services Preview Section */
.services-preview {
    background-color: white;
    text-align: center;
}

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

.service-card {
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.service-card h3 {
    padding: 20px 20px 10px;
    font-size: 1.3rem;
}

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

/* Quote from the Future Section */
.quote-future {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.quote-future h2 {
    color: white;
}

.quote-box {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 40px;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.quote-box i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.quote-box blockquote {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.quote-author {
    font-weight: 600;
    font-size: 1rem;
    opacity: 0.8;
}

/* Data Visualization Section */
.data-visualization {
    background-color: white;
    text-align: center;
}

.chart-container {
    height: 400px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.chart-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-light);
}

/* Recent Projects Section */
.recent-projects {
    background-color: #f9f9f9;
    text-align: center;
}

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

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

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

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

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-bottom: 10px;
}

.project-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Blog Preview Section */
.blog-preview {
    background-color: white;
    text-align: center;
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: white;
    transition: var(--transition);
}

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

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

.blog-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.blog-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.blog-info .date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-info .excerpt {
    color: var(--text-color);
    margin-bottom: 15px;
    flex-grow: 1;
}

.read-more {
    font-weight: 600;
    color: var(--secondary-color);
    align-self: flex-start;
}

.read-more:hover {
    color: #c0392b;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-color);
    text-align: center;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 20px 0;
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

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

/* Services Detail Page */
.services-intro {
    background-color: white;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-text {
    flex: 1;
}

.intro-image {
    flex: 1;
}

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

.services-list {
    background-color: #f9f9f9;
}

.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 50px;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
}

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

.service-details {
    flex: 1;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    margin-bottom: 10px;
}

.service-features i {
    color: var(--success-color);
    margin-right: 10px;
}

.production-process {
    background-color: white;
    text-align: center;
}

.process-steps {
    max-width: 800px;
    margin: 50px auto 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    text-align: left;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    background-color: var(--secondary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 10px;
}

.equipment {
    background-color: #f9f9f9;
    text-align: center;
}

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

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

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

.equipment-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.equipment-item h3 {
    margin-bottom: 15px;
}

.equipment-item p {
    color: var(--text-light);
}

/* Portfolio Page */
.portfolio-filters {
    background-color: white;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.portfolio-gallery {
    background-color: #f9f9f9;
}

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

.portfolio-item {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 20px;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    color: white;
    margin-bottom: 5px;
}

.overlay-content p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.play-btn {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

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

.portfolio-info {
    padding: 20px;
}

.portfolio-info h3 {
    margin-bottom: 10px;
}

.portfolio-info p {
    color: var(--text-light);
}

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

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

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.client-logos {
    background-color: white;
    text-align: center;
}

.logo-slider {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}

.client-logo {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover {
    opacity: 1;
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Blog Page */
.blog-filters {
    background-color: white;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.blog-filters .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.search-container {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-container input {
    width: 100%;
    padding: 10px 15px;
    padding-right: 40px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-size: 0.9rem;
}

.search-container button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.search-container button:hover {
    color: var(--secondary-color);
}

.blog-posts {
    background-color: #f9f9f9;
}

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

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

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

.post-image {
    position: relative;
}

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

.post-category {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.post-meta i {
    margin-right: 5px;
}

.post-content h2 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    line-height: 1.4;
}

.post-content h2 a {
    color: var(--dark-color);
    transition: var(--transition);
}

.post-content h2 a:hover {
    color: var(--secondary-color);
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 10px;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

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

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

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h2 {
    color: white;
}

.newsletter-form {
    flex: 1;
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0 25px;
    border: none;
    background-color: var(--secondary-color);
    color: white;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #c0392b;
}

/* Contact Page */
.contact-info {
    background-color: white;
}

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

.info-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

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

.info-icon i {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.info-card h3 {
    margin-bottom: 15px;
}

.info-card p {
    color: var(--text-color);
    margin-bottom: 10px;
}

.info-card .text-muted {
    color: var(--text-light);
    font-size: 0.9rem;
}

.info-card .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.info-card .social-icons a {
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.info-card .social-icons a:hover {
    background-color: var(--secondary-color);
    color: white;
}

.contact-form-section {
    background-color: #f9f9f9;
}

.contact-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.form-info {
    flex: 1;
}

.form-info .image-container {
    margin-top: 30px;
}

.form-info img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

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

.form-group {
    margin-bottom: 20px;
    width: calc(50% - 10px);
    display: inline-block;
    vertical-align: top;
}

.form-group.full-width {
    width: 100%;
}

.form-group:nth-child(odd) {
    margin-right: 20px;
}

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
}

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

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 4px;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    font-size: 0.9rem;
}

.map-section {
    background-color: white;
}

.map-container {
    margin-top: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.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;
    align-items: center;
    justify-content: center;
}

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

.thank-you-modal .close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--text-light);
    font-size: 1.5rem;
}

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

.thank-you-modal h2 {
    margin-bottom: 15px;
}

.thank-you-modal p {
    margin-bottom: 25px;
}

/* Blog Post Page */
.blog-post {
    background-color: #f9f9f9;
    padding-top: 50px;
    padding-bottom: 80px;
}

.blog-post .container {
    max-width: 900px;
}

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

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

.post-header .post-category {
    position: static;
    display: inline-block;
    margin-right: 15px;
}

.post-header h1 {
    font-size: 2.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
}

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

.post-share span {
    font-weight: 500;
}

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

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

.featured-image {
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.post-content {
    background-color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.post-content .intro {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
}

.post-content h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.post-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.post-content h4 {
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.post-content p,
.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    line-height: 1.8;
}

.post-content ul li,
.post-content ol li {
    margin-bottom: 10px;
}

.post-content strong {
    font-weight: 700;
}

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

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

.image-caption {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
    padding: 10px 15px;
    background-color: var(--light-color);
    margin: 0;
}

.quote-block {
    border-left: 4px solid var(--secondary-color);
    padding: 20px 30px;
    background-color: var(--light-color);
    margin: 30px 0;
}

.quote-block p {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.quote-block p:last-child {
    margin-bottom: 0;
}

.quote-author {
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
}

.equipment-table {
    margin: 30px 0;
    overflow-x: auto;
}

.equipment-table table {
    width: 100%;
    border-collapse: collapse;
}

.equipment-table th,
.equipment-table td {
    padding: 15px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.equipment-table th {
    background-color: var(--light-color);
    font-weight: 600;
}

.equipment-table td ul {
    margin: 0;
    padding-left: 20px;
}

.equipment-table td ul li {
    margin-bottom: 5px;
}

.author-box {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--text-light);
}

.author-name {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.author-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.author-social a {
    width: 35px;
    height: 35px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: var(--transition);
}

.author-social a:hover {
    background-color: var(--secondary-color);
    color: white;
}

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

.prev-post,
.next-post {
    background-color: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 48%;
}

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

.prev-post a,
.next-post a {
    color: var(--text-color);
}

.prev-post span,
.next-post span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.prev-post p,
.next-post p {
    font-weight: 600;
    margin: 0;
}

.next-post {
    text-align: right;
}

.related-posts {
    margin-bottom: 50px;
}

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

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

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

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

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

.related-post h4 {
    padding: 15px 15px 5px;
    font-size: 1rem;
    line-height: 1.4;
}

.related-post .date {
    padding: 0 15px 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.cta-banner {
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cta-content {
    padding: 40px;
    text-align: center;
    color: white;
}

.cta-content h3 {
    color: white;
    margin-bottom: 15px;
}

.cta-content p {
    margin-bottom: 25px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Call to Action Section */
.cta {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    color: white;
    margin-bottom: 20px;
}

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

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding-top: 80px;
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-logo p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

.footer-contact address {
    font-style: normal;
    line-height: 1.8;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    width: 25px;
    opacity: 0.8;
    margin-right: 10px;
}

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

.footer-social 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;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.policy-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.policy-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.cookie-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
    max-width: 800px;
}

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

.btn-cookie {
    padding: 8px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-cookie.accept {
    background-color: var(--success-color);
    color: white;
}

.btn-cookie.accept:hover {
    background-color: #27ae60;
}

.btn-cookie.customize {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.btn-cookie.customize:hover {
    background-color: #bdc3c7;
}

.btn-cookie.decline {
    background-color: var(--text-light);
    color: white;
}

.btn-cookie.decline:hover {
    background-color: #666666;
}

.cookie-content a {
    font-size: 0.9rem;
}

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

@media (max-width: 992px) {
    .intro-content,
    .service-item,
    .service-item.reverse,
    .contact-content,
    .newsletter-content {
        flex-direction: column;
    }
    
    .contact-content {
        gap: 40px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
    }
    
    nav li {
        margin: 0 0 15px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .form-group:nth-child(odd) {
        margin-right: 0;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .prev-post,
    .next-post {
        width: 100%;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .policy-links {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-social {
        justify-content: center;
    }
}
