.main-home-grid {
    margin-top: 30px;
    padding: 1.4rem;
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 10px;
    align-items: center;
}

.d-none {
    display: none;
}

/* page header */
.home-header {
    padding: 2rem;
    text-align: center;
}

.home-header p:nth-of-type(1) {
    font-size: 2.7rem;
    margin-bottom: 0.7rem;
    background: linear-gradient(135deg, #000000, #1a1a1a, #333333);
    font-weight: 600;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

}

.home-header p:nth-of-type(2) {
    font-size: 1.3rem;
    color: #1976d2;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.home-header p:nth-of-type(3) {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    color: #333;
}


.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

main {
    padding: 2rem 0;
    flex: 1;
}

.hero {
    text-align: center;
    color: black;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.section {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.section-header {
    padding: 1.5rem;
    background: linear-gradient(45deg, hsl(210, 79%, 76%), hsl(210, 79%, 86%));
    color: hsl(0, 0%, 20%);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.section-header:hover {
    color: hsl(0, 0%, 5%);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.chevron {
    transition: transform 0.3s ease;
}

.section.collapsed .chevron {
    transform: rotate(-90deg);
}

.section-content {
    padding: 0;
    max-height: none;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.section.collapsed .section-content {
    max-height: 0;
    padding: 0;
}

#tools-content-st {
    margin-top: 4px;
}

.grid {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(103, 126, 234, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(103, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.item:hover {
    background: rgba(103, 126, 234, 0.1);
    border-color: rgba(103, 126, 234, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.item-icon {
    width: 24px;
    height: 24px;
    color: #667eea;
    flex-shrink: 0;
}

.item-text {
    font-weight: 500;
    color: #2d3748;
}

.subsection {
    margin-bottom: 2rem;
}

.subsection:last-child {
    margin-bottom: 0;
}

.subsection-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 1rem;
    padding: 0 1.5rem;
    border-left: 4px solid #667eea;
    padding-left: 1rem;
}



@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

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

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

    .section-title {
        font-size: 1.25rem;
    }

    .item {
        padding: 0.75rem;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-animation .item {
    animation: fadeInStagger 0.6s ease-out;
}

@keyframes fadeInStagger {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}