/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fdfdfd;
    color: #333;
    scroll-behavior: smooth;
}

/* Blog Container */
.blog1-1 {
    display: flex;
    flex-wrap: wrap;
    max-width: 92%;
    width: 100%;
    margin: 20px auto;
   
    box-sizing: border-box;
    gap: 20px;
}

.blog1-2 {
    flex: 1 1 25%;
    padding: 15px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 8px;
}

.blog1-3 {
    flex: 1 1 70%;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 8px;
}

/* Headings */
.blog1-2 h2, .blog1-3 h1 {
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 10px;
}

.blog1-3 h1 {
    font-size: 2em;
    background: linear-gradient(90deg, #4b6cb7, #182848);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 20px;
}

/* Table of Contents */
.blog1-2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog1-2 ul li {
    margin-bottom: 12px;
}

.blog1-2 ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.blog1-2 ul li a:hover {
    color: #4b6cb7;
    text-decoration: underline;
}

/* Blog Content */
.blog1-3 p {
    margin-top: 30px;
    font-size: 1.3em;
    line-height: 2;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

/* Image Styles */
.blog1-4, .blog1-5 {
    margin: 20px 0;
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.blog1-4 img, .blog1-5 img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Responsive Full-Screen Image */
.blog1-5 img {
    width: 100%;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
}

/* Sidebar Icons */
.blog1-6 {
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.blog1-6 a {
    display: block;
    margin-bottom: 10px;
    color: #4b6cb7;
    font-size: 1.8em;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

.blog1-6 a:hover {
    color: #182848;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 824px) {
    .blog1-1 {
        flex-direction: column;
        gap: 15px;
    }
    .blog1-2, .blog1-3 {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .blog1-3 h1 {
        font-size: 1.8em;
    }
    .blog1-3 p {
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    .blog1-3 h1 {
        font-size: 1.5em;
    }
    .blog1-3 p {
        font-size: 0.9em;
    }
    .blog1-6 a {
        font-size: 1.5em;
    }
}


/* General Reset */


/* Container */
.slidy-container {
    width: 100%;
    max-width: 90%;
    margin: 20px auto;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Carousel */
.slidy-carousel {
    gap: 1px;
    display: flex;
    transition: transform 0.5s ease-in-out;
    cursor: grab;
}

.slidy-slide {
    
    flex: 0 0 calc(100% / 3);
    position: relative;
    overflow: hidden;
}

.slidy-slide img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

/* Title Bar */
.slidy-title-bar {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 100%;
    padding: 5px;
    text-align: center;
}

.slidy-title-bar .slidy-date {
    font-size: 12px;
}

.slidy-title-bar .slidy-title {
    font-size: 14px;
    font-weight: bold;
    color: #00c8ff;
    text-decoration: none;
    transition: color 0.3s;
}

.slidy-title-bar .slidy-title:hover {
    color: #ffcc00;
}

/* Arrows */
.slidy-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 20px;
    z-index: 10;
}

.slidy-arrow-left {
    left: 10px;
}

.slidy-arrow-right {
    right: 10px;
}

.slidy-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
    .slidy-slide {
        flex: 0 0 50%;
    }
}

@media (max-width: 480px) {
    .slidy-slide {
        flex: 0 0 100%;
    }
}
