/* 
 * Details Page Styles
 * Contains all styles specific to the Audience Demographics Details page
 */

/* Navigation menu */
.details-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.details-menu li {
    transition: all 0.3s ease;
    border-radius: 4px;
}

.details-menu li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.details-menu li a {
    color: #000;
    font-weight: 600;
    transition: all 0.3s ease;
}

.details-menu li a:hover {
    color: #149CFE;
}

/* Title styling */
.marketing-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

/* Content sections */
.border-gray {
    border: 1px solid #8A8A8A !important;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.border-gray:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Title sections */
.title-section {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
    position: relative;
}

.title-section::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #149CFE;
    border-radius: 3px;
}

/* List items */
.list-unstyled li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.2rem 0;
}

.list-unstyled li:hover {
    color: #149CFE !important;
    transform: translateX(3px);
}

/* Audience size counter */
.count-size {
    font-weight: 700;
    font-size: 6rem;
    line-height: 1;
    color: #149CFE;
}

.million {
    font-weight: 500;
    font-size: 2.5rem;
    color: #000;
    margin-left: -10px;
}

.audience {
    font-weight: 400;
    font-size: 1.5rem;
    color: #000;
    margin-top: 0.5rem;
}

/* Chart containers */
.chart-container {
    margin-bottom: 1.5rem;
}

.chart-box, .chart-box2, .chart-box3 {
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.chart-box:hover, .chart-box2:hover, .chart-box3:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.chart-box {
    height: 300px;
}

.chart-box2 {
    height: 280px;
}

.chart-box3 {
    height: 250px;
}

/* Responsive styles */
@media (max-width: 1200px) {
    .marketing-title {
        font-size: 3rem;
    }
    
    .count-size {
        font-size: 5rem;
    }
    
    .million {
        font-size: 2rem;
    }
    
    .audience {
        font-size: 1.3rem;
    }
    
    .chart-box {
        height: 280px;
    }
    
    .chart-box2 {
        height: 250px;
    }
}

@media (max-width: 992px) {
    .marketing-title {
        font-size: 2.5rem;
    }
    
    .title-section {
        font-size: 1.3rem;
    }
    
    .count-size {
        font-size: 4.5rem;
    }
    
    .million {
        font-size: 1.8rem;
    }
    
    .audience {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .marketing-title {
        font-size: 2.2rem;
    }
    
    .title-section {
        font-size: 1.2rem;
    }
    
    .count-size {
        font-size: 4rem;
    }
    
    .million {
        font-size: 1.5rem;
    }
    
    .audience {
        font-size: 1.1rem;
    }
    
    .chart-box {
        height: 250px;
    }
    
    .chart-box2 {
        height: 220px;
    }
    
    .chart-box3 {
        height: 220px;
    }
    
    .list-unstyled li {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .marketing-title {
        font-size: 1.8rem;
    }
    
    .title-section {
        font-size: 1.1rem;
    }
    
    .title-section::after {
        width: 30px;
        height: 2px;
    }
    
    .count-size {
        font-size: 3.5rem;
    }
    
    .million {
        font-size: 1.3rem;
    }
    
    .audience {
        font-size: 1rem;
    }
    
    .chart-box {
        height: 220px;
    }
    
    .chart-box2 {
        height: 200px;
    }
    
    .chart-box3 {
        height: 200px;
    }
    
    .list-unstyled li {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .marketing-title {
        font-size: 1.5rem;
    }
    
    .count-size {
        font-size: 3rem;
    }
    
    .million {
        font-size: 1.1rem;
    }
    
    .audience {
        font-size: 0.9rem;
    }
    
    .chart-box, .chart-box2, .chart-box3 {
        height: 180px;
    }
}