/* 全局樣式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    background-color: #f8f9fa;
    padding: 10px 0;
    font-size: 14px;
    color: #666;
}

.top-bar a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar a:hover {
    color: #027da9;
}

.top-bar .icon-phone::before {
    content: "📞 ";
}

.top-bar .icon-email::before {
    content: "✉ ";
}

/* Main Navigation */
.navbar {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.navbar-brand .logo {
    height: 60px;
    width: auto;
    border-radius: 50%;
    margin-right: 10px;
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    color: #333 !important;
    font-weight: 500;
    padding: 10px 20px !important;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: #027da9 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #027da9;
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 80%;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 10px 20px;
    color: #333;
    transition: all 0.3s;
}

.dropdown-item:hover {
    background-color: #027da9;
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 10s ease;
}

.hero-slide.active .hero-background {
    animation: kenBurnsZoom 10s ease-out forwards;
}

@keyframes kenBurnsZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.quote-left,
.quote-right {
    font-size: 80px;
    font-weight: bold;
    color: rgba(2, 125, 169, 0.7);
    line-height: 0.5;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.quote-left {
    float: left;
    margin-right: 10px;
}

.quote-right {
    float: right;
    margin-left: 10px;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin: 20px 0;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(2, 125, 169, 0.3);
    letter-spacing: 2px;
}

.hero-subtitle {
    background: linear-gradient(135deg, #027da9 0%, #025a7a 100%);
    color: white;
    display: inline-block;
    padding: 15px 40px;
    font-size: 24px;
    border-radius: 30px;
    margin: 20px 0 40px 0;
    font-weight: 500;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(2, 125, 169, 0.3);
}

.hero-features {
    margin-top: 30px;
}

.hero-features p {
    font-size: 20px;
    margin: 10px 0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 400;
    letter-spacing: 1px;
}

/* Hero Carousel Controls */
.hero-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.hero-prev,
.hero-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    pointer-events: all;
    backdrop-filter: blur(5px);
}

.hero-prev:hover,
.hero-next:hover {
    background-color: rgba(2, 125, 169, 0.9);
    border-color: #027da9;
    transform: scale(1.1);
}

.hero-prev:active,
.hero-next:active {
    transform: scale(0.95);
}

/* Hero Indicators */
.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background-color: #027da9;
    border-color: #027da9;
    width: 35px;
    border-radius: 6px;
}

/* Pause/Play Animation */
.hero-section.paused .hero-background {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 992px) {
    .top-bar .col-md-6 {
        text-align: center !important;
        margin-bottom: 10px;
    }

    .hero-section {
        height: 500px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 20px;
        padding: 12px 30px;
    }

    .hero-features p {
        font-size: 18px;
    }

    .hero-prev,
    .hero-next {
        width: 45px;
        height: 45px;
    }

    .hero-controls {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 12px;
    }

    .hero-section {
        height: 500px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
        padding: 10px 25px;
    }

    .hero-features p {
        font-size: 16px;
    }

    .quote-left,
    .quote-right {
        font-size: 60px;
    }

    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
    }

    .hero-controls {
        padding: 0 15px;
    }

    .hero-indicators {
        bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: 450px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
        padding: 8px 20px;
    }

    .hero-features p {
        font-size: 14px;
    }

    .quote-left,
    .quote-right {
        font-size: 50px;
    }

    .hero-prev,
    .hero-next {
        width: 35px;
        height: 35px;
    }

    .hero-prev svg,
    .hero-next svg {
        width: 20px;
        height: 20px;
    }

    .hero-controls {
        padding: 0 10px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        width: 30px;
    }
}

/* Mobile Sidebar Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -90%;
    width: 90%;
    height: 100%;
    background-color: #fff;
    z-index: 1050;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #027da9;
    color: white;
}

.mobile-menu-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
}

.mobile-menu-content {
    padding: 0;
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid #eee;
}

.mobile-nav-link,
.mobile-nav-link-single {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.mobile-nav-link:hover,
.mobile-nav-link-single:hover {
    background-color: #f0f8fb;
    color: #027da9;
    border-left-color: #027da9;
}

.mobile-nav-item.active .mobile-nav-link {
    background-color: #f0f8fb;
    color: #027da9;
    border-left-color: #027da9;
}

.mobile-arrow {
    transition: transform 0.3s;
    font-size: 14px;
    color: #027da9;
    font-weight: bold;
}

.mobile-nav-item.active .mobile-arrow {
    transform: rotate(90deg);
}

.mobile-submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-nav-item.active .mobile-submenu {
    max-height: 500px;
}

.mobile-submenu li {
    border-bottom: 1px solid #e0e0e0;
}

.mobile-submenu li:last-child {
    border-bottom: none;
}

.mobile-submenu a {
    display: block;
    padding: 15px 20px 15px 40px;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s;
}

.mobile-submenu a:hover {
    background-color: #fff;
    color: #027da9;
    padding-left: 45px;
}

/* 桌面版隱藏手機選單 */
@media (min-width: 992px) {

    .mobile-sidebar,
    .mobile-menu-overlay {
        display: none !important;
    }

    .navbar-toggler {
        display: none;
    }

    .navbar-collapse {
        display: flex !important;
    }
}

/* 手機版隱藏桌面選單 */
@media (max-width: 991px) {
    .navbar-collapse {
        display: none !important;
    }

    .navbar-toggler {
        display: block;
        border: 2px solid #027da9;
        padding: 8px;
        border-radius: 5px;
        transition: all 0.3s;
    }

    .navbar-toggler:hover {
        background-color: #027da9;
        border-color: #027da9;
    }

    .navbar-toggler:hover .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(2, 125, 169, 0.25);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23027da9' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

/* 防止選單開啟時背景滾動 */
body.menu-open {
    overflow: hidden;
}

/* Featured Products Section */
.featured-products {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #027da9;
    background-color: white;
    color: #027da9;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.carousel-btn:hover {
    background-color: #027da9;
    color: white;
    transform: scale(1.1);
}

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

.carousel-btn:disabled:hover {
    background-color: white;
    color: #027da9;
    transform: scale(1);
}

.products-carousel-wrapper {
    overflow: hidden;
    position: relative;
}

.products-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease;
    touch-action: pan-y;
}

/* Product Card */
.product-card {
    flex: 0 0 calc(20% - 16px);
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(2, 125, 169, 0.15);
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background-color: #f0f0f0;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #00b894;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    z-index: 2;
}

.add-to-cart-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
}

.add-to-cart-btn span {
    font-size: 24px;
    color: #027da9;
    font-weight: 300;
}

.add-to-cart-btn:hover {
    background-color: #027da9;
    transform: scale(1.1);
}

.add-to-cart-btn:hover span {
    color: white;
}

.product-info {
    padding: 16px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #027da9;
}

.product-rating {
    font-size: 14px;
    color: #666;
}

.rating-icon {
    color: #ff6b6b;
    margin-right: 3px;
}

/* Responsive Design for Products */
@media (max-width: 1200px) {
    .product-card {
        flex: 0 0 calc(25% - 15px);
    }
}

@media (max-width: 991px) {
    .product-card {
        flex: 0 0 calc(33.333% - 13.33px);
    }

    .carousel-controls {
        display: none;
    }
}

@media (max-width: 768px) {
    .featured-products {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .products-carousel {
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 24px;
    }

    .products-carousel {
        gap: 12px;
    }

    .product-info {
        padding: 12px;
    }

    .product-name {
        font-size: 14px;
    }

    .product-price {
        font-size: 16px;
    }

    .product-rating {
        font-size: 12px;
    }
}

/* Full Menu Section */
.full-menu-section {
    padding: 80px 0;
    background-color: #fff;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.menu-header-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.menu-time {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.menu-search {
    position: relative;
    width: 300px;
}

.search-input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #027da9;
    box-shadow: 0 0 0 3px rgba(2, 125, 169, 0.1);
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

/* Category Tabs */
.category-tabs-wrapper {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 100;
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    transition: all 0.3s;
}

.category-tabs-wrapper.stuck {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.category-tabs {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
    align-items: center;
    padding-right: 100px;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.tab-toggle {
    display: none;
    min-width: 40px;
    height: 40px;
    border: 2px solid #027da9;
    background-color: white;
    color: #027da9;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-toggle:hover {
    background-color: #027da9;
    color: white;
}

.category-tab {
    padding: 12px 24px;
    border: none;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    flex-shrink: 0;
}

.category-tab:hover {
    background-color: #e8f4f8;
    color: #027da9;
}

.category-tab.active {
    background-color: #027da9;
    color: white;
}

.tab-nav-arrows {
    display: none;
    /*flex*/
    gap: 5px;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    padding-left: 10px;
    z-index: 10;
}

.tab-arrow {
    width: 35px;
    height: 35px;
    border: 2px solid #027da9;
    background-color: white;
    color: #027da9;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-arrow:hover {
    background-color: #027da9;
    color: white;
}

.tab-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Menu Content */
.menu-content {
    margin-top: 30px;
}

.menu-category {
    margin-bottom: 60px;
    scroll-margin-top: 150px;
}

.category-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #027da9;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
}

.menu-item:hover {
    box-shadow: 0 4px 15px rgba(2, 125, 169, 0.15);
    transform: translateY(-2px);
}

.menu-item-info {
    flex: 1;
    padding-right: 15px;
}

.menu-item-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.menu-item-price {
    font-size: 14px;
    color: #666;
    margin: 0 0 5px 0;
}

.menu-item-note {
    font-size: 12px;
    color: #999;
    margin: 0;
    font-style: italic;
}

.menu-item-image {
    position: relative;
    flex-shrink: 0;
}

.menu-item-image img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
}

.menu-add-btn {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 22px;
    color: #027da9;
}

.menu-add-btn:hover {
    background-color: #027da9;
    color: white;
    transform: scale(1.1);
}

/* Responsive for Menu */
@media (max-width: 991px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .full-menu-section {
        padding: 60px 0;
    }

    .menu-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-header-content h2 {
        font-size: 28px;
    }

    .menu-search {
        width: 100%;
    }

    .category-title {
        font-size: 24px;
    }

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

    .menu-item {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }

    .menu-item-info {
        order: 2;
        padding-right: 0;
        padding-top: 12px;
    }

    .menu-item-image {
        order: 1;
        width: 100%;
    }

    .menu-item-image img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .menu-add-btn {
        right: 50%;
        transform: translateX(50%);
    }
}

@media (max-width: 576px) {
    .menu-header-content h2 {
        font-size: 24px;
    }

    .category-title {
        font-size: 20px;
    }

    .menu-item-name {
        font-size: 14px;
    }

    .menu-item-price {
        font-size: 13px;
    }
}

/* Media Coverage Section */
.media-coverage-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.title-divider {
    width: 150px;
    height: 2px;
    background: linear-gradient(to right, transparent, #027da9, transparent);
}

.section-title-center {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin: 0;
    white-space: nowrap;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.media-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.media-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(2, 125, 169, 0.2);
}

.media-image {
    position: relative;
    width: 100%;
    padding-top: 62.5%;
    /* 16:10 aspect ratio */
    overflow: hidden;
    background-color: #f0f0f0;
}

.media-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.media-card:hover .media-overlay {
    opacity: 1;
}

.play-button {
    width: 70px;
    height: 70px;
    background-color: rgba(2, 125, 169, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    padding-left: 5px;
    transition: all 0.3s;
}

.media-card:hover .play-button {
    transform: scale(1.1);
    background-color: #027da9;
}

.media-content {
    padding: 25px;
}

.media-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 54px;
}

.media-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.media-date,
.media-source {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
}

.view-more-wrapper {
    text-align: center;
}

.view-more-btn {
    padding: 15px 40px;
    background-color: white;
    border: 2px solid #027da9;
    color: #027da9;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.view-more-btn:hover {
    background-color: #027da9;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(2, 125, 169, 0.3);
}

.view-more-btn .arrow-icon {
    font-size: 20px;
    transition: transform 0.3s;
}

.view-more-btn:hover .arrow-icon {
    transform: translateX(5px);
}

/* Responsive for Media Coverage */
@media (max-width: 991px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .title-divider {
        width: 80px;
    }
}

@media (max-width: 768px) {
    .media-coverage-section {
        padding: 60px 0;
    }

    .section-header-center {
        gap: 20px;
        margin-bottom: 40px;
    }

    .section-title-center {
        font-size: 28px;
    }

    .title-divider {
        width: 50px;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .media-content {
        padding: 20px;
    }

    .media-title {
        font-size: 16px;
        min-height: 48px;
    }
}

@media (max-width: 576px) {
    .section-title-center {
        font-size: 24px;
    }

    .title-divider {
        width: 30px;
    }

    .media-title {
        font-size: 15px;
    }

    .media-date,
    .media-source {
        font-size: 13px;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .view-more-btn {
        padding: 12px 30px;
        font-size: 15px;
    }
}

/* Footer Section */
footer {
    background: #027da9;
    color: #ffffff;
    padding: 3rem 0 1rem;
}

.footer-title {
    margin-bottom: 1rem;
    font-weight: 600;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}