body {
    background: linear-gradient(135deg, #f1f8ff, #ffffff);
    font-family: "IRANSans", sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: rgba(21, 34, 43, 0.85);
    color: white;
    padding: 1rem 0;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .logo {
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
}

header nav a {
    color: white;
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    transition: color 0.3s;
}

header nav a:hover {
    color: #cce6ff;
}

main.container {
    flex: 1;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.accordion-button::after {
    margin-left: auto;
}

.icon-box {
    font-size: 2rem;
    margin-right: 10px;
    transition: transform 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.accordion-button:not(.collapsed) .icon-box {
    transform: rotate(15deg) scale(1.2);
}

.image-box img {
    width: 100%;
    max-width: 300px;
    border-radius: 12px;
    margin: 15px auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
    display: block;
}

.image-box img:hover {
    transform: scale(1.05);
}

.section-title {
    flex: 1;
    font-weight: bold;
}

.svg-animate path,
.svg-animate circle,
.svg-animate polyline,
.svg-animate rect {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: draw 2s forwards;
    stroke: #4a90e2;
    stroke-width: 2;
    fill: transparent;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@media (max-width: 768px) {
    .accordion-body.d-flex {
        flex-direction: column !important;
    }
}