:root {
    --primary: #1a237e;
    --primary-light: #534bae;
    --primary-dark: #000051;
    --secondary: #7b1fa2;
    --secondary-light: #ae52d4;
    --secondary-dark: #4a0072;
    --accent: #7c4dff;
    --text: #333333;
    --text-light: #666666;
    --background: #ffffff;
    --background-alt: #f8f9fa;
    --border: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    --radius: 12px;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --primary: #7986cb;
    --primary-light: #9fa8da;
    --primary-dark: #303f9f;
    --secondary: #ba68c8;
    --secondary-light: #ce93d8;
    --secondary-dark: #7b1fa2;
    --accent: #b388ff;
    --text: #e0e0e0;
    --text-light: #aaaaaa;
    --background: #121212;
    --background-alt: #1e1e1e;
    --border: #333333;
    --shadow: rgba(0, 0, 0, 0.3);
    --success: #66bb6a;
    --warning: #ffb74d;
    --error: #e57373;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--background);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: white;
}

.btn-secondary {
    background: var(--background-alt);
    color: var(--text);
}

.btn-secondary:hover {
    background: var(--border);
    color: var(--text);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.card {
    background: var(--background);
    border-radius: var(--radius);
    box-shadow: 0 5px 20px var(--shadow);
    padding: 24px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--border);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Header */
header {
    background: var(--background);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    z-index: 10;
}

.logo i {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.nav-link.active {
    color: var(--secondary);
}

.nav-link.active:after {
    width: 100%;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 10;
    display: none;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--background-alt);
}

.theme-toggle .fa-sun {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    display: block;
}

/* Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    z-index: 101;
    transition: width 0.1s ease;
}

/* Converter Section */
.converter-hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.converter-hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L1000,0 L1000,1000 L0,1000 Z M0,0 C250,250 750,250 1000,0 L1000,1000 C750,750 250,750 0,1000 Z"></path></svg>');
    background-size: cover;
}

.converter-container {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
}

.converter-box {
    background: var(--background);
    border-radius: var(--radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    padding: 40px;
    margin-bottom: 30px;
    color: var(--text);
}

.converter-header {
    text-align: center;
    margin-bottom: 30px;
}

.converter-header h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.converter-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.input-group {
    display: flex;
    margin-bottom: 20px;
}

.url-input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--background);
    color: var(--text);
}

.url-input:focus {
    outline: none;
    border-color: var(--primary);
}

.convert-btn {
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 10px 30px;
    white-space: nowrap;
}

.converter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.option-group {
    flex: 1;
    min-width: 200px;
}

.option-group h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text);
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.option input {
    display: none;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.custom-radio:after {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.option input:checked + .custom-radio {
    border-color: var(--primary);
}

.option input:checked + .custom-radio:after {
    opacity: 1;
}

.trim-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.trim-options {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.time-input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    background: var(--background);
    color: var(--text);
}

.batch-conversion {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.batch-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 10px;
    resize: vertical;
    min-height: 100px;
    background: var(--background);
    color: var(--text);
}

.result-box {
    display: none;
    text-align: center;
    padding: 30px;
    background: var(--background-alt);
    border-radius: var(--radius);
    border: 2px dashed var(--border);
    margin-top: 20px;
}

.result-box.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.result-title {
    color: var(--success);
    margin-bottom: 15px;
}

.download-btn {
    margin-top: 15px;
}

.additional-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.action-btn {
    padding: 8px 15px;
    background: var(--background-alt);
    border-radius: var(--radius);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--border);
}

.progress-container {
    margin-top: 20px;
    display: none;
}

.progress-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.conversion-history {
    margin-top: 30px;
}

.history-list {
    max-height: 300px;
    overflow-y: auto;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid var(--border);
}

.history-item:last-child {
    border-bottom: none;
}

.history-title {
    font-weight: 500;
}

.history-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--background-alt);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion {
    margin-top: 30px;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow);
}

.accordion-header {
    padding: 20px;
    background: var(--background);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--background-alt);
}

.accordion-header i {
    transition: var(--transition);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: var(--background);
}

.accordion-item.active .accordion-content {
    padding: 20px;
    max-height: 500px;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background: var(--background-alt);
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 30px;
    right: -30px;
    width: 60px;
    height: 2px;
    background: var(--border);
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: white;
}

.social-link:hover {
    background: var(--secondary);
    transform: translateY(-3px);
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .converter-header h1 {
        font-size: 2rem;
    }
    
    .step:not(:last-child):after {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--background);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 99;
        gap: 15px;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .url-input {
        border-radius: var(--radius);
        margin-bottom: 10px;
    }
    
    .convert-btn {
        border-radius: var(--radius);
    }
    
    .converter-hero {
        padding: 40px 0;
    }
    
    .converter-box {
        padding: 30px 20px;
    }
    
    .features, .faq, .how-it-works {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .converter-header h1 {
        font-size: 1.8rem;
    }
    
    .converter-header p {
        font-size: 1rem;
    }
    
    .feature-card {
        padding: 30px 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .trim-options {
        flex-direction: column;
    }
    
    .additional-actions {
        flex-direction: column;
        align-items: center;
    }
}
/* Page Hero Section */
.page-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}

.page-hero .hero-content h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-hero .hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Page Content Layout */
.page-content {
    padding: 80px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--background-alt);
    border-radius: var(--radius);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.benefit-card h3 {
    margin-bottom: 10px;
}

/* Sidebar */
.content-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--background);
    border-radius: var(--radius);
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px var(--shadow);
}

.sidebar-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat {
    text-align: center;
    padding: 15px;
    background: var(--background-alt);
    border-radius: var(--radius);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Disclaimer Section */
.disclaimer {
    background: var(--background-alt);
    padding: 30px;
    border-radius: var(--radius);
    border-left: 4px solid var(--warning);
}

.disclaimer h2 {
    color: var(--warning);
    border-bottom: none;
}

/* Blog Grid */
.blog-content {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-post {
    transition: var(--transition);
}

.blog-post:hover {
    transform: translateY(-10px);
}

.post-image {
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.post-meta i {
    margin-right: 5px;
}

.post-excerpt {
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    width: 100%;
    text-align: center;
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination-btn {
    padding: 10px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    transition: var(--transition);
}

.pagination-btn:hover,
.pagination-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-btn.next {
    padding: 10px 20px;
}

/* FAQ Categories */
.faq-content {
    padding: 80px 0;
}

.category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.category-btn {
    padding: 12px 24px;
    background: var(--background-alt);
    border: none;
    border-radius: var(--radius);
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary);
    color: white;
}

.faq-category {
    display: none;
}

.faq-category.active {
    display: block;
}

.category-title {
    color: var(--primary);
    margin-bottom: 30px;
    text-align: center;
}

.faq-accordion {
    margin-bottom: 50px;
}

/* Help Card */
.faq-help,
.help-card {
    text-align: center;
    padding: 40px;
}

.help-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.help-card p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Contact Form */
.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

.contact-form {
    background: var(--background);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 5px 20px var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--background);
    color: var(--text);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26, 35, 126, 0.1);
}

.error-message {
    color: var(--error);
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Contact Info */
.contact-info-card,
.social-card {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.contact-details h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-details p {
    margin-bottom: 2px;
    color: var(--text-light);
}

/* Map Section */
.map-section {
    margin-top: 50px;
}

.map-card {
    padding: 30px;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.map-info {
    text-align: center;
}

/* Legal Pages */
.legal-content {
    padding: 80px 0;
}

.legal-toc {
    background: var(--background-alt);
    padding: 30px;
    border-radius: var(--radius);
    margin-bottom: 40px;
}

.legal-toc h2 {
    color: var(--primary);
    margin-bottom: 20px;
}

.toc-links {
    list-style: none;
}

.toc-links li {
    margin-bottom: 10px;
}

.toc-links a {
    color: var(--text);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.toc-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.toc-links i {
    margin-right: 10px;
    color: var(--primary);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.legal-section h3 {
    color: var(--secondary);
    margin: 25px 0 15px 0;
}

.legal-section p {
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .content-sidebar {
        position: static;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .category-nav {
        flex-direction: column;
    }
    
    .category-btn {
        text-align: center;
    }
    
    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .page-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .legal-toc {
        padding: 20px;
    }
}