/* Jayankondam City Portal - Main Stylesheet */

:root {
    --primary-color: #2c5aa0;
    --secondary-color: #f8f9fa;
    --accent-color: #ff6b35;
    --text-color: #333;
    --light-text: #666;
    --border-color: #e9ecef;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100vw;
}

body {
    font-family: 'Noto Sans Tamil', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden !important;
    overflow-y: auto;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* Header with Logo and Google Ad */
.main-header {
    background: white;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.main-header .container {
    max-width: 1600px;
    width: 100%;
}

@media (min-width: 1400px) {
    .main-header .container {
        max-width: 1600px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .main-header .container {
        max-width: 1400px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .main-header .container {
        max-width: 1200px;
    }
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-ad {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.ad-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 90px;
    background: #e9ecef;
    border: 2px dashed #ced4da;
    border-radius: 4px;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
    max-width: 100%;
}

.adsbygoogle {
    display: block !important;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
}

.navbar-logo {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.logo-text {
    font-size: 28px;
    color: var(--primary-color);
    margin: 0;
}

/* Modern Navigation Menu */
.modern-navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 9999 !important;
    width: 100%;
    max-width: 100vw;
    overflow: visible !important;
    min-height: 50px;
}

.modern-navbar .navbar {
    padding: 0;
    overflow: visible !important;
    position: relative;
    z-index: 9999;
    width: 100%;
    max-width: 100%;
}

.modern-navbar .container {
    overflow: visible !important;
    max-width: 100%;
    position: relative;
    z-index: 9999;
    width: 100%;
}

.modern-navbar .container .navbar-collapse {
    overflow: visible !important;
    width: 100%;
}

.modern-navbar .navbar-collapse {
    overflow: visible !important;
    position: relative;
    z-index: 9999;
    width: 100%;
}

.container {
    max-width: 100%;
    overflow-x: hidden !important;
    overflow-y: visible;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    position: relative;
}

/* Ensure navbar container doesn't clip dropdowns */
.modern-navbar .container,
.modern-navbar .navbar,
.modern-navbar .navbar-collapse {
    overflow: visible !important;
}

.row {
    max-width: 100%;
}

[class*="col-"] {
    max-width: 100%;
}

.modern-nav {
    display: flex;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    white-space: nowrap;
    position: relative;
    z-index: 9999;
    overflow: visible !important;
}

.modern-nav .nav-item {
    position: relative;
}

.modern-nav .nav-item.dropdown {
    position: relative;
    z-index: auto;
}

.modern-nav .nav-item.dropdown:hover,
.modern-nav .nav-item.dropdown.show {
    z-index: 10000;
}

.modern-nav .nav-item.dropdown .dropdown-toggle[aria-expanded="true"] {
    z-index: 10000;
}

.modern-nav .nav-item.dropdown:hover .modern-dropdown,
.modern-nav .nav-item.dropdown .modern-dropdown.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 99999 !important;
    position: absolute !important;
    transform: translateZ(0);
}

.modern-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    padding: 12px 14px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.modern-link.dropdown-toggle {
    padding-right: 12px;
}

.modern-link.dropdown-toggle::after {
    display: none;
}

.modern-link i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.modern-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.modern-link:hover i.bi-chevron-down {
    transform: rotate(180deg);
}

.modern-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-bottom-color: white;
}

.modern-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: white;
    border-radius: 2px 2px 0 0;
}

.modern-dropdown {
    background: white !important;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px;
    padding: 4px;
    min-width: 220px;
    max-width: 300px;
    animation: fadeInDown 0.3s ease;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 99999 !important;
    display: none;
    opacity: 0;
    visibility: hidden;
    margin-top: 0 !important;
    transform: translateZ(0);
    will-change: transform;
    overflow: visible !important;
}

/* Override Bootstrap dropdown z-index */
.dropdown-menu.modern-dropdown {
    --bs-dropdown-zindex: 99999;
    z-index: 99999 !important;
    position: absolute !important;
}

.dropdown-menu.modern-dropdown.show,
.dropdown-menu.modern-dropdown[data-bs-popper] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 99999 !important;
    position: absolute !important;
    margin-top: 0 !important;
    transform: translateZ(0);
}

/* Ensure Bootstrap's popper positioning doesn't interfere */
.dropdown-menu.modern-dropdown[data-bs-popper] {
    top: 100% !important;
    left: 0 !important;
    margin-top: 0 !important;
    z-index: 99999 !important;
    position: absolute !important;
    transform: translateZ(0);
}

/* Force dropdown to appear above everything - highest priority */
body .modern-dropdown,
body .dropdown-menu.modern-dropdown,
body .modern-nav .nav-item.dropdown .modern-dropdown,
.modern-dropdown.show,
.dropdown-menu.modern-dropdown.show,
[data-bs-popper] .modern-dropdown {
    z-index: 99999 !important;
    position: absolute !important;
}

/* Ensure hero section stays below navbar */
.hero-slideshow-section {
    position: relative;
    overflow: hidden;
    z-index: 1 !important;
}

#heroCarousel {
    z-index: 1 !important;
    position: relative;
}

.carousel-inner {
    z-index: 1 !important;
    position: relative;
}

.carousel-item {
    z-index: 1 !important;
    position: relative;
}

.slide-image {
    z-index: 1 !important;
}

.carousel-caption {
    z-index: 10 !important;
}

/* Ensure navbar creates proper stacking context */
.modern-navbar {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    isolation: isolate;
}

/* Prevent horizontal scroll when dropdown appears */
body.dropdown-open {
    overflow-x: hidden !important;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modern-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    color: #495057;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 13px;
    border: none;
    background: transparent;
    width: 100%;
}

.modern-dropdown .modern-dropdown-item {
    display: flex;
    align-items: center;
}

.modern-dropdown-item i {
    font-size: 12px;
    color: #667eea;
    transition: transform 0.3s ease;
}

.modern-dropdown-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    transform: translateX(3px);
}

.modern-dropdown .dropdown-divider {
    margin: 4px 0;
    opacity: 0.3;
}

.modern-dropdown-item:hover i {
    transform: translateX(3px);
}

.modern-toggler {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modern-toggler:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
}

.modern-toggler span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.modern-toggler[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.modern-toggler[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.modern-toggler[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.modern-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    outline: none;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .modern-toggler {
        display: flex;
    }
    
    .modern-nav {
        flex-direction: column;
        align-items: stretch;
        padding: 15px 0;
        gap: 0;
    }
    
    .modern-link {
        padding: 10px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-left: 4px solid transparent;
        border-radius: 0;
        justify-content: flex-start;
    }
    
    .modern-link::after {
        display: none;
    }
    
    .modern-link:hover,
    .modern-link.active {
        border-left-color: white;
        border-bottom-color: rgba(255, 255, 255, 0.1);
        background: rgba(255, 255, 255, 0.15);
        padding-left: 22px;
    }
    
    .modern-link.active::after {
        display: none;
    }
    
    .modern-dropdown {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        background: rgba(255, 255, 255, 0.95);
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        animation: none;
    }
    
    .modern-dropdown-item {
        padding-left: 50px;
        border-radius: 0;
    }
    
    .modern-dropdown-item:hover {
        transform: translateX(0);
        padding-left: 55px;
    }
    
    .header-logo {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .header-ad {
        justify-content: center;
    }
    
    .ad-placeholder {
        min-height: 70px;
    }
    
    .adsbygoogle {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .modern-link {
        font-size: 14px;
        padding: 10px 16px;
    }
    
    .modern-link i {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .logo-text {
        font-size: 22px;
    }
    
    .navbar-logo {
        height: 50px;
    }
    
.main-header {
        padding: 10px 0;
    }
    
    .header-logo {
        margin-bottom: 10px;
    }
    
    .ad-placeholder {
        min-height: 50px;
        font-size: 12px;
    }
    
    .modern-navbar {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .modern-link {
        font-size: 14px;
        padding: 10px 15px;
    }
    
    .modern-toggler {
        padding: 6px;
    }
    
    .modern-toggler span {
        width: 22px;
        height: 2.5px;
    }
    
    .modern-dropdown-item {
        padding: 6px 15px 6px 45px;
        font-size: 12px;
    }
}


/* Hero Slideshow Section */
.hero-slideshow-section {
    position: relative;
    overflow: hidden;
    z-index: 1 !important;
}

#heroCarousel {
    z-index: 1 !important;
    position: relative;
}

.carousel-item {
    z-index: 1 !important;
    position: relative;
}

.carousel-inner {
    z-index: 1 !important;
    position: relative;
}

#heroCarousel {
    height: 500px;
}

.carousel-item {
    height: 500px;
    position: relative;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
}

.carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 0 !important;
    text-align: center !important;
    left: 0 !important;
    right: 0 !important;
}

.carousel-caption .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.slide-content {
    text-align: center !important;
    color: white;
    max-width: 800px;
    padding: 40px 20px;
    animation: fadeInUp 0.8s ease;
    margin: 0 auto;
    width: 100%;
}

.slide-title,
.slide-subtitle {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
}

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

.slide-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
    font-size: 1.25rem;
    margin-bottom: 35px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.slide-buttons .btn {
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slide-buttons .btn-primary {
    background: white;
    color: #667eea;
    border: 2px solid white;
}

.slide-buttons .btn-primary:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.slide-buttons .btn-light {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.slide-buttons .btn-light:hover {
    background: white;
    color: #667eea;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-indicators {
    margin-bottom: 20px;
    z-index: 15;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    opacity: 1;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 15;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Quick Info Section */
/* Three Column Section (25:50:25) */
.three-column-section {
    padding: 30px 0 60px 0;
    margin-top: -20px;
    background: #f8f9fa;
}

.info-widget-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 0;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.12), 0 2px 8px rgba(0, 0, 0, 0.05);
    min-height: auto;
    border: 1px solid #e9ecef;
    border-top: 4px solid #667eea;
    position: relative;
    overflow: visible;
    clear: both;
}

.info-widget-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.info-widget-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.info-widget-card .widget-content,
.info-widget-card .widget-header-modern,
.info-widget-card .widget-title {
    position: relative;
    z-index: 1;
}

.most-viewed-widget {
    background: linear-gradient(135deg, #ffffff 0%, #fff5f8 100%);
    border-top-color: #f5576c;
}

.most-viewed-widget::before {
    background: linear-gradient(90deg, #f5576c 0%, #f093fb 50%, #f5576c 100%);
}

.most-viewed-widget .widget-content {
    width: 90%;
    margin: 0 auto;
}

/* Advertisement Banners Widget */
.ad-banners-widget {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-top-color: #667eea;
}

.ad-banners-widget::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
}

.ad-banners-widget-full {
    width: 100%;
    padding: 0;
}

.ad-banner-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.ad-banner-button {
    display: block;
    position: relative;
    height: 80px;
    border-radius: 0;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
}

.ad-banner-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.1) 75%, rgba(255, 255, 255, 0.1)), linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.1) 75%, rgba(255, 255, 255, 0.1));
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    opacity: 0.2;
    z-index: 0;
}

.ad-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
    transition: all 0.4s ease;
}

.ad-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    height: 100%;
}

.ad-banner-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.ad-banner-text {
    flex: 1;
    min-width: 0;
}

.ad-banner-category {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ad-banner-title {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.ad-banner-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.ad-banner-button:hover .ad-banner-overlay {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.ad-banner-button:hover .ad-banner-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(255, 255, 255, 0.5);
}

.ad-banner-button:hover .ad-banner-title {
    transform: translateX(5px);
}

.widget-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.weather-icon {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.gold-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.news-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

.ad-icon {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}


.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #212529;
}

.widget-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
}

/* Tabbed Widget Styles - Compact */
.tabbed-widget {
    padding: 0;
    overflow: hidden;
}

.modern-tabs {
    border-bottom: 2px solid #e9ecef;
    margin: 0;
    padding: 0 15px;
    background: #f8f9fa;
    display: flex;
    gap: 3px;
}

.modern-tabs .nav-item {
    margin-bottom: -2px;
}

.modern-tabs .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    color: #6c757d;
    font-weight: 500;
    font-size: 14px;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    transition: all 0.3s ease;
    position: relative;
}

.modern-tabs .nav-link i {
    font-size: 16px;
}

.modern-tabs .nav-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
    border-bottom-color: rgba(102, 126, 234, 0.3);
}

.modern-tabs .nav-link.active {
    color: #667eea;
    background: white;
    border-bottom-color: #667eea;
    font-weight: 600;
}

.tab-content {
    padding: 15px;
}

.tab-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.tab-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

/* Directory List Styles - Compact */
.directory-list-modern {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.directory-item-modern {
    display: flex;
    gap: 12px;
    padding: 10px 12px;
    background: #f8f9fa;
    border-radius: 0;
    border: 1px solid #e9ecef;
}

.directory-icon {
    width: 35px;
    height: 35px;
    border-radius: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

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

.directory-name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #212529;
    text-decoration: none;
    margin-bottom: 5px;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.directory-name:hover {
    color: #667eea;
}

.directory-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 5px;
    font-size: 0.8125rem;
}

.directory-meta .category {
    color: #667eea;
    font-weight: 500;
    background: rgba(102, 126, 234, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.directory-meta .phone {
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
}

.directory-address {
    font-size: 0.75rem;
    color: #6c757d;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    line-height: 1.4;
}

.directory-address i {
    margin-top: 2px;
    color: #dc3545;
    font-size: 0.875rem;
}

/* Offers List Styles - Compact */
.offers-list-modern {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.offer-item-modern {
    position: relative;
    padding: 10px 12px;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
    border-radius: 0;
    border: 1px solid #ffe0e0;
}

.offer-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.offer-content {
    padding-right: 60px;
}

.offer-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 5px;
    line-height: 1.3;
}

.offer-description {
    font-size: 0.8125rem;
    color: #6c757d;
    margin-bottom: 6px;
    line-height: 1.4;
}

.offer-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
}

.offer-validity {
    color: #28a745;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.offer-validity::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
}

.empty-state {
    text-align: center;
    padding: 20px 15px;
    color: #6c757d;
}

.empty-state i {
    font-size: 2rem;
    margin-bottom: 10px;
    opacity: 0.5;
}

.empty-state p {
    margin: 0;
    font-size: 0.875rem;
}

.empty-state a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
}

.empty-state a:hover {
    text-decoration: underline;
}

.view-all-link {
    font-size: 0.8125rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.view-all-link:hover {
    gap: 6px;
    color: #764ba2;
}

.news-list-modern {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.news-item-modern {
    display: flex;
    gap: 0;
    padding: 3px 0;
    border-bottom: 1px solid #e9ecef;
    margin: 0;
}

.news-item-modern:last-child {
    border-bottom: none;
}

.news-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #667eea;
    margin-top: 6px;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
    min-width: 0;
    padding: 0;
    margin: 0;
}

.news-title-link {
    color: #212529;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    padding: 0;
    transition: color 0.3s ease;
    max-width: 100%;
}

.news-title-link:hover {
    color: #667eea;
}

.news-meta-modern {
    display: flex;
    gap: 6px;
    font-size: 0.6875rem;
    color: #6c757d;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.news-meta-modern .source {
    font-weight: 500;
}

.gold-rates {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.rate-item:last-child {
    border-bottom: none;
}

.rate-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.metal {
    font-weight: 500;
    color: #495057;
}

.price {
    font-weight: 600;
    color: #212529;
}

.change {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
}

.change.positive {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.change.negative {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.update-time {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    text-align: center;
    color: #6c757d;
    font-size: 0.8125rem;
}

.ad-banner-modern {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 500px;
    overflow-y: auto;
}

.ad-banner-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(248, 249, 255, 1) 100%);
    border-left: 3px solid;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
}

.ad-banner-item:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(240, 245, 255, 1) 100%);
    border-left-width: 4px;
    transform: translateX(3px);
}

.ad-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.ad-content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.ad-title {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 0 3px 0;
    line-height: 1.3;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.ad-description {
    font-size: 0.75rem;
    color: #e0e0e0;
    margin: 0;
    line-height: 1.3;
}

/* Scrollbar styling for ad container */
.ad-banner-modern::-webkit-scrollbar {
    width: 4px;
}

.ad-banner-modern::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.ad-banner-modern::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 2px;
}

.ad-banner-modern::-webkit-scrollbar-thumb:hover {
    background: #764ba2;
}

/* Full Width Advertisement Section */
.advertisement-section {
    padding: 0 0 30px 0;
    margin-top: -20px;
    background: #f8f9fa;
}

.ad-widget-full {
    margin: 0;
    padding: 20px;
    border-top: none !important;
}

.ad-widget-full::before {
    display: none;
}

.ad-banner-modern-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    width: 100%;
}

.ad-banner-item-full {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-left: 4px solid;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 70px;
    overflow: hidden;
}

.ad-banner-item-full::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 0;
}

.ad-banner-item-full::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: rotate 8s linear infinite;
    z-index: 0;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.ad-banner-item-full:hover::before {
    left: 100%;
}

.ad-banner-item-full:hover {
    border-left-width: 5px;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #1f1f3a 0%, #1a2a4a 50%, #133a6b 100%);
}

.animated-text {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.ad-title.animated-text {
    animation-delay: 0.1s;
}

.ad-description.animated-text {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ad-banner-item-full:hover .animated-text {
    animation: pulse 1.5s ease-in-out infinite;
}

.ad-banner-item-full:hover .ad-title {
    transform: translateX(3px);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.ad-banner-item-full .ad-icon-wrapper {
    width: 45px;
    height: 45px;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.ad-banner-item-full:hover .ad-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.ad-banner-item-full .ad-title {
    font-size: 0.9375rem;
    margin-bottom: 4px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.ad-banner-item-full .ad-description {
    font-size: 0.8125rem;
    color: #e0e0e0;
}

/* Quick Links List */
.quick-links-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.quick-link-item-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #212529;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.2s ease;
    border-left: 3px solid #667eea;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    margin-bottom: 4px;
    position: relative;
}

.quick-link-item-modern:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.15) 0%, rgba(255, 255, 255, 1) 100%);
    color: #667eea;
    border-left-color: #764ba2;
    border-left-width: 4px;
}

.quick-link-item-modern i {
    font-size: 16px;
    color: #667eea;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.quick-link-item-modern span {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
    flex: 1;
}

/* Widget Sections */
.widgets-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.widgets-section:nth-child(even) {
    background-color: white;
}

/* Widget Cards */
.widget-card {
    background: white;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    height: 100%;
}

.widget-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.widget-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-header .view-all {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s;
}


.widget-content {
    padding: 20px;
}

/* Weather Widget */
.weather-widget .weather-main {
    text-align: center;
    margin-bottom: 20px;
}

.weather-main .temperature {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.weather-main .weather-desc {
    font-size: 16px;
    color: var(--light-text);
    margin-top: 5px;
}

.weather-details {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.detail-item .label {
    color: var(--light-text);
}

.detail-item .value {
    font-weight: 500;
}

/* Gold Rate Widget */
.gold-widget .gold-rates {
    margin-bottom: 15px;
}

.rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.rate-item:last-child {
    border-bottom: none;
}

.rate-item .metal {
    font-weight: 500;
    color: var(--text-color);
}

.rate-item .price {
    font-weight: bold;
    color: var(--primary-color);
}

.rate-item .change {
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
}

.rate-item .change.positive {
    background-color: rgba(40, 167, 69, 0.1);
    color: var(--success-color);
}

.rate-item .change.negative {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.update-time {
    text-align: center;
    color: var(--light-text);
    font-size: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

/* News Widget */
.news-widget .news-list {
    max-height: 300px;
    overflow-y: auto;
}

.news-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item .news-title a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
    display: block;
    margin-bottom: 5px;
}

.news-item .news-title a:hover {
    color: var(--primary-color);
}

.news-item .news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--light-text);
}

.news-item .source {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info-color);
    padding: 2px 6px;
    border-radius: 8px;
}

/* Advertisement Widget */
.ad-widget .ad-banner {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
}

.ad-placeholder {
    text-align: center;
    color: var(--light-text);
}

.ad-placeholder i {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.ad-placeholder p {
    margin: 10px 0 5px;
    font-weight: 500;
}

.ad-placeholder small {
    font-size: 12px;
}

/* Quick Links Widget */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 10px;
    background: var(--secondary-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.quick-link-item:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.quick-link-item i {
    font-size: 24px;
    margin-bottom: 8px;
}

.quick-link-item span {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
}

/* Most Viewed Widget */
.most-viewed-list {
    max-height: 300px;
    overflow-y: auto;
}

.viewed-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.viewed-item:last-child {
    border-bottom: none;
}

.viewed-item .rank {
    background: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-right: 12px;
    flex-shrink: 0;
}

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

.viewed-item .item-title {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    display: block;
    margin-bottom: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.viewed-item .item-title:hover {
    color: var(--primary-color);
}

.viewed-item .views {
    font-size: 11px;
    color: var(--light-text);
}

/* Useful News Widget */
.useful-news-list {
    max-height: 300px;
    overflow-y: auto;
}

.useful-news-list .news-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.useful-news-list .news-item:last-child {
    border-bottom: none;
}

.useful-news-list .news-title {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    display: block;
    margin-bottom: 5px;
}

.useful-news-list .news-title:hover {
    color: var(--primary-color);
}

.useful-news-list .news-meta {
    display: flex;
    gap: 10px;
    font-size: 11px;
}

.useful-news-list .category {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info-color);
    padding: 2px 6px;
    border-radius: 8px;
}

.useful-news-list .date {
    color: var(--light-text);
}

/* Helpline Widget */
.helpline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.helpline-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: var(--secondary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.helpline-item:hover {
    background: var(--primary-color);
    color: white;
}

.helpline-icon {
    margin-right: 12px;
    font-size: 20px;
    color: var(--primary-color);
}

.helpline-item:hover .helpline-icon {
    color: white;
}

.helpline-details {
    flex: 1;
    min-width: 0;
}

.helpline-name {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.helpline-number {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
}

.helpline-item:hover .helpline-number {
    color: white;
}

/* Service Lists */
.service-list {
    max-height: 400px;
    overflow-y: auto;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.service-item:last-child {
    border-bottom: none;
}

.service-info {
    flex: 1;
    min-width: 0;
}

.service-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.service-info p {
    margin: 3px 0;
    font-size: 13px;
    color: var(--light-text);
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-info .type {
    margin-bottom: 8px;
}

.service-info .badge {
    font-size: 10px;
    padding: 3px 8px;
}

.service-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.service-rating .stars {
    display: flex;
    gap: 2px;
}

.service-rating .stars i {
    font-size: 12px;
    color: #ffc107;
}

.service-rating .rating-text {
    font-size: 12px;
    font-weight: 500;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .widgets-section {
        padding: 20px 0;
    }
    
    .widget-header {
        padding: 15px;
    }
    
    .widget-header h3 {
        font-size: 16px;
    }
    
    .widget-content {
        padding: 15px;
    }
    
    .weather-main .temperature {
        font-size: 36px;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 10px;
    }
    
    .helpline-grid {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .service-rating {
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .widget-card {
        margin-bottom: 20px;
    }
    
    .weather-main .temperature {
        font-size: 32px;
    }
    
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rate-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.hero-logo-img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #1e3a8a;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
}

.section-header {
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    text-align: center;
    margin-bottom: 2rem;
}

.view-all-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8125rem;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: #1e3a8a;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

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

.service-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.service-content p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.service-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.service-btn:hover {
    color: #1e3a8a;
}

/* Quick Links Section */
.quick-links-section {
    padding: 80px 0;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.quick-link-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

.quick-link-card:hover {
    transform: translateY(-5px);
}

.quick-link-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quick-link-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.quick-link-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.quick-link-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.quick-link-btn:hover {
    color: #1e3a8a;
}

/* News & Events Section */
.news-events-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

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

.news-content {
    padding: 10px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.news-category {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.news-date {
    color: var(--light-text);
}

.news-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.4;
}

.news-excerpt {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.read-more:hover {
    color: #1e3a8a;
}

.no-content {
    text-align: center;
    padding: 60px 20px;
    color: var(--light-text);
}

.no-content i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.events-list {
    margin-top: 3rem;
}

.event-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
}

.event-item:hover {
    transform: translateY(-3px);
}

.event-date {
    text-align: center;
    min-width: 80px;
}

.event-date .day {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.event-date .month {
    font-size: 0.9rem;
    color: var(--light-text);
    text-transform: uppercase;
}

.event-details h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.event-details p {
    color: var(--light-text);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.event-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--light-text);
}

.event-time, .event-location {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Highlights Section */
.highlights-section {
    padding: 80px 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.highlight-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.highlight-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.highlight-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.highlight-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.highlight-link:hover {
    color: #1e3a8a;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e3a8a 100%);
    color: white;
    padding: 80px 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

/* Social Section */
.social-section {
    padding: 60px 0;
    background: var(--secondary-color);
}

.social-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.social-grid a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    color: white;
}

.social-grid a[href*="facebook"]:hover { background: #1877f2; }
.social-grid a[href*="twitter"]:hover { background: #1da1f2; }
.social-grid a[href*="instagram"]:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-grid a[href*="youtube"]:hover { background: #ff0000; }
.social-grid a[href*="linkedin"]:hover { background: #0077b5; }
.social-grid a[href*="telegram"]:hover { background: #0088cc; }
.social-grid a[href*="whatsapp"]:hover { background: #25d366; }

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    clear: both;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.main-footer::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-widget {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.footer-widget h4 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #ffffff;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.footer-widget p {
    color: #e0e0e0;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.footer-links li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.footer-links li:hover::before {
    transform: translateX(5px);
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-links a:hover::after {
    width: 100%;
}

.contact-info p {
    margin-bottom: 15px;
    color: #e0e0e0;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-info p:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.contact-info i {
    margin-right: 12px;
    color: #667eea;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info p:hover i {
    color: #764ba2;
    transform: scale(1.2);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-links a {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 16px;
}

.social-links a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
    border-color: #667eea;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: #e0e0e0;
    margin: 0;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
    justify-content: flex-end;
    margin: 0;
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}

.footer-bottom-links li {
    position: relative;
}

.footer-bottom-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.footer-bottom-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

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

.footer-bottom-links a:hover::before {
    width: 100%;
}

/* Distance Page Sections */
.distance-hero-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-bottom: 0;
}

/* Inner Page Banner */
.inner-page-banner {
    padding: 40px 0;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    color: white;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.inner-page-banner h1 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.inner-page-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
}

.banner-image-placeholder {
    background: transparent;
    border-radius: 8px;
    padding: 0;
    min-height: auto;
    display: block;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    backdrop-filter: none;
    border: none;
    transition: all 0.3s ease;
}

.banner-image-placeholder:hover {
    background: transparent;
}

.banner-image-placeholder img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.banner-image-placeholder img:hover {
    transform: scale(1.02);
}

/* Know More Button */
.btn-know-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: pulse-glow 2s ease-in-out infinite;
}

.btn-know-more:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-know-more i {
    transition: transform 0.3s ease;
}

.btn-know-more:hover i {
    transform: translateX(5px);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

/* Know More Button Inline (for content sections) */
.btn-know-more-inline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 118, 110, 0.3);
}

.btn-know-more-inline:hover {
    background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(15, 118, 110, 0.4);
}

.btn-know-more-inline i {
    transition: transform 0.3s ease;
}

.btn-know-more-inline:hover i {
    transform: translateX(5px);
}

/* Mobile App Links */
.mobile-app-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-link-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-link-btn:hover {
    background: #e9ecef;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.app-link-btn i {
    font-size: 2rem;
    color: #667eea;
}

.app-link-btn div {
    display: flex;
    flex-direction: column;
}

.app-link-label {
    font-size: 0.75rem;
    color: #666;
    line-height: 1;
}

.app-link-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.2;
}

.app-link-btn:hover .app-link-name {
    color: #667eea;
}

@media (max-width: 768px) {
    .mobile-app-links {
        gap: 10px;
    }
    
    .app-link-btn {
        padding: 10px 12px;
    }
    
    .app-link-btn i {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .inner-page-banner {
        padding: 30px 0;
    }
    
    .inner-page-banner h1 {
        font-size: 1.5rem;
    }
    
    .inner-page-banner p {
        font-size: 0.9rem;
    }
    
    .banner-image-placeholder {
        min-height: 120px;
        margin-top: 20px;
    }
    
    .banner-image-placeholder i {
        font-size: 2rem !important;
    }
}

.distance-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.distance-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.distance-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.distance-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.distance-stats .stat-item i {
    font-size: 1.5rem;
    color: #667eea;
}

.distance-stats .stat-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
}

.distance-stats .stat-label {
    font-size: 0.9rem;
    color: #666;
}

.route-map-placeholder {
    padding: 40px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.route-map-placeholder i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 15px;
}

.route-info-section {
    padding: 60px 0 80px 0;
    background: #ffffff;
    margin-bottom: 0;
    clear: both;
    overflow: visible;
}

.route-info-section .container {
    clear: both;
    overflow: visible;
}

.route-info-section .row {
    clear: both;
    overflow: visible;
}

.section-title-modern {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title-modern i {
    color: #667eea;
}

.route-timeline {
    position: relative;
    padding-left: 30px;
}

.route-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.route-point {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
}

.route-marker {
    position: absolute;
    left: -37px;
    top: 0;
    width: 30px;
    height: 30px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    z-index: 1;
}

.route-marker .marker-number {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.route-content h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.route-distance {
    color: #666;
    margin-bottom: 5px;
}

.route-landmark {
    color: #999;
    font-size: 0.9rem;
}

.travel-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
    width: 100%;
    clear: both;
}

@media (max-width: 992px) {
    .travel-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.travel-option-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    float: none;
}

.travel-option-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.travel-option-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.travel-option-header i {
    font-size: 2rem;
    color: #667eea;
}

.travel-option-header h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
}

.travel-option-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.travel-detail {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.detail-label {
    font-weight: 500;
    color: #666;
}

.detail-value {
    color: #1a1a2e;
    font-weight: 600;
}

.places-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.place-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
}

.place-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.place-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.place-icon i {
    color: white;
    font-size: 1.5rem;
}

.place-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.place-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.place-type {
    display: inline-block;
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #666;
}

.quick-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-item i {
    font-size: 1.5rem;
    color: #667eea;
    flex-shrink: 0;
}

.info-item div {
    flex: 1;
}

.info-item strong {
    display: block;
    color: #1a1a2e;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.info-item p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

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

.tips-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list li i {
    color: #28a745;
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.tips-list li {
    color: #666;
    line-height: 1.6;
}

/* People Also Ask Section */
.people-also-ask {
    margin-top: 20px;
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    background: white;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    flex: 1;
    padding-right: 15px;
}

.faq-question i {
    font-size: 1.2rem;
    color: #667eea;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 20px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Responsive adjustments for distance page */
@media (max-width: 768px) {
    .distance-hero-section {
        padding: 40px 0;
    }
    
    .distance-title {
        font-size: 2rem;
    }
    
    .distance-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .route-info-section {
        padding: 40px 0 60px 0;
    }
    
    .travel-options-grid {
        grid-template-columns: 1fr !important;
    }
    
    .places-grid {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--secondary-color);
    padding: 20px 0;
}

.breadcrumb {
    margin: 0;
    background: none;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--light-text);
}

/* Alerts */
.alert {
    border-radius: 8px;
    border: none;
    padding: 15px 20px;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .services-grid,
    .quick-links-grid,
    .news-grid,
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .event-item {
        flex-direction: column;
        text-align: center;
    }
    
    .event-date {
        margin-bottom: 15px;
    }
    
    .event-meta {
        justify-content: center;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .social-grid {
        gap: 20px;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info span {
        display: block;
        margin-bottom: 5px;
    }
    
    .navbar-logo {
        height: 40px;
    }
    
    .logo-text {
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    #heroCarousel,
    .carousel-item {
        height: 400px;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .slide-subtitle {
        font-size: 1.1rem;
    }
    
    .three-column-section {
        padding: 20px 0 40px 0;
        margin-top: -15px;
    }
    
    .three-column-section .row > div {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    #heroCarousel,
    .carousel-item {
        height: 350px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .slide-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .slide-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .ad-banner-modern-full {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 8px;
    }
    
    .ad-banner-item-full {
        padding: 10px 12px;
        min-height: 60px;
    }
    
    .ad-banner-item-full .ad-icon-wrapper {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .ad-banner-item-full .ad-title {
        font-size: 0.875rem;
    }
    
    .ad-banner-item-full .ad-description {
        font-size: 0.75rem;
        color: #e0e0e0;
    }
    
    .advertisement-section {
        padding: 0 0 20px 0;
        margin-top: -15px;
    }
    
    .ad-widget-full {
        padding: 15px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    .three-column-section {
        padding: 20px 0 40px 0;
        margin-top: -15px;
    }
    
    .three-column-section .col-lg-3,
    .three-column-section .col-lg-6 {
        margin-bottom: 30px;
    }
    
    .main-footer {
        padding: 50px 0 0;
    }
    
    .footer-widget {
        margin-bottom: 35px;
    }
    
    .footer-widget h4 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        margin-top: 30px;
        padding: 25px 0;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
        gap: 15px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .ad-banner-buttons {
        gap: 10px;
    }
    
    .ad-banner-button {
        height: 70px;
    }
    
    .ad-banner-content {
        padding: 12px 15px;
        gap: 12px;
    }
    
    .ad-banner-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .ad-banner-title {
        font-size: 0.9375rem;
    }
    
    .ad-banner-category {
        font-size: 0.6875rem;
    }
    
    .info-widget-card {
        margin-bottom: 20px;
    }
    
    .quick-link-item-modern {
        padding: 7px 10px;
        gap: 8px;
    }
    
    .quick-link-item-modern i {
        font-size: 14px;
        width: 18px;
    }
    
    .quick-link-item-modern span {
        font-size: 0.8125rem;
    }
    
    .modern-tabs {
        flex-wrap: wrap;
        padding: 0 10px;
    }
    
    .modern-tabs .nav-link {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .modern-tabs .nav-link i {
        font-size: 14px;
    }
    
    .tab-content {
        padding: 12px;
    }
    
    .tab-content-header {
        margin-bottom: 10px;
        padding-bottom: 6px;
    }
    
    .tab-title {
        font-size: 0.875rem;
    }
    
    .directory-item-modern {
        flex-direction: column;
        gap: 8px;
        padding: 8px 10px;
    }
    
    .directory-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .offer-content {
        padding-right: 0;
    }
    
    .offer-badge {
        position: static;
        display: inline-block;
        margin-bottom: 8px;
    }
    
    .news-list-modern {
        gap: 0;
    }
    
    .news-item-modern {
        gap: 5px;
        padding: 2px 0;
    }
    
    .news-dot {
        width: 3px;
        height: 3px;
        margin-top: 5px;
    }
    
    .news-title-link {
        line-height: 1.15;
        margin: 0;
        padding: 0;
        font-size: 0.75rem;
    }
    
    .news-meta-modern {
        gap: 5px;
        font-size: 0.625rem;
        line-height: 1;
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 576px) {
    #heroCarousel,
    .carousel-item {
        height: 300px;
    }
    
    .slide-content {
        padding: 20px 15px;
    }
    
    .slide-title {
        font-size: 1.75rem;
        margin-bottom: 15px;
    }
    
    .slide-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .slide-buttons .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }
    
    .carousel-indicators {
        margin-bottom: 10px;
    }
    
    .carousel-indicators button {
        width: 8px;
        height: 8px;
    }
    
    .carousel-indicators button.active {
        width: 20px;
    }
    
    .stat-icon {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .info-widget-card {
        padding: 20px;
    }
    
    .widget-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .widget-title {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .quick-link-card,
    .service-card,
    .news-card,
    .highlight-card {
        padding: 20px;
    }
}

.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Language Selector */
.language-selector {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.language-selector label {
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
}

.language-selector .form-select {
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 12px;
    transition: border-color 0.3s ease;
}

.language-selector .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
}

.scroll-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

.scroll-to-top i {
    line-height: 1;
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}
