/* 
   GeoFinanzas Argentina - Estilos Generales
   Sitio web sobre inversiones en gasolineras y cursos financieros
   2024
*/

/* ======= VARIABLES Y RESET ======= */
:root {
    /* Paleta de colores principal */
    --primary-color: #e74c3c;         /* Rojo */
    --secondary-color: #3498db;       /* Azul */
    --accent-color: #f39c12;          /* Naranja */
    --dark-color: #2c3e50;            /* Azul oscuro */
    --light-color: #ecf0f1;           /* Gris claro */
    --success-color: #2ecc71;         /* Verde */
    --warning-color: #f1c40f;         /* Amarillo */
    --danger-color: #e74c3c;          /* Rojo */
    --text-color: #333333;            /* Texto principal */
    --text-light: #7f8c8d;            /* Texto secundario */
    --border-color: #ddd;             /* Bordes */
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra estándar */
    
    /* Tipografía */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    /* Espaciado */
    --section-padding: 80px 0;
    --container-padding: 0 15px;
    
    /* Bordes */
    --border-radius: 6px;
    --border-radius-lg: 12px;
    
    /* Transiciones */
    --transition: all 0.3s ease;
}

/* Import de fuentes */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

ul, ol {
    list-style: none;
}

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

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

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

button, input, textarea, select {
    font-family: var(--body-font);
    font-size: 1rem;
}

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

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    padding: 0 15px;
    flex: 1;
}

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

.section-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--dark-color);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ======= TYPOGRAPHY ======= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.3rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.2rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

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

.text-secondary {
    color: var(--secondary-color);
}

.text-accent {
    color: var(--accent-color);
}

.text-muted {
    color: var(--text-light);
}

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

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

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

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

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

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

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

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

.btn-accent:hover {
    background-color: #d35400;
    color: white;
}

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

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

/* Botones de redes sociales */
.social-links {
    display: flex;
    gap: 15px;
}

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

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

/* ======= HEADER & NAVIGATION ======= */
header {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    z-index: 1000;
}

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

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

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

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

.menu {
    display: flex;
    margin: 0;
    padding: 0;
}

.menu li {
    margin: 0 15px;
    position: relative;
}

.menu li:last-child {
    margin-right: 0;
}

.menu a {
    font-family: var(--heading-font);
    font-weight: 500;
    color: var(--dark-color);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 5px;
    position: relative;
}

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

.menu a:hover:before,
.menu a.active:before {
    width: 100%;
}

.menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* ======= HERO SECTION ======= */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0;
    position: relative;
}

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

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

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

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

/* ======= FEATURED POSTS SECTION ======= */
.featured-posts {
    padding: var(--section-padding);
    background-color: #f9f9f9;
}

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

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

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

.post-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

.post-card:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

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

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

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-more i {
    transition: var(--transition);
}

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

.view-all {
    text-align: center;
    margin-top: 50px;
}

/* ======= SERVICES SECTION ======= */
.services {
    padding: var(--section-padding);
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

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

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

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

/* ======= CHECKLIST SECTION ======= */
.checklist {
    background-color: #f9f9f9;
    padding: var(--section-padding);
}

.checklist-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.investment-checklist {
    margin-bottom: 30px;
}

.investment-checklist li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.investment-checklist li:last-child {
    border-bottom: none;
}

.investment-checklist i {
    color: var(--success-color);
    font-size: 1.4rem;
}

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

/* ======= TESTIMONIALS SECTION ======= */
.testimonials {
    padding: var(--section-padding);
}

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

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

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

.testimonial-content {
    padding: 30px;
    position: relative;
}

.testimonial-content i {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    padding-left: 35px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

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

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

/* ======= 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: 40px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-links h3:after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 10px;
}

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

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

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

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

.footer-contact h3:after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 10px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer-contact p i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 5px;
}

.footer-contact .social-links {
    margin-top: 20px;
}

.footer-contact .social-links a {
    background: rgba(255, 255, 255, 0.1);
}

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

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

/* ======= COOKIE BANNER ======= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(52, 73, 94, 0.95);
    color: white;
    padding: 20px 0;
    z-index: 9999;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    display: none; /* Initially hidden, shown via JS */
}

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

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

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

.cookie-policy-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

.cookie-policy-link:hover {
    color: white;
}

/* ======= PAGE BANNER ======= */
.page-banner {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/page-banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.page-banner h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* ======= BLOG PAGE STYLES ======= */
.blog-content {
    padding: var(--section-padding);
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

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

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

.blog-post-card .post-image {
    height: 250px;
}

.blog-post-card .post-content {
    padding: 30px;
    flex-grow: 1;
}

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

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-meta i {
    color: var(--primary-color);
}

.post-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

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

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

/* Sidebar Widgets */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

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

/* Search Widget */
.search-form {
    display: flex;
    overflow: hidden;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.search-form input {
    flex-grow: 1;
    border: none;
    padding: 12px 15px;
    outline: none;
}

.search-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--dark-color);
}

/* Categories Widget */
.categories-widget ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.categories-widget ul li:last-child {
    border-bottom: none;
}

.categories-widget ul li a {
    color: var(--text-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.categories-widget ul li a:before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary-color);
}

.categories-widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.categories-widget ul li span {
    background: var(--light-color);
    color: var(--text-light);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Popular Posts Widget */
.popular-posts .popular-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.popular-posts .popular-post:last-child {
    margin-bottom: 0;
}

.popular-post .post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.popular-post .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post .post-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.popular-post .post-info h4 a {
    color: var(--text-color);
    transition: var(--transition);
}

.popular-post .post-info h4 a:hover {
    color: var(--primary-color);
}

.popular-post .post-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Tags Widget */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    display: inline-block;
    padding: 6px 15px;
    background: var(--light-color);
    color: var(--text-color);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tag-cloud a:hover {
    background: var(--primary-color);
    color: white;
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, var(--primary-color), #c0392b);
    color: white;
    text-align: center;
}

.cta-widget h3 {
    color: white;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 15px;
}

.cta-widget h3:after {
    display: none;
}

.cta-widget p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

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

.cta-widget .btn:hover {
    background: var(--dark-color);
    color: white;
}

/* ======= CONTACT PAGE STYLES ======= */
.contact-section {
    padding: var(--section-padding);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    padding-right: 30px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

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

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

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

.contact-item .info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-item .info p {
    margin-bottom: 0;
    color: var(--text-color);
}

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

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

.contact-form-container p {
    color: var(--text-light);
    margin-bottom: 30px;
}

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

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

.contact-form .required {
    color: var(--danger-color);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: #f9f9f9;
    transition: var(--transition);
}

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

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-form .checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.contact-form .checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.contact-form button {
    width: 100%;
}

/* Map Section */
.map-section {
    padding: var(--section-padding);
    background-color: #f9f9f9;
}

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

.map-container iframe {
    border: none;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
}

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

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    background: white;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
}

.faq-toggle {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background: #f9f9f9;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

/* Thank You Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

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

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

.modal-body {
    padding: 40px;
    text-align: center;
}

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

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

.modal-body p {
    margin-bottom: 25px;
    color: var(--text-light);
}

/* ======= BLOG POST STYLES ======= */
.post-header {
    padding: 80px 0;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/blog-header.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.post-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.post-header .post-title {
    color: white;
    font-size: 3rem;
    max-width: 900px;
    margin: 0 auto 25px;
}

.post-header .post-meta {
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
}

.post-header .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.post-content {
    padding: var(--section-padding);
}

.post-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

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

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

.post-featured-image figcaption {
    background: var(--light-color);
    padding: 15px;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
}

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

.post-body h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

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

.post-body p {
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.post-body ul li, 
.post-body ol li {
    margin-bottom: 10px;
    list-style-position: outside;
}

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

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

.post-body img {
    max-width: 100%;
    margin: 30px auto;
    display: block;
    border-radius: var(--border-radius);
}

.post-body figure {
    margin: 30px 0;
}

.post-body figure img {
    margin-bottom: 10px;
    margin-top: 0;
}

.post-body figcaption {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    font-size: 0.9rem;
}

.post-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 15px 30px;
    margin: 30px 0;
    background: var(--light-color);
    font-style: italic;
}

.post-body blockquote p {
    margin-bottom: 10px;
}

.post-body blockquote cite {
    font-style: normal;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Post Tags */
.post-tags {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.post-tags span {
    font-weight: 600;
}

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

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

/* Post Share */
.post-share {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

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

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

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

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

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

.post-share a.whatsapp {
    background: #25d366;
}

.post-share a.email {
    background: #e74c3c;
}

.post-share a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Author Bio */
.post-author-bio {
    display: flex;
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    margin-bottom: 40px;
}

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

.post-author-bio .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-author-bio h3 {
    margin-bottom: 5px;
}

.post-author-bio .author-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.post-author-bio p {
    margin-bottom: 15px;
}

.post-author-bio .author-social {
    display: flex;
    gap: 10px;
}

.post-author-bio .author-social a {
    width: 35px;
    height: 35px;
}

/* Related Posts */
.related-posts {
    margin-bottom: 40px;
}

.related-posts h3 {
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

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

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

.related-post {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-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;
    font-size: 1rem;
    margin-bottom: 5px;
}

.related-post h4 a {
    color: var(--text-color);
    transition: var(--transition);
}

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

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

/* Post Comments */
.post-comments-section {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.post-comments-section h3 {
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

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

.comments-list {
    margin-bottom: 40px;
}

.comment {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex-grow: 1;
}

.comment-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.comment-info h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.comment-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.comment-content p {
    margin-bottom: 10px;
}

.comment-actions {
    text-align: right;
}

.reply-btn {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.reply-btn:hover {
    text-decoration: underline;
}

.comment-form-container h3 {
    margin-bottom: 20px;
}

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

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

.comment-form .required {
    color: var(--danger-color);
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: #f9f9f9;
    transition: var(--transition);
}

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

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.comment-form .checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.comment-form .checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), #c0392b);
    padding: 70px 0;
    color: white;
}

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

.newsletter-content h2 {
    color: white;
    margin-bottom: 15px;
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

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

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius);
    outline: none;
}

.newsletter-form button {
    background: var(--dark-color);
}

.newsletter-form button:hover {
    background: black;
}

.privacy-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.privacy-note a {
    color: white;
    text-decoration: underline;
}

.privacy-note a:hover {
    color: white;
    text-decoration: none;
}

/* Informational boxes */
.info-box, 
.warning-box, 
.tips-box,
.quote-box {
    padding: 25px;
    margin: 30px 0;
    border-radius: var(--border-radius);
    position: relative;
}

.info-box {
    background: #e8f4fd;
    border-left: 4px solid var(--secondary-color);
}

.warning-box {
    background: #fff3e0;
    border-left: 4px solid var(--warning-color);
}

.tips-box {
    background: #e8f5e9;
    border-left: 4px solid var(--success-color);
}

.quote-box {
    background: #f9f9f9;
    border-left: 4px solid var(--primary-color);
    font-style: italic;
}

.info-box h4, 
.warning-box h4, 
.tips-box h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.info-box ul, 
.warning-box ul, 
.tips-box ul,
.tips-box ol {
    margin-left: 20px;
}

.quote-box p {
    margin-bottom: 10px;
}

.quote-box cite {
    display: block;
    text-align: right;
    font-style: normal;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    box-shadow: var(--card-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.data-table thead {
    background: var(--dark-color);
    color: white;
}

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

.data-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.data-table tbody tr:hover {
    background: #f1f1f1;
}

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

/* Comparison table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    box-shadow: var(--card-shadow);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.comparison-table thead {
    background: var(--dark-color);
    color: white;
}

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

.comparison-table tbody tr:nth-child(odd) {
    background: #f9f9f9;
}

.comparison-table tbody tr:hover {
    background: #f1f1f1;
}

/* Charts */
.chart-container {
    margin: 40px 0;
    text-align: center;
}

.chart-container h4 {
    margin-bottom: 20px;
}

.chart {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 250px;
    margin-bottom: 20px;
}

.chart-bar {
    width: 60px;
    background: var(--primary-color);
    border-radius: 5px 5px 0 0;
    position: relative;
    transition: height 1s ease;
}

.chart-value {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-color);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
}

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

.chart-caption {
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Pie chart */
.pie-chart {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin: 0 auto 30px;
}

.pie-segment {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip-path: polygon(50% 50%, 50% 0, 100% 0, 100% 100%, 0 100%, 0 0, 50% 0);
    transform: rotate(calc(var(--rotation, 0deg)));
    background: var(--color);
}

.pie-segment:nth-child(1) { --rotation: 0deg; }
.pie-segment:nth-child(2) { --rotation: calc(3.6deg * 30); }
.pie-segment:nth-child(3) { --rotation: calc(3.6deg * 70); }
.pie-segment:nth-child(4) { --rotation: calc(3.6deg * 85); }
.pie-segment:nth-child(5) { --rotation: calc(3.6deg * 95); }

.pie-label {
    position: absolute;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
}

.pie-segment:nth-child(1) .pie-label { top: 20%; right: 105%; }
.pie-segment:nth-child(2) .pie-label { top: 50%; left: 105%; }
.pie-segment:nth-child(3) .pie-label { bottom: 20%; left: 105%; }
.pie-segment:nth-child(4) .pie-label { bottom: 0; left: 50%; transform: translateX(-50%); }
.pie-segment:nth-child(5) .pie-label { top: 20%; left: 105%; }

/* Pros and Cons lists */
.pros-cons-list {
    margin: 20px 0;
    padding-left: 30px;
}

.pros-cons-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.pros-cons-list.pros li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--success-color);
    position: absolute;
    left: 0;
}

.pros-cons-list.cons li:before {
    content: '\f00d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--danger-color);
    position: absolute;
    left: 0;
}

/* Steps box */
.steps-box {
    background: #f9f9f9;
    padding: 25px;
    margin: 30px 0;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.steps-box h4 {
    margin-bottom: 15px;
}

.steps-box ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.steps-box ol li {
    margin-bottom: 10px;
}

.steps-box p {
    margin-bottom: 5px;
}

.steps-box p:last-child {
    margin-bottom: 0;
}

/* Course details */
.course-details {
    background: #f9f9f9;
    padding: 25px;
    margin: 30px 0;
    border-radius: var(--border-radius);
}

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

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item .label {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-light);
}

.info-item .value {
    font-weight: 400;
}

.rating {
    display: flex;
    align-items: center;
    gap: 3px;
}

.rating i {
    color: var(--warning-color);
}

.rating span {
    margin-left: 5px;
    color: var(--text-light);
}

/* Recommendation box */
.recommendation-box {
    border: 1px solid var(--border-color);
    padding: 20px;
    margin: 20px 0;
    border-radius: var(--border-radius);
}

.recommendation-box h4 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.recommendation-box strong {
    color: var(--primary-color);
}

/* Course promotion */
.course-promotion {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.promotion-content {
    padding: 0;
}

.promotion-content h3 {
    background: var(--primary-color);
    color: white;
    padding: 15px;
    margin: 0;
    text-align: center;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.promotion-content h3:after {
    display: none;
}

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

.promotion-content h4 {
    padding: 15px 20px 0;
    text-align: center;
    font-size: 1.2rem;
}

.course-features {
    padding: 0 20px;
    margin-bottom: 20px;
}

.course-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.course-features i {
    color: var(--success-color);
}

.course-price {
    padding: 0 20px;
    text-align: center;
    margin-bottom: 20px;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-light);
    margin-right: 10px;
}

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

.promotion-content .btn {
    display: block;
    border-radius: 0;
}

/* Case Study */
.case-study {
    margin: 40px 0;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.case-study h3 {
    background: var(--dark-color);
    color: white;
    padding: 15px 20px;
    margin: 0;
}

.case-content {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.case-image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

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

.case-text p {
    margin-bottom: 15px;
}

.case-text p:last-child {
    margin-bottom: 0;
}

.case-text ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.case-text ul li {
    margin-bottom: 5px;
    list-style-type: disc;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary-color), #c0392b);
    color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 40px 0;
    text-align: center;
}

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

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

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

.cta-box .btn:hover {
    background: var(--dark-color);
    color: white;
}

/* ======= ABOUT PAGE STYLES ======= */
.about-intro {
    padding: var(--section-padding);
}

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

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

.mission-vision {
    padding: var(--section-padding);
    background: #f9f9f9;
}

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

.mission-box,
.vision-box,
.values-box {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
}

.mission-box:hover,
.vision-box:hover,
.values-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.mission-box h3,
.vision-box h3,
.values-box h3 {
    margin-bottom: 15px;
}

.values-box ul {
    text-align: left;
    padding-left: 20px;
}

.values-box ul li {
    margin-bottom: 8px;
    list-style-type: disc;
}

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

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

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

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.team-member h3 {
    margin: 20px 0 5px;
    font-size: 1.3rem;
}

.team-member p {
    padding: 0 20px;
    margin-bottom: 15px;
    color: var(--text-light);
}

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

.team-member .social-links {
    justify-content: center;
    margin-bottom: 20px;
}

.team-member .social-links a {
    width: 35px;
    height: 35px;
}

.achievements {
    padding: var(--section-padding);
    background: #f9f9f9;
}

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

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

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

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

.achievement-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

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

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

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

.partner-logo {
    background: white;
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: var(--transition);
}

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

.partner-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.cta-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: white;
}

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

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

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ======= RESPONSIVE STYLES ======= */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .post-wrapper {
        grid-template-columns: 1.5fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .post-wrapper {
        grid-template-columns: 1fr;
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .blog-sidebar,
    .post-sidebar {
        position: static;
        margin-top: 50px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        margin: 10px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .case-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .blog-post-card {
        flex-direction: column;
    }
    
    .post-author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .post-author-bio .author-avatar {
        margin: 0 auto 20px;
    }
    
    .post-author-bio .author-social {
        justify-content: center;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: -1;
        margin-bottom: 40px;
        padding-right: 0;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .cookie-content {
        flex-direction: column;
    }
    
    .post-header .post-title {
        font-size: 2.3rem;
    }
    
    .data-table th,
    .data-table td,
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links h3:after,
    .footer-contact h3:after {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-contact .social-links {
        justify-content: center;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .post-tags,
    .post-share {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-header .post-title {
        font-size: 2rem;
    }
    
    .post-featured-image figcaption {
        font-size: 0.8rem;
    }
}
