

/* banar */


@media only screen and (max-width: 768px) {
    .banar {
        padding: 10px important;
        border-radius: 5px important;
    }
}



/* cripto traker */

.ticker-container {
    width: 100%;
    overflow: hidden;
    background: #fff;
    padding: 10px 0;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
}


.footer_container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer_container div {
    width: 320px;
}


@media (max-width: 768px) {
    .form-control {
        width: 100%;
    }

    #for_mobile {
       margin-top: 20px !important;
    }
}



:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --hover-color: #0056b3;
    --transition-speed: 0.3s;
}

body {
    background-color: var(--light-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: linear-gradient(135deg, #4a76b8, #2c5282);
    color: white;
}

.about_main_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    flex: 1;
    padding-right: 40px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-text button {
    background-color: #fd7e14;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-text button:hover {
    background-color: #e67312;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.hero-img {
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed);
}

.hero-img:hover {
    transform: scale(1.02);
}

/* Blog Cards Section */
.blog-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

/* Filter Controls */
.filter-controls {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 30px;
    transition: all var(--transition-speed);
    cursor: pointer;
    font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.search-box {
    position: relative;
    max-width: 400px;
    margin: 0 auto 30px;
}

.search-box input {
    width: 100%;
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid #ddd;
    padding-right: 45px;
}

.search-box button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--secondary-color);
}

/* Blog Cards */
.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform var(--transition-speed);
}

.blog-card-link:hover {
    transform: translateY(-5px);
}

.blog-card {
    height: 100%;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all var(--transition-speed);
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-image-container {
    height: 200px;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
    line-height: 1.3;
}

.card-text {
    font-size: 0.95rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    flex: 1;
}

.category-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-footer {
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 12px 20px;
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.btn-read-more {
    align-self: flex-start;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: all var(--transition-speed);
    font-weight: 500;
    margin-top: 15px;
}

.btn-read-more:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Pagination */
.pagination {
    margin: 40px 0;
    justify-content: center;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-link {
    color: var(--primary-color);
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 5px !important;
    transition: all var(--transition-speed);
}

.page-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: rgb(39, 39, 39);
    padding: 50px 0;
    color: white;
}

.footer_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-logo img {
    width: 130px;
    margin-bottom: 20px;
}

.footer-logo p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links h4 {
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity var(--transition-speed);
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-contact i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Dark Mode */
.dark-mode {
    background-color: #121212;
    color: #f8f9fa;
}

.dark-mode .blog-card {
    background-color: #1e1e1e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dark-mode .card-title,
.dark-mode .card-text {
    color: #f8f9fa;
}

.dark-mode .card-footer {
    background-color: #2d2d2d;
    border-color: #3d3d3d;
    color: #f8f9fa;
}

.dark-mode .section-title h2 {
    color: #f8f9fa;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.blog-card {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }

/* Bubble Animation */
.bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.bubbles span {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: bubble 15s linear infinite;
}

.bubbles span:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 8s;
}

.bubbles span:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 20%;
    animation-duration: 5s;
    animation-delay: 1s;
}

.bubbles span:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 35%;
    animation-duration: 10s;
    animation-delay: 2s;
}

.bubbles span:nth-child(4) {
    width: 30px;
    height: 30px;
    left: 50%;
    animation-duration: 7s;
    animation-delay: 0s;
}

.bubbles span:nth-child(5) {
    width: 25px;
    height: 25px;
    left: 65%;
    animation-duration: 6s;
    animation-delay: 1s;
}

.bubbles span:nth-child(6) {
    width: 15px;
    height: 15px;
    left: 75%;
    animation-duration: 9s;
    animation-delay: 3s;
}

.bubbles span:nth-child(7) {
    width: 35px;
    height: 35px;
    left: 90%;
    animation-duration: 8s;
    animation-delay: 2s;
}

@keyframes bubble {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-1000px);
        opacity: 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about_main_container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .hero-img {
        max-width: 100%;
    }
    
    .blog-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .footer_container {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .pagination .page-link {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}
