/* AEM Labs - Support CSS */
/* ====================== */


/* --- Hero Section Start --- */
.hero-container {
    padding: 30px 0 10px;
    width: 100%;
    background-color: #f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section {
    max-width: min(85%, var(--section-max-width));
    width: 100%;
    margin: 20px auto 24px;
    background-color: #1d1d1d;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 20vh;
    transition: max-width 0.4s ease-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.hero-video-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    /* Prevent layout shifts */
    aspect-ratio: 16/9;
    background-color: #1d1d1d;
    /* Optimize rendering */
    contain: layout style paint;
}

.hero-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    /* Prevent layout shifts */
    aspect-ratio: 16/9;
    background-color: #1d1d1d;
    /* Optimize rendering */
    contain: layout style paint;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6% 5%;
    z-index: 5;
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    max-width: 85%;
}

@media (max-width: 1400px) {
    .hero-section {
        max-width: min(85%, var(--section-max-width));
        height: 25vh;
    }

    .hero-title {
        font-size: 34px;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        max-width: min(90%, var(--section-max-width));
        height: 16vh;
    }

    .hero-title {
        font-size: 30px;
        font-weight: 600;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 0 0 20px;
    }

    .hero-section {
        max-width: min(90%, var(--section-max-width));
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 0 10px;
    }

    .hero-section {
        max-width: min(95%, var(--section-max-width));
        height: 20vh;
    }

    .hero-title {
        font-size: 24px;
        max-width: 100%;
    }

    .hero-subtitle {
        font-size: 12px;
        font-weight: 500;
        max-width: 100%;
    }

    .video-control {
        width: 24px;
        height: 24px;
        top: 4%;
        right: 2%;
    }

    .video-control i {
        font-size: 9px;
    }
}

/* --- Hero Section End --- */


/* --- Combined Section Start --- */
.combined-section {
    padding: 10px 0 40px;
}

.combined-container {
    max-width: min(80%, var(--section-max-width));
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

.getting-started-side {
    width: 100%;
}

.combined-section .section-header {
    text-align: left;
    justify-content: flex-start;
    margin-bottom: 24px;
}

.combined-section .section-header h2::after {
    left: 0;
    transform: none;
    width: 30%;
}

.combined-section .section-header p {
    margin: 0;
}

.getting-started-side .steps-timeline {
    position: relative;
    max-width: none;
    margin: 0;
}

.getting-started-side .steps-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), #ff6b35);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 80px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #6907c5);
    box-shadow: 0 4px 15px rgba(167, 28, 28, 0.3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.timeline-content {
    background: #ffffff;
    padding: 22px 30px 18px;
    border-radius: 16px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.step-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.step-link:hover {
    color: #8a1616;
}

.step-link:hover i {
    transform: translateX(4px);
}

.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 150px;
    width: 85%;
    margin-right: 0;
    margin-left: auto;
}

.image-container {
    border-radius: 16px;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    flex: 1;
}

.support-image {
    max-width: 100%;
    border-radius: 16px;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block;
}

.help-cta-side {
    background: #f8f9fa;
    padding: 0;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.help-cta-side:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.help-cta-content {
    padding: 30px;
}

.help-cta-side .help-cta-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.help-cta-side .help-cta-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.help-cta-side .contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.help-cta-side .contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.help-cta-side .contact-btn i {
    margin-right: 8px;
}

.help-cta-side .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1400px) {
    .combined-container {
        max-width: min(90%, var(--section-max-width));
        gap: 20px;
        justify-content: space-between;
    }

    .right-sidebar {
        width: 100%;
    }

    .timeline-item {
        margin-bottom: 18px;
    }

    .timeline-content {
        padding: 18px 24px 14px;
    }


    .timeline-content h4,
    .timeline-content p {
        margin-bottom: 8px;
    }

}

@media (max-width: 992px) {
    .combined-container {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: min(85%, var(--section-max-width));
    }

    .right-sidebar {
        position: static;
        width: 100%;
        order: -1;
        margin: 0;
        flex-direction: row;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .image-container {
        flex: 0 0 265px;
        width: 265px;
        height: 265px;
    }

    .help-cta-side {
        flex: 1;
        max-width: 400px;
    }

    .support-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .timeline-item {
        margin-bottom: 25px;
        padding-left: 70px;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .getting-started-side .steps-timeline::before {
        left: 25px;
    }

    .timeline-content {
        padding: 18px 22px;
    }

    .timeline-content h4 {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .timeline-content p {
        font-size: 13px;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .combined-container {
        max-width: min(90%, var(--section-max-width));
        gap: 25px;
    }

    .image-container {
        flex: 0 0 225px;
        width: 225px;
        height: 225px;
    }

    .help-cta-side {
        max-width: 350px;
    }

    .help-cta-content {
        padding: 20px;
    }

    .help-cta-side .contact-options {
        gap: 12px;
    }

    .help-cta-side .contact-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .timeline-item {
        margin-bottom: 20px;
        padding-left: 60px;
    }

    .timeline-marker {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .getting-started-side .steps-timeline::before {
        left: 22px;
    }

    .timeline-content {
        padding: 16px 18px;
    }

    .timeline-content h4 {
        font-size: 16px;
    }

    .timeline-content p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .section-header h2::after {
        width: 20%;
    }

    .combined-section {
        padding: 15px 0;
    }

    .combined-container {
        max-width: 90%;
        gap: 20px;
    }

    .right-sidebar {
        gap: 12px;
        order: 1;
        flex-direction: column;
        align-items: center;
    }

    .image-container {
        flex: 0 0 225px;
        width: 225px;
        height: 225px;
        order: 1;
    }

    .support-image {
        height: 225px;
        width: 225px;
    }

    .help-cta-content {
        padding: 16px;
    }

    .help-cta-side .help-cta-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .help-cta-side .help-cta-content p {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .help-cta-side .contact-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .timeline-item {
        margin-bottom: 18px;
        padding-left: 45px;
    }

    .timeline-marker {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .getting-started-side .steps-timeline::before {
        left: 16.5px;
    }

    .timeline-content {
        padding: 14px 16px;
    }

    .timeline-content h4 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .timeline-content p {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .step-link,
    .step-link i {
        font-size: 11px;
    }
}

/* --- Combined Section End --- */


/* --- FAQ Section Start --- */
.faq-section {
    padding: 30px 0;
}

.faq-container {
    max-width: min(90%, var(--max-container-width));
    margin: 0 auto;
}

.faq-grid {
    max-width: 800px;
    margin: 20px auto 0;
}

.faq-item {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
    position: relative;
    padding-left: 60px;
}

.faq-icon {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #a71c1c, #6907c5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(167, 28, 28, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.faq-icon i {
    font-size: 20px;
    color: white;
}

.faq-item:hover .faq-icon {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(167, 28, 28, 0.4);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    transition: color 0.3s ease;
}

.faq-question:hover h4 {
    color: var(--accent-color);
}

.faq-question i {
    font-size: 16px;
    color: #666;
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 0 24px 0;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-color);
}

@media (max-width: 1400px) {
    .faq-section {
        padding-top: 0;
    }
}

@media (max-width: 992px) {
    .faq-grid {
        max-width: min(85%, var(--max-container-width));
    }
}

@media (max-width: 480px) {
    .faq-grid {
        margin-top: 0;
    }

    .faq-icon {
        width: 40px;
        height: 40px;
    }

    .faq-icon i {
        font-size: 16px;
    }

    .faq-item {
        padding-left: 35px;
    }

    .faq-item h4,
    .faq-question i {
        font-size: 14px;
    }

    .faq-answer p {
        font-size: 12px;
    }
}

/* --- FAQ Section End --- */


/* --- Support Form Section Start --- */
.support-form-section {
    padding: 30px 0 60px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.support-form-section .section-label {
    background: linear-gradient(270deg, #a71c1c, #6907c5);
    justify-content: center;
}

.support-form-section .section-header h2 {
    color: white;
}

.support-form-section .section-header h2::after {
    opacity: 0.75;
    width: 10%;
}

.support-form-section .section-header p {
    color: #ccc;
}

.support-form-container {
    max-width: min(70%, var(--section-max-width));
    margin: 0 auto;
}

.form-wrapper {
    margin-top: 40px;
}

.support-ticket-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #ccc;
}

.order-number-wrapper {
    display: flex;
    align-items: center;

    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.order-number-wrapper:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(var(--accent-color-rgb), 0.1);
}

.order-prefix {
    font-size: 14px;
    color: #666;
    user-select: none;
}

.order-number-wrapper input {
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 0 8px !important;
    background: transparent !important;
    flex: 1;
}

.order-number-wrapper input:focus {
    outline: none;
    box-shadow: none !important;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(var(--accent-color-rgb), 0.1);
}

.form-group select option {
    background: #1a1a1a;
    color: white;
}

.radio-group {
    display: flex;
    margin: 0 auto;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

.radio-option:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-button {
    display: inline-block;
    align-items: center;
    width: 14px;
    height: 14px;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.radio-option input[type="radio"]:checked+.radio-button {
    border-color: var(--accent-color);
}

.radio-option input[type="radio"]:checked+.radio-button::after {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.priority-text {
    flex: 1;
    white-space: nowrap;
    overflow: visible;
}

.priority-text strong {
    display: inline;
    color: #ccc;
}

.file-upload-area {
    border: 4px dashed #ccc;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
}

.file-upload-area input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-text i {
    font-size: 32px;
    color: var(--accent-color);
    margin-bottom: 12px;
    display: block;
}

.file-upload-text span {
    display: block;
    font-weight: 500;
    color: #ccc;
    margin-bottom: 6px;
}

.file-upload-text small {
    color: #666;
    font-size: 12px;
}

.form-actions {
    margin-top: 30px;
    text-align: center;
}

.submit-btn {
    background: linear-gradient(270deg, #a71c1c, #6907c5, #a71c1c, #6907c5);
    background-size: 300% 100%;
    background-position: 0% 0%;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.submit-btn:hover {
    background-position: 100% 0%;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(var(--accent-color-rgb), 0.3);
}

.form-note {
    margin-top: 16px;
    color: #ccc;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

@media (max-width: 1400px) {
    .support-form-container {
        max-width: min(80%, var(--section-max-width));
    }
}

@media (max-width: 992px) {
    .support-form-container {
        max-width: min(90%, var(--section-max-width));
    }

    .radio-option {
        padding: 8px 10px;
    }

    .radio-button {
        width: 12px;
        height: 12px;
        margin: 0 4px 0 0;
    }

    .priority-text {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .radio-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        flex-direction: column;
        gap: 4px 12px;
    }

    .priority-text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .support-ticket-form {
        padding: 16px;
    }

    .support-ticket-form label {
        font-size: 11px;
    }

    .order-number-wrapper {
        padding: 8px 10px;
    }

    .order-number-wrapper input,
    .order-number-wrapper .order-prefix,
    .order-number-wrapper input {
        font-size: 11px;
    }

    #order-number {
        padding-left: 0 !important;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 11px;
    }

    .radio-group {
        display: flex;
        flex-direction: column;
        gap: 4px 12px;
    }

    .radio-option:last-child {
        margin-bottom: 0;
    }

    .priority-text {
        font-size: 12px;
    }

    .file-upload-area {
        padding: 20px 10px;
    }

    .file-upload-area i {
        font-size: 28px;
    }

    .file-upload-text span {
        font-size: 13px;
    }

    .file-upload-text small,
    .form-actions .form-note i {
        font-size: 10px;
    }

    .form-actions .submit-btn {
        padding: 10px 22px;
        font-size: 13px;
        border-radius: 14px;
    }

    .form-actions .submit-btn i {
        font-size: 14px;
    }

    .form-actions .form-note {
        font-size: 11px;
    }
}

/* --- Support Form Section End --- */


/* --- Quick Tools Section Start --- */
.quick-tools-section {
    padding: 30px 0 60px;
    background: #1a1a1a;
    color: white;
}

.quick-tools-container {
    max-width: min(90%, var(--section-max-width));
    margin: 0 auto;
}

.quick-tools-section .section-label {
    background: linear-gradient(270deg, #a71c1c, #6907c5);
    justify-content: center;
}

.quick-tools-section .section-header h2 {
    color: white;
}

.quick-tools-section .section-header h2::after {
    opacity: 0.75;
    width: 10%;
}

.quick-tools-section .section-header p {
    color: #ccc;
}

.tools-grid {
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.tool-category {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.tool-category h4 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
}

.tool-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.tool-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.tool-link i:first-child {
    color: var(--accent-color);
    width: 20px;
}

.tool-link span {
    flex: 1;
    margin-left: 12px;
    font-weight: 500;
}

.tool-link i:last-child {
    opacity: 0.5;
    font-size: 12px;
}

.tool-link:hover i:last-child {
    opacity: 1;
}

@media (max-width: 1400px) {
    .quick-tools-container {
        max-width: min(95%, var(--section-max-width));
    }

    .tools-grid {
        gap: 20px;
    }

    .tool-category {
        padding: 20px 22px;
    }

    .tool-category h4 {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .tool-category h4 {
        font-size: 17px;
        padding-bottom: 12px;
        margin-bottom: 16px;
    }

    .tool-link {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .quick-tools-section .section-header h2::after {
        width: 25%;
    }

    .quick-tools-section {
        padding: 15px 0;
    }

    .quick-tools-container {
        max-width: min(85%, var(--section-max-width));
    }

    .tools-grid {
        padding: 0;
        gap: 12px;
    }

    .tool-category {
        padding: 15px 20px;
    }

    .tool-category h4 {
        font-size: 15px;
        padding-bottom: 6px;
    }

    .tool-link {
        padding: 10px 14px;
        border-radius: 10px;
    }

    .tool-link span {
        font-size: 12px;
    }

}

/* --- Quick Tools Section End --- */