/* About Me Wrapper & Grid Container */
.about-wrapper {
    position: relative;
    padding-bottom: 80px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden !important;
    box-sizing: border-box;
}

.about-grid-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    align-items: stretch;
    padding: 20px 10px 10px 10px !important;
    box-sizing: border-box;
    scrollbar-width: none;
    scroll-padding: 0 15px;
}

.about-grid-container::-webkit-scrollbar {
    display: none;
}

/* Premium Card Base (3 Columns for Desktop) */
.about-card-premium {
    background: #ffffff;
    border: 2px solid #b8c2cc;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    box-sizing: border-box;
    width: calc((100% - (20px * 2)) / 3) !important;
    min-width: calc((100% - (20px * 2)) / 3) !important;
    scroll-snap-align: start;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.4s ease, border-color 0.3s ease !important;
}

/* Tablet Responsive (2 Columns) */
@media (max-width: 1024px) {
    .about-card-premium {
        width: calc((100% - 20px) / 2) !important;
        min-width: calc((100% - 20px) / 2) !important;
    }
}

/* Mobile Responsive (Full Width) */
@media (max-width: 768px) {
    .about-card-premium {
        width: 100% !important;
        min-width: 100% !important;
        scroll-snap-align: center;
    }

    .about-wrapper .about-card-premium .about-text {
        font-size: 13px !important;
        line-height: 1.6 !important;
    }
}

/* Hover Effects & Dark Mode Overrides */
.about-card-premium:hover {
    transform: translateY(-12px) scale(1.02) !important;
    border-color: #2563eb !important;
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.2) !important;
}

.dark .about-card-premium {
    background: #1e293b !important;
    border-color: #2563eb !important;
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.2) !important;
}

/* Card Header, Icon & Text Styling */
.about-header-row {
    padding: 15px 20px;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-icon-box {
    width: 50px;
    height: 50px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.about-card-premium:hover .about-icon-box {
    background: #2563eb !important;
    color: #ffffff !important;
    transform: scale(1.1) rotate(-8deg) !important;
}

.dark .about-card-premium:hover .about-icon-box {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

.about-role {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.about-body {
    padding: 20px;
    flex-grow: 1;
}

.about-text {
    font-size: 15px !important;
    color: #475569;
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    word-break: break-word;
}

.dark .about-text {
    color: #cbd5e1;
}

/* Slider Pagination Dots */
.about-dots-container {
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.about-slider-dot {
    width: 10px;
    height: 10px;
    background-color: #cbd5e1;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.about-slider-dot.active {
    background-color: #2563eb;
    width: 25px;
    border-radius: 10px;
}