/*
 * Main Stylesheet for Travyanistaya-Klyukva website
 * Futuristic/Vaporwave theme with neon accents
 */

/* === Base Styles and Variables === */
:root {
    /* Primary Colors */
    --primary-dark: #0b0b37;
    --primary-light: #f1f2ff;
    --accent-neon: #f72dff;
    --accent-blue: #00f0ff;
    --accent-purple: #c300ff;
    
    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, var(--accent-neon), var(--accent-blue));
    --gradient-secondary: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    
    /* Background Colors */
    --bg-dark: #0b0b37;
    --bg-darker: #050523;
    --bg-light: #f1f2ff;
    --bg-card: rgba(241, 242, 255, 0.07);
    
    /* Text Colors */
    --text-dark: #0b0b37;
    --text-light: #f1f2ff;
    --text-muted: #8e91b3;
    
    /* Border & Shadow */
    --border-light: rgba(241, 242, 255, 0.1);
    --shadow-neon: 0 0 15px rgba(247, 45, 255, 0.5);
    --shadow-blue: 0 0 15px rgba(0, 240, 255, 0.5);
    
    /* Font Families */
    --font-primary: 'Roboto', sans-serif;
    --font-display: 'Orbitron', sans-serif;
    
    /* Transitions */
    --transition-slow: 0.5s ease;
    --transition-normal: 0.3s ease;
    --transition-fast: 0.2s ease;
    
    /* Sizes */
    --header-height: 80px;
    --container-width: 1200px;
    --border-radius: 8px;
    --border-radius-lg: 16px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(11, 11, 55, 0.97), rgba(11, 11, 55, 0.97)),
        url("/assets/images/grid-pattern.svg");
    background-repeat: repeat;
    background-size: 100px 100px;
    z-index: -1;
    opacity: 0.5;
}

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

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

a:hover {
    color: var(--accent-neon);
}

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

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-family: var(--font-display);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: var(--shadow-neon);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(247, 45, 255, 0.8);
    transform: translateY(-2px);
    color: var(--text-light);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent-blue);
    box-shadow: var(--shadow-blue);
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-2px);
    color: var(--text-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--text-light);
}

h1 { font-size: 4.8rem; }
h2 { font-size: 3.6rem; }
h3 { font-size: 2.4rem; }
h4 { font-size: 2rem; }
h5 { font-size: 1.8rem; }
h6 { font-size: 1.6rem; }

p {
    margin-bottom: 2rem;
}

ul, ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

section {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    margin-bottom: 1.5rem;
}

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

.svg-graphic {
    filter: drop-shadow(var(--shadow-blue));
    transition: filter var(--transition-normal);
}

.svg-graphic:hover {
    filter: drop-shadow(var(--shadow-neon));
}

/* Neon Grid Background */
.neon-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        linear-gradient(var(--primary-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--primary-dark) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center center;
    opacity: 0.1;
}

/* === Header Styles === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 35, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all var(--transition-normal);
    border-bottom: 1px solid var(--border-light);
}

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

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

.logo {
    height: 40px;
    margin-right: 1.5rem;
    filter: drop-shadow(var(--shadow-blue));
}

.site-title {
    font-size: 2.2rem;
    margin-bottom: 0;
    font-weight: 600;
    letter-spacing: 1px;
    white-space: nowrap;
}

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

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

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

.nav-links a {
    color: var(--text-light);
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
}

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

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

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--text-light);
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all var(--transition-fast);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

/* Header scroll state */
.header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: rgba(5, 5, 35, 0.9);
    height: 70px;
}

/* === Hero Section === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-content h2 {
    font-size: 5rem;
    margin-bottom: 2rem;
    line-height: 1.1;
    position: relative;
}

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

.cta-buttons {
    display: flex;
    gap: 2rem;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-height: 100%;
    z-index: 1;
}

.neon-accent {
    position: absolute;
    z-index: 0;
}

.accent1 {
    top: 10%;
    right: -10%;
    width: 300px;
    height: 300px;
    animation: float1 8s ease-in-out infinite;
}

.accent2 {
    bottom: -5%;
    left: -10%;
    width: 250px;
    height: 250px;
    animation: float2 10s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(20px) rotate(-5deg); }
}

/* Glitch effect for hero title */
.glitch-text {
    position: relative;
    animation: glitch 5s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip: rect(0, 0, 0, 0);
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--accent-neon);
    animation: glitch-1 2s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: 2px 0 var(--accent-blue);
    animation: glitch-2 3s infinite linear alternate-reverse;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    7% { transform: translate(-2px, 2px); }
    10% { transform: translate(-2px, -2px); }
    13% { transform: translate(2px, 2px); }
    20% { transform: translate(0); }
    80% { transform: translate(0); }
    83% { transform: translate(2px, 2px); }
    87% { transform: translate(-2px, -2px); }
    90% { transform: translate(-2px, 2px); }
    100% { transform: translate(0); }
}

@keyframes glitch-1 {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

@keyframes glitch-2 {
    0% { transform: translate(0); }
    20% { transform: translate(2px, -2px); }
    40% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    80% { transform: translate(-2px, 2px); }
    100% { transform: translate(0); }
}

/* === Services Section === */
.services {
    background-color: var(--bg-darker);
    position: relative;
}

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

.service-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 3rem;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-blue);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 100%;
    height: auto;
    filter: drop-shadow(var(--shadow-blue));
}

.service-card h3 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.services-image {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

/* === About Section === */
.about .container {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-content {
    flex: 1;
}

.about-text {
    margin-bottom: 3rem;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 2rem;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-neon);
    margin-bottom: 1rem;
    text-shadow: var(--shadow-neon);
}

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

.about-image {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === Testimonials Section === */
.testimonials {
    background-color: var(--bg-darker);
    position: relative;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
    height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-slow);
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-content {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 4rem;
    border: 1px solid var(--border-light);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 2rem;
    left: 2rem;
    font-size: 5rem;
    color: var(--accent-neon);
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.testimonial-author h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

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

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.testimonial-dots {
    display: flex;
    gap: 1rem;
    margin: 0 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.dot.active {
    background: var(--accent-neon);
    transform: scale(1.2);
    box-shadow: var(--shadow-neon);
}

.testimonial-prev,
.testimonial-next {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    color: var(--accent-neon);
}

.testimonial-image {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
}

/* === Blog Preview Section === */
.blog-preview {
    position: relative;
}

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

.blog-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-blue);
}

.blog-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-darker);
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 1.4rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.read-more {
    margin-top: auto;
    color: var(--accent-neon);
    font-family: var(--font-display);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.read-more:hover {
    text-shadow: var(--shadow-neon);
}

.blog-cta {
    text-align: center;
    margin-top: 4rem;
}

.blog-preview-image {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
}

/* === Contact Section === */
.contact {
    background-color: var(--bg-darker);
    position: relative;
}

.contact-container {
    display: flex;
    gap: 5rem;
    margin-bottom: 5rem;
}

.contact-form {
    flex: 1;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(241, 242, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 1.6rem;
    transition: all var(--transition-normal);
}

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

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

.form-group.checkbox input {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.5rem;
}

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

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    margin-bottom: 3rem;
    align-items: flex-start;
}

.info-item .icon {
    width: 2.4rem;
    height: 2.4rem;
    margin-right: 1.5rem;
    color: var(--accent-blue);
}

.info-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-links a {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-light);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
}

.social-links img {
    width: 2rem;
    height: 2rem;
}

.contact-image {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}

/* === Footer === */
.footer {
    background-color: var(--bg-darker);
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo .logo {
    height: 50px;
    margin-bottom: 1.5rem;
}

.footer-logo h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--text-muted);
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    min-width: 150px;
}

.footer-column h4 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.footer-column h4::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

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

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: var(--text-muted);
    transition: all var(--transition-normal);
}

.footer-column ul li a:hover {
    color: var(--accent-neon);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.footer-bottom p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 1.4rem;
}

/* === Thank You Page === */
.thank-you {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    position: relative;
}

.thank-you-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 5rem;
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-light);
    position: relative;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 3rem;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    box-shadow: var(--shadow-blue);
}

.thank-you-icon svg {
    width: 50px;
    height: 50px;
    stroke-width: 2;
}

.thank-you h2 {
    font-size: 3.2rem;
    margin-bottom: 2rem;
}

.thank-you p {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.thank-you .cta-buttons {
    justify-content: center;
    margin-top: 3rem;
}

/* === Legal Pages === */
.legal-page {
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 5rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 5rem;
}

.legal-header h2 {
    margin-bottom: 1rem;
}

.legal-header p {
    color: var(--text-muted);
}

.legal-content {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    padding: 4rem;
    border: 1px solid var(--border-light);
}

.legal-section {
    margin-bottom: 4rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h3 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--accent-blue);
}

.legal-section p {
    margin-bottom: 1.5rem;
}

.legal-section ul,
.legal-section ol {
    margin-bottom: 2rem;
}

.legal-section li {
    margin-bottom: 1rem;
}

/* === Blog Page === */
.blog {
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 8rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 5rem;
}

.blog-header h2 {
    margin-bottom: 1rem;
}

.blog-header p {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* === Article Page === */
.article {
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 8rem;
}

.article-header {
    margin-bottom: 4rem;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    transition: all var(--transition-normal);
}

.back-to-blog svg {
    margin-right: 0.8rem;
}

.back-to-blog:hover {
    color: var(--accent-blue);
}

.article-meta {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.article-date,
.article-author {
    color: var(--text-muted);
    font-size: 1.6rem;
}

.article-header h2 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.article-description {
    font-size: 2rem;
    color: var(--text-muted);
    max-width: 800px;
}

.article-image {
    margin-bottom: 5rem;
    text-align: center;
}

.article-image img {
    max-height: 400px;
    width: auto;
}

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

.article-section {
    margin-bottom: 4rem;
}

.article-section h3 {
    color: var(--accent-blue);
    margin-bottom: 2rem;
}

.article-footer {
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

.article-share {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.article-share span {
    margin-right: 1.5rem;
    color: var(--text-muted);
}

.article-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.prev-article,
.next-article {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    max-width: 45%;
    transition: all var(--transition-normal);
}

.prev-article svg {
    margin-right: 0.8rem;
}

.next-article svg {
    margin-left: 0.8rem;
}

.prev-article:hover,
.next-article:hover {
    color: var(--accent-blue);
}

/* === Responsive Styles === */
@media (max-width: 1200px) {
    html {
        font-size: 58%;
    }

    .hero-content h2 {
        font-size: 4.5rem;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 56%;
    }

    section {
        padding: 8rem 0;
    }

    .hero .container,
    .about .container {
        flex-direction: column;
    }

    .hero-content,
    .about-content {
        max-width: 100%;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-image,
    .about-image {
        height: 400px;
    }

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

@media (max-width: 768px) {
    html {
        font-size: 54%;
    }

    h1 { font-size: 4rem; }
    h2 { font-size: 3.2rem; }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-darker);
        flex-direction: column;
        padding: 4rem 2rem;
        transition: all var(--transition-normal);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

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

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

    .testimonial-content {
        padding: 3rem;
    }

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

    .article-header h2 {
        font-size: 3.2rem;
    }

    .article-image img {
        max-height: 300px;
    }

    .footer-content {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 52%;
    }

    .hero-content h2 {
        font-size: 3.8rem;
    }

    .hero-image,
    .about-image {
        height: 300px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .legal-content {
        padding: 2.5rem;
    }

    .thank-you-content {
        padding: 3rem;
    }
}
