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

body {
    font-family: 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
    padding-top: 80px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.top-bar {
    background: #156358;
    color: white;
    padding: 0.5rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.main-header {
    padding: 1rem 0;
}

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

.header-content .nav-desktop {
    margin-left: auto;
    margin-right: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-icon-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-text h1 {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.75rem;
    color: #666;
}

.nav-desktop {
    display: none;
    gap: 1.5rem;
}

.nav-desktop a {
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-desktop a svg {
    width: 28px;
    height: 28px;
}

.nav-desktop a:hover {
    color: #156358;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.btn-icon:hover {
    background: #f3f4f6;
}

.mobile-menu-btn {
    display: flex;
}

.search-bar {
    display: none;
    margin-top: 1rem;
    animation: slideDown 0.3s ease;
}

.search-bar.active {
    display: block;
}

.search-bar input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.search-bar input:focus {
    outline: none;
    border-color: #156358;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.mobile-nav {
    display: none;
    border-top: 1px solid #e5e7eb;
    padding: 1rem 0;
    animation: slideDown 0.3s ease;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.mobile-nav a svg {
    width: 28px;
    height: 28px;
}

.mobile-nav a:hover {
    background: #f3f4f6;
}

/* Featured News */
.featured-news {
    padding: 2rem 0;
}

.featured-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4), transparent);
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
}

.badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: #156358;
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.featured-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.featured-content p {
    font-size: 0.875rem;
    color: #e5e7eb;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: #d1d5db;
}

/* Featured Carousel */
.featured-carousel-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.featured-carousel {
    display: flex;
    position: relative;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

.featured-carousel .featured-item,
.featured-carousel .featured-card {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 100%;
}

/* Featured Navigation Buttons */
.featured-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.featured-nav:hover {
    background: rgba(21, 99, 88, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.featured-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.featured-prev {
    left: 16px;
}

.featured-next {
    right: 16px;
}

.featured-nav svg {
    color: #ffffff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.featured-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.3);
}

.featured-nav:disabled:hover {
    transform: translateY(-50%) scale(1);
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}


/* Featured Dots */
.featured-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.featured-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s;
}

.featured-dot:hover {
    background: #9ca3af;
}

.featured-dot.active {
    background: #156358;
    width: 24px;
    border-radius: 5px;
}

/* Latest News */
.latest-news {
    padding: 2rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.view-all {
    color: #156358;
    font-size: 0.875rem;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* News Carousel */
.news-carousel-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.news-carousel {
    display: flex;
    overflow: hidden;
    gap: 1.5rem;
    scroll-behavior: smooth;
}

.news-carousel .news-card {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Carousel Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
    background: white;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: -24px;
}

.carousel-next {
    right: -24px;
}

.carousel-nav svg {
    color: #1f2937;
}

.carousel-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav:disabled:hover {
    transform: translateY(-50%) scale(1);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot:hover {
    background: #9ca3af;
}

.carousel-dot.active {
    background: #156358;
    width: 24px;
    border-radius: 5px;
}

.news-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.news-image {
    position: relative;
}

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

.news-image .badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
}

.news-content {
    padding: 1rem;
}

.news-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content h3:hover {
    color: #156358;
}

.news-content .meta {
    color: #6b7280;
    font-size: 0.75rem;
}

/* Popular Section */
.popular-section {
    padding: 2rem 0;
    background: #f9fafb;
}

.popular-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.popular-news h2,
.popular-categories h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Popular News List */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
}

.popular-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.popular-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #156358 0%, #0f4c43 100%);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.popular-content {
    flex: 1;
    min-width: 0;
}

.popular-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: #1f2937;
}

.popular-content h4:hover {
    color: #156358;
}

.popular-content .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.popular-content .meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Popular Categories List */
.popular-category-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.popular-category-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
}

.popular-category-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(4px);
}

.popular-category-item:hover h4 {
    color: #156358;
}

.category-bar {
    width: 4px;
    height: 48px;
    border-radius: 4px;
    flex-shrink: 0;
}

.category-bar.red {
    background: #ef4444;
}

.category-bar.green {
    background: #10b981;
}

.category-bar.blue {
    background: #156358;
}

.category-bar.purple {
    background: #8b5cf6;
}

.category-bar.orange {
    background: #f97316;
}

.category-bar.pink {
    background: #ec4899;
}

.popular-category-info {
    flex: 1;
}

.popular-category-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.popular-category-info p {
    font-size: 0.8rem;
    color: #6b7280;
}

.category-arrow {
    font-size: 1.25rem;
    color: #9ca3af;
    transition: all 0.3s;
}

.popular-category-item:hover .category-arrow {
    color: #156358;
    transform: translateX(4px);
}

/* Loading State */
.loading {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
    font-size: 0.9rem;
}

/* Categories Section */
.categories-section {
    padding: 2rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.categories h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: left !important;
}

.badge-small {
    padding: 0.125rem 0.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: #156358;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Categories */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: box-shadow 0.3s;
    cursor: pointer;
}

.category-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-item:hover h4 {
    color: #156358;
}

.category-color {
    width: 4px;
    height: 48px;
    border-radius: 4px;
}

.category-color.red {
    background: #ef4444;
}

.category-color.green {
    background: #10b981;
}

.category-color.blue {
    background: #156358;
}

.category-color.purple {
    background: #8b5cf6;
}

.category-color.orange {
    background: #f97316;
}

.category-color.pink {
    background: #ec4899;
}

.footer-brand p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    background: rgba(59, 130, 246, 0.1);
    color: #156358;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: background 0.3s, color 0.3s;
}

.social-icon:hover {
    background: #156358;
    color: white;
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #156358;
}

.footer-newsletter p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.625rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #156358;
}

.newsletter-form button {
    padding: 0.625rem 1rem;
    background: #156358;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #0f4c43;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #6b7280;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.875rem;
    color: #6b7280;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: #156358;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 768px) {
    .featured-card img {
        height: 500px;
    }

    .featured-content h2 {
        font-size: 2rem;
    }

    .featured-content p {
        font-size: 1rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .news-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .news-carousel .news-card {
        flex: 0 0 calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
    }

    .popular-grid {
        grid-template-columns: 2fr 1fr;
    }

    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* Footer Styles - Enhanced Desktop Layout */
.footer {
    background: linear-gradient(135deg, #0f4c43 0%, #156358 100%);
    color: #ffffff;
    padding: 3rem 0 0 0;
    margin-top: 4rem;
}

.footer-content-wrapper {
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-brand-section {
    max-width: 100%;
}

.footer-brand-section .logo {
    margin-bottom: 1rem;
}

.footer-brand-section .logo-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    color: #156358;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.footer-brand-section .logo-icon-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
}

.footer-brand-section .logo-text h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.footer-brand-section .logo-text p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 1.25rem 0;
}

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

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook:hover {
    color: #1877f2;
}

.social-icon.tiktok:hover {
    color: #000000;
}

.social-icon.instagram:hover {
    color: #e4405f;
}

.social-icon.youtube:hover {
    color: #ff0000;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-links-column h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
}

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

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

.footer-links-column ul li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links-column ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: #ffffff;
    padding-left: 20px;
    transform: translateX(5px);
}

.footer-links-column ul li a:hover::before {
    opacity: 1;
    left: 0;
}

.newsletter-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-contact-info {
    margin-top: 1rem;
}

.footer-contact-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
}

.footer-contact-info strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

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

.footer-bottom-right {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-right a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-bottom-right .separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Responsive Design for Footer */
@media (min-width: 640px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .footer {
        padding: 4rem 0 0 0;
    }

    .footer-top {
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
    }

    .footer-links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 2rem 0;
    }

    .footer-bottom-right {
        justify-content: flex-end;
    }
}

@media (min-width: 1024px) {
    .footer {
        padding: 5rem 0 0 0;
    }

    .footer-top {
        grid-template-columns: 1.2fr 2.8fr;
        gap: 4rem;
    }

    .footer-links-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }

    .footer-brand-section {
        max-width: 350px;
    }
}

@media (min-width: 1280px) {
    .footer-top {
        gap: 5rem;
    }

    .footer-links-grid {
        gap: 3rem;
    }
}
