/* Body styling */
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    margin-top: 80px;
}

.heading {
    margin-bottom: 0;
    padding: 40px;
    margin-top: 70px;
}

.heading h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.heading p {
    font-size: 1.2rem;
    color: #7f8c8d;
}

/* Scroll container styling */
.scroll-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    margin-bottom: 0;
}

.scroll-content {
    display: flex;
    max-width: 1200px;
    width: 100%;
    gap: 20px;
}

.accordion {
    flex: 1;
    margin-right: 20px;
    margin-top: 5%;
}

.accordion-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.accordion-item:hover {
    transform: scale(1.02);
}

.accordion-title {
    background: linear-gradient(135deg, #5e3131, #585dbf);
    cursor: pointer;
    padding: 15px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1.2em;
    color: #fff;
    transition: background-color 0.3s ease;
}

.accordion-title .accordion-arrow {
    fill: #fff; /* White color */
    width: 24px;
    height: 24px;
    margin-left: 10px;
    margin-top: 10px;
    margin-bottom: 0;
    display: flex;
    transition: transform 0.3s ease; /* Add transition for smooth rotation */
}

.accordion-title .accordion-arrow.rotate {
    transform: rotate(180deg); /* Rotate 180 degrees */
}

.accordion-title:hover,
.accordion-title.active {
    background: linear-gradient(135deg, #8d58bf, #6d5bba);
}

.accordion-title:hover,
.accordion-title.active {
    background: linear-gradient(135deg, #8d58bf, #6d5bba);
}

.accordion-content {
    display: none;
    padding: 20px;
    border-top: 1px solid #ddd;
    background-color: #fff;
    animation: fadeIn 0.3s ease;
}

.accordion-content ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.accordion-content li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.accordion-content li:last-child {
    border-bottom: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-slider {
    flex: 1;
    position: relative;
    width: 100%;
    height: 600px; /* Adjust the height as needed */
    overflow: hidden;
    border-radius: 15px;
}

.image-slider img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.image-slider img.active {
    opacity: 1;
}

.square-container {
    display: flex;
    gap: 20px;
    justify-content: center; /* Center the squares horizontally */
    flex-wrap: wrap;
    padding: 20px;
    margin-bottom: 100px;
}

.square {
    width: 250px;
    height: 250px;
    background-color: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.square a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.square img {
    width: 100%;
    height: 70%;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

.title {
    padding: 10px 0;
    font-size: 1.2rem;
    text-align: center;
    color: #007bff;
    font-weight: 600;
}

.title2 {
    display: none;
}

.square:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

@media (max-width: 500px) {
    .heading {
        padding: 20px;
        margin-top: 0;
        padding-bottom: 0;
    }

    .heading h1 {
        font-size: 2rem;
    }

    .heading p {
        font-size: 1rem;
    }

    .scroll-container {
        padding: 10px;
    }

    .scroll-content {
        flex-direction: column;
    }

    .accordion {
        margin-right: 0;
    }

    .image-slider {
        height: 300px;
    }

    .square-container {
        gap: 10px;
        padding: 10px;
        margin-bottom: 50px;
    }

    .square {
        width: 80%;
        height: 300px;
    }

    .square img {
        height: 95%;
    }

    .title {
        display: none;
    }

    .title2 {
        display: block;
        padding-top: 5px;
        padding-bottom: 30px;
        font-size: 1.2rem;
        text-align: center;
        color: #007bff;
        font-weight: 600;
    }
}

@media (max-width: 380px) {
    .square {
        width: 80%;
        height: 250px;
    }
}

@media (max-width: 350px) {
    .square {
        width: 80%;
        height: 250px;
    }
}