/* Slideshow Style */
.carousel-item {
    width: 100%;
    height: 550px;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
}

/* About Section */
/* #about {
    margin-top: 50px;
    width: 100%;
}

.about__title {
    padding-right: 10px;
    font-weight: 500;
    border-right: 5px solid var(--site-main-color);
}

.at_en {
    padding-right: 0;
    padding-left: 10px;
    border-right: none;
    border-left: 5px solid var(--site-main-color);
}

#about>.description {
    margin: 0 40px;
    text-align: justify;
    white-space: pre-line;
} */

:root {
    --primary-color: #2563eb;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-card: #ffffff;
    --bg-icon: #b1bed9;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-card: transparent;
    --transition: all 0.3s ease;

    --atra-band-bg: rgba(240, 240, 240, 0.5);
    --atra-border: rgba(0, 0, 0, 0.1);
    --atra-card-bg: rgba(241, 241, 241, 0.6);
    --atra-text-1: #0f172a;
    --atra-text-2: #64748b;
    --atra-glow: rgba(79, 70, 229, 0.1);
}

html.dark,
body.dark {
    --text-dark: #f8fafc;
    --text-muted: #94a3b8;
    --bg-card: #1e293b;
    --bg-icon: rgba(37, 99, 235, 0.15);
    --border-card: rgba(255, 255, 255, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.4);

    --atra-band-bg: rgba(30, 41, 59, 0.4);
    --atra-border: rgba(255, 255, 255, 0.06);
    --atra-card-bg: rgba(255, 255, 255, 0.02);
    --atra-text-1: #f8fafc;
    --atra-text-2: #64748b;
    --atra-glow: rgba(99, 102, 241, 0.25);
}

@media (prefers-color-scheme: dark) {
    :root:not(.light) {
        --text-dark: #545b62;
        --text-muted: #4f5358;
        --bg-card: #cfcfcf;
        --bg-icon: rgba(37, 99, 235, 0.15);
        --border-card: rgba(255, 255, 255, 0.05);
        --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
        --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    }
}

.achievements-section {
    /* margin-top: 30px; */
    padding: 20px 40px;
    display: flex;
    justify-content: center;
}

.achievements-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: flex-start;
}

.achievement-item {
    min-width: 190px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.achievement-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.achievement-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--bg-icon);
    border-radius: 10px;
    transition: var(--transition);
}

.achievement-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0px 0px 1px rgba(255, 255, 255, 0.1));
}

.achievement-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.achievement-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    line-height: 1;
    transition: var(--transition);
}

.plus-sign {
    color: var(--primary-color);
    margin-right: 3px;
}

.achievement-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    transition: var(--transition);
}


.atra-iso-band {
    width: 100%;
    margin: 0 auto;
    max-width: 1000px;
    background: var(--atra-band-bg);
    transform: translateZ(0); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--atra-border);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.dark-mode .atra-iso-band {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.atra-iso-band::before,
.atra-iso-band::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.atra-iso-band::before {
    right: 0;
    background: linear-gradient(to left, var(--atra-band-bg) 20%, transparent 100%);
}

.atra-iso-band::after {
    left: 0;
    background: linear-gradient(to right, var(--atra-band-bg) 20%, transparent 100%);
}

.atra-iso-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 24px 40px;
    scrollbar-width: none;
}

.atra-iso-track::-webkit-scrollbar {
    display: none;
}

.iso-mini-card {
    flex: 1 0 160px; 
    max-width: 240px; 
    scroll-snap-align: start;
    background: var(--atra-card-bg);
    border: 1px solid var(--atra-border);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.2s ease, 
                box-shadow 0.2s ease;
    cursor: pointer;
    will-change: transform; 

    display: flex;
    flex-direction: column;
    justify-content: space-between;}

.iso-mini-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 10px 25px var(--atra-glow);
}

.iso-mini-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1.414;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid var(--atra-border);
}

.dark-mode .iso-mini-img-wrapper {
    background: rgba(0, 0, 0, 0.2);
}

.iso-mini-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;

    transition: transform 0.3s ease;
}

.iso-mini-card:hover .iso-mini-img-wrapper img {
    transform: scale(1.05);
}

.iso-mini-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--atra-text-1);
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    min-height: 2.4rem;
}

.iso-mini-sub {
    font-size: 0.7rem;
    color: var(--atra-text-2);
    margin: 0;
    font-family: sans-serif;
    letter-spacing: 0.3px;
}

.line {
    border-color: var(--site-main-color);
    border-width: 2px;
    width: 400px;
    margin: 10px;
}

.line1 {
    margin-right: 100px;
}

.line2 {
    margin-right: 210px;
}

.gallery-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
    margin: 50px auto;
}

.card {
    position: absolute;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.card-main {
    width: 52%;
    height: 360px;
    top: 60px;
    left: 22%;
    z-index: 2;
}

.card-left {
    width: 28%;
    height: 200px;
    top: 240px;
    left: 3%;
    z-index: 3;
    transform: rotate(-3deg);
}

.card-right {
    width: 38%;
    height: 270px;
    top: 40px;
    right: 3%;
    z-index: 1;
    transform: rotate(2deg);
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card:hover {
    transform: scale(1.05) rotate(0deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.about__title {
    padding-right: 10px;
    font-weight: 600;
    font-size: 18px;
    border-right: 5px solid var(--site-main-color);
}

.about>div {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 20px;
}

.short_about_description {
    margin: 0 20px;
    text-align: justify;
    white-space: pre-line;
}

@media (max-width: 900px) {
    .about>div {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .achievements-section {
        padding: 20px 20px;
    }

    .achievements-container {
        flex-direction: column;
        gap: 15px;
    }

    .achievement-item {
        width: 100%;
    }

    .line {
        width: 250px;
    }

    .line1 {
        margin-right: 50px;
    }

    .line2 {
        margin-right: 100px;
    }
}