:where([class^="ri-"])::before {
    content: "\f3c2";
}

body {
    font-family: 'Inter', sans-serif;
}

.hero-section {
    background-image: url('../assets/hero/1d151864a8b9846476f46bb32e1adfd4.jpg');
    background-size: cover;
    background-position: center;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #4f46e5;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.custom-checkbox {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: white;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}

.custom-checkbox.checked {
    background-color: #4f46e5;
    border-color: #4f46e5;
}

.custom-checkbox.checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.custom-switch-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: .4s;
    border-radius: 24px;
}

.custom-switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.custom-switch-input:checked+.custom-switch-slider {
    background-color: #4f46e5;
}

.custom-switch-input:checked+.custom-switch-slider:before {
    transform: translateX(24px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.portfolio-item {
    display: none;
}

.portfolio-item.show {
    display: block;
}