/* ===== BASE STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #ec4899;
    --accent-color: #8b5cf6;
    --dark-color: #1e293b;
    --darker-color: #0f172a;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --light-gray: #e2e8f0;
    --border-color: #cbd5e1;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #f59e0b 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-color);
    background-color: #fff;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container-xl {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--darker-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
    font-size: 1.125rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    gap: 8px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
}

/* ===== HEADER REDESIGN ===== */
.site-wrapper {
    position: relative;
    overflow: hidden;
}

.main-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.main-overlay.active {
    opacity: 1;
    visibility: visible;
}

.header-default {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(203, 213, 225, 0.3);
    transition: var(--transition);
}

.header-default.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow-md);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--darker-color);
}

.navbar-brand img {
    height: 40px;
    margin-right: 10px;
}

.navbar-nav {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    padding: 10px 0;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--dark-color);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
    padding-left: 25px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    list-style: none;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-color);
    color: var(--dark-color);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.icon-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--light-color);
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.icon-button:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.burger-icon {
    width: 24px;
    height: 16px;
    position: relative;
}

.burger-icon::before,
.burger-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--dark-color);
    left: 0;
    transition: var(--transition);
}

.burger-icon::before {
    top: 0;
}

.burger-icon::after {
    bottom: 0;
}

.burger-icon span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 2px;
    background: var(--dark-color);
    transition: var(--transition);
}

/* Mobile Menu */
@media (max-width: 991px) {
    .navbar-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 30px 30px;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

    .navbar-nav.active {
        right: 0;
    }

    .header-right .social-icons {
        display: none;
    }
}

/* ===== HERO SECTION REDESIGN ===== */
#hero {
    padding: 180px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

.featured-post-lg {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-post-lg .thumb {
    height: 500px;
    position: relative;
}

.featured-post-lg .thumb::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.featured-post-lg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-post-lg:hover img {
    transform: scale(1.05);
}

.featured-post-lg .details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    z-index: 2;
}

.category-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-post-lg h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
}

.featured-post-lg h2 a {
    color: white;
    transition: var(--transition);
}

.featured-post-lg h2 a:hover {
    color: var(--light-gray);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
}

/* Post Tabs Redesign */
.post-tabs {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.tab-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 10px;
}

.tab-btn {
    padding: 10px 24px;
    background: none;
    border: none;
    color: var(--gray-color);
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
}

.tab-pane {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.post-list-sm {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-gray);
}

.post-list-sm:last-child {
    border-bottom: none;
}

.post-list-sm .thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.post-list-sm .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-list-sm:hover .thumb img {
    transform: scale(1.1);
}

.post-list-sm .details h6 {
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.post-list-sm .details h6 a {
    color: var(--darker-color);
}

.post-list-sm .details h6 a:hover {
    color: var(--primary-color);
}

/* ===== MAIN CONTENT REDESIGN ===== */
.main-content {
    padding: 100px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media (max-width: 991px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
}

/* Editor's Pick Grid */
.editors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .editors-grid {
        grid-template-columns: 1fr;
    }
}

.editor-post {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.editor-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.editor-post .thumb {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.editor-post .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.editor-post:hover .thumb img {
    transform: scale(1.1);
}

.editor-post .content {
    padding: 25px;
}

.editor-post h5 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.editor-post h5 a {
    color: var(--darker-color);
}

.editor-post h5 a:hover {
    color: var(--primary-color);
}

/* Trending Section */
.trending-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .trending-grid {
        grid-template-columns: 1fr;
    }
}

/* Latest Posts */
.latest-posts {
    display: grid;
    gap: 30px;
}

.latest-post {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.latest-post:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .latest-post {
        grid-template-columns: 1fr;
    }
}

.latest-post .thumb {
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.latest-post .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.latest-post:hover .thumb img {
    transform: scale(1.1);
}

.post-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.social-share {
    position: relative;
}

.share-toggle {
    background: none;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.share-toggle:hover {
    background: var(--light-color);
}

.share-icons {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 10px;
    display: flex;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.social-share:hover .share-icons {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ===== SIDEBAR REDESIGN ===== */
.sidebar {
    position: sticky;
    top: 120px;
}

.widget {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.widget-title {
    font-size: 1.25rem;
    margin: 0;
}

.widget-content {
    color: var(--gray-color);
}

/* Popular Posts */
.popular-post {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.popular-post:last-child {
    border-bottom: none;
}

.popular-post .number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--light-gray);
    min-width: 30px;
}

.popular-post .thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post .details h6 {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

/* Topics List */
.topics-list {
    list-style: none;
}

.topics-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
}

.topics-list li:last-child {
    border-bottom: none;
}

.topics-list a {
    color: var(--dark-color);
    font-weight: 600;
    transition: var(--transition);
}

.topics-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.topics-list span {
    background: var(--light-color);
    color: var(--gray-color);
    padding: 4px 12px;
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
}

/* Newsletter Widget */
.newsletter-widget {
    background: var(--gradient-primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

.newsletter-widget .widget-title,
.newsletter-widget p {
    color: white;
}

.newsletter-form {
    position: relative;
}

.newsletter-form input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-secondary);
    color: white;
    border: none;
    border-radius: var(--radius-xl);
    padding: 10px 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Tag Clouds */
.tag-clouds {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    padding: 8px 16px;
    background: var(--light-color);
    color: var(--dark-color);
    border-radius: var(--radius-xl);
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
}

.tag:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

/* ===== FOOTER REDESIGN ===== */
footer {
    background: var(--darker-color);
    color: var(--light-color);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.footer-title {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.back-to-top:hover {
    color: white;
    gap: 12px;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-hero {
    padding: 200px 0 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100"><path fill="white" opacity="0.1" d="M0,0L48,8.3C96,16.7,192,33,288,41.7C384,50,480,50,576,41.7C672,33,768,16.7,864,8.3C960,0,1056,0,1152,8.3C1248,16.7,1344,33,1392,41.7L1440,50L1440,100L1392,100C1344,100,1248,100,1152,100C1056,100,960,100,864,100C768,100,672,100,576,100C480,100,384,100,288,100C192,100,96,100,48,100L0,100Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.contact-hero h1 {
    color: white;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-content {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 30px;
    }
}

.contact-info-grid {
    display: grid;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: var(--light-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-info-item:hover {
    transform: translateY(-5px);
    background: var(--gradient-primary);
}

.contact-info-item:hover .icon,
.contact-info-item:hover h4,
.contact-info-item:hover p {
    color: white;
}

.contact-info-item .icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-info-item h4 {
    margin-bottom: 5px;
    font-size: 1.125rem;
}

.contact-form {
    background: white;
    border-radius: var(--radius-md);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark-color);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    margin-top: 60px;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===== RESPONSIVE UTILITIES ===== */
@media (max-width: 1200px) {
    .container-xl {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container-xl {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .container-xl {
        max-width: 540px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .featured-post-lg h2 {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .container-xl {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
    
    .featured-post-lg .thumb {
        height: 400px;
    }
    
    .featured-post-lg .details {
        padding: 20px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideInUp 0.6s ease forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

/* ===== LOADING STATES ===== */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}